Class UserGroup

  • All Implemented Interfaces:
    gemma.gsec.model.Securable, gemma.gsec.model.SecuredNotChild, gemma.gsec.model.UserGroup, Auditable, Securable, Describable, Identifiable

    public class UserGroup
    extends AbstractAuditable
    implements gemma.gsec.model.UserGroup
    An organized group of researchers with an identifiable leader and group members.
    Author:
    Paul
    • Constructor Detail

      • UserGroup

        public UserGroup()
        No-arg constructor added to satisfy javabean contract
    • Method Detail

      • getAuthorities

        public Set<GroupAuthority> getAuthorities()
        Specified by:
        getAuthorities in interface gemma.gsec.model.UserGroup
      • getGroupMembers

        public Set<User> getGroupMembers()
        Specified by:
        getGroupMembers in interface gemma.gsec.model.UserGroup
      • setGroupMembers

        public void setGroupMembers​(Set<User> groupMembers)
      • equals

        public boolean equals​(Object object)
        Description copied from class: AbstractIdentifiable
        Important note: Two objects with the same class and non-null ID must be considered equal. If one or both IDs are nulls, the rest of the state can be used to determine equality.
        Specified by:
        equals in class AbstractIdentifiable