Package org.yamcs.security
Class Group
java.lang.Object
org.yamcs.security.Group
A group is way to manage a set of users.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addMember
(long memberId) boolean
long
getId()
getName()
int
hashCode()
boolean
hasMember
(long memberId) boolean
removeMember
(long memberId) void
setDescription
(String description) void
setMembers
(Set<Long> memberIds) void
toRecord()
toString()
toTuple
(boolean forUpdate)
-
Constructor Details
-
Group
-
Group
-
Group
-
-
Method Details
-
getId
public long getId() -
getName
-
setName
-
getDescription
-
setDescription
-
getMembers
-
addMember
public void addMember(long memberId) -
removeMember
public boolean removeMember(long memberId) -
hasMember
public boolean hasMember(long memberId) -
setMembers
-
toRecord
-
toTuple
-
equals
-
hashCode
public int hashCode() -
toString
-