Interface Group

    • Field Detail

      • PERMISSIONS_PRIVATE

        static final int PERMISSIONS_PRIVATE
        Indicates that the group is Private i.e. RW----.
        See Also:
        Constant Field Values
      • PERMISSIONS_GROUP_READ

        static final int PERMISSIONS_GROUP_READ
        Indicates that the group is Group i.e. RWR---.
        See Also:
        Constant Field Values
      • PERMISSIONS_GROUP_READ_LINK

        static final int PERMISSIONS_GROUP_READ_LINK
        Indicates that the group is Group i.e. RWRA--.
        See Also:
        Constant Field Values
      • PERMISSIONS_GROUP_READ_WRITE

        static final int PERMISSIONS_GROUP_READ_WRITE
        Indicates that the group is Group i.e. RWRW--.
        See Also:
        Constant Field Values
      • PERMISSIONS_PUBLIC_READ

        static final int PERMISSIONS_PUBLIC_READ
        Indicates that the group is Public i.e. RWRWR-.
        See Also:
        Constant Field Values
      • PERMISSIONS_PUBLIC_READ_WRITE

        static final int PERMISSIONS_PUBLIC_READ_WRITE
        Indicates that the group is Public i.e. RWRWRW.
        See Also:
        Constant Field Values
    • Method Detail

      • getName

        java.lang.String getName()
        Returns the name of the group.
        Returns:
        See above.
      • setName

        void setName​(java.lang.String name)
        Sets the name of the group.
        Parameters:
        name - The name of the group. Mustn't be null.
        Throws:
        java.lang.IllegalArgumentException - If the name is null.
      • getDescription

        java.lang.String getDescription()
        Returns the description of the group.
        Returns:
        See above.
      • setDescription

        void setDescription​(java.lang.String description)
        Sets the description of the group.
        Parameters:
        description - The description of the group. Mustn't be null.
        Throws:
        java.lang.IllegalArgumentException - If the name is null.
      • getLeaders

        java.util.List<Experimenter> getLeaders()
        Returns the leaders of this group.
        Returns:
        See above.
      • getExperimenters

        java.util.List<Experimenter> getExperimenters()
        Returns the experimenters contained in this group.
        Returns:
        See above.
      • getMembersOnly

        java.util.List<Experimenter> getMembersOnly()
        Returns the list of experimenters that are not owners of the group.
        Returns:
        See above.
      • getPermissionsLevel

        int getPermissionsLevel()
        Returns the permissions level.
        Returns:
        See above.