Interface IAssignableMembership

    • Method Detail

      • addMember

        void addMember​(Guid guid)
                throws UMSException
        Adds a member to the group. The change is saved to persistent storage.
        Parameters:
        guid - globally unique identifier for the member to be added
        Throws:
        UMSException - on failure to save to persistent storage
      • addMember

        void addMember​(PersistentObject member)
                throws UMSException
        Adds a member to the group. The change is saved to persistent storage.
        Parameters:
        member - Object to be added
        Throws:
        UMSException - on failure to save to persistent storage
      • addMembers

        void addMembers​(Guid[] guids)
                 throws UMSException
        Adds a list of members to the group. The change is saved to persistent storage.
        Parameters:
        guids - list of member guids to be added as members to the group
        Throws:
        UMSException - on failure to save to persistent storage
      • removeMember

        void removeMember​(Guid guid)
                   throws UMSException
        Removes a member from the group. The change is saved to persistent storage.
        Parameters:
        guid - unique identifier for the member to be removed
        Throws:
        UMSException - on failure to save to persistent storage
      • removeMember

        void removeMember​(PersistentObject member)
                   throws UMSException
        Removes a member from the group. The change is saved to persistent storage.
        Parameters:
        member - Object to be removed
        Throws:
        UMSException - on failure to save to persistent storage
      • removeAllMembers

        void removeAllMembers()
                       throws UMSException
        Removes all members of the group
        Throws:
        UMSException - on failure to save to persistent storage