Class MemberAttribute

  • All Implemented Interfaces:
    Serializable

    public class MemberAttribute
    extends Object
    implements Serializable
    A class that represents the members passed to the group create and update methods CreateGroupRequestContext and UpdateGroupRequestContext. The main use case is for a plugin to be able to differentiate between a group or user member. If the relationship for group membership is different for each type in the datastore then the implementation will need that additional information.
    Since:
    7.3
    See Also:
    Serialized Form
    • Method Detail

      • getId

        public String getId()
        Get id.
        Returns:
        The id of the user or group that this MemberAttribute is tied to.
      • getType

        public MemberAttribute.Type getType()
        Get type.
        Returns:
        The type of member which can be either Type.GROUP or Type.USER.