Class Group

java.lang.Object
org.yamcs.security.Group

public class Group extends Object
A group is way to manage a set of users.
  • Constructor Details

    • Group

      public Group(String name)
    • Group

      public Group(GroupRecord record)
    • Group

      public Group(Tuple tuple)
  • Method Details

    • getId

      public long getId()
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getMembers

      public List<Long> getMembers()
    • addMember

      public void addMember(long memberId)
    • removeMember

      public boolean removeMember(long memberId)
    • hasMember

      public boolean hasMember(long memberId)
    • setMembers

      public void setMembers(Set<Long> memberIds)
    • toRecord

      public GroupRecord toRecord()
    • toTuple

      public Tuple toTuple(boolean forUpdate)
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object