Class GroupSpaceWSMembers

java.lang.Object
oracle.webcenter.spaces.ws.client.GroupSpaceWSMembers
All Implemented Interfaces:
Serializable, GroupSpaceMembers

@Exported public final class GroupSpaceWSMembers extends Object implements GroupSpaceMembers
This class acts as place holder for storing details of members to be added added to the Group Space and to be removed from teh Group Space. In order to add members to a Group Space, you need to instantiate
 GroupSpaceWSMembers = new GroupSpaceWSMembers("monty","viewer");
 
Make a List of GroupSpaceWSMembers, where each GroupSpaceWSMembers specifies a member detail. The list of GroupSpaceWSMembers can be passed across to different client API methods like addMembers and RemoveMembers to add and remove membrs from the Group Space.
See Also:
  • Constructor Details

    • GroupSpaceWSMembers

      public GroupSpaceWSMembers(String member, String role)
      Constructor for creating an object of type member
      Parameters:
      member - To be added the Group SPace
      role - The role of the member in the Group Space
    • GroupSpaceWSMembers

      public GroupSpaceWSMembers(String member)
      Constructor which only takes the member name and this constructor can be used for creating objects of type member during removal of members from Group Space
      Parameters:
      member -
  • Method Details

    • setMember

      public void setMember(String member)
      Specified by:
      setMember in interface GroupSpaceMembers
      Parameters:
      member - sets the member name
    • getMember

      public String getMember()
      This method returns the name of the member
      Specified by:
      getMember in interface GroupSpaceMembers
      Returns:
    • setRole

      public void setRole(String role)
      Specified by:
      setRole in interface GroupSpaceMembers
      Parameters:
      role - sets role for a member
    • getRole

      public String getRole()
      This method returns the name of the role of that member in a Group Space.
      Specified by:
      getRole in interface GroupSpaceMembers
      Returns:
    • setGroup

      public void setGroup(boolean group)
      This method sets to true if the member is a group, ie Enterprise Role
      Specified by:
      setGroup in interface GroupSpaceMembers
      Parameters:
      group - This method sets to true if the member is a group, ie Enterprise Role
    • isGroup

      public boolean isGroup()
      THis method returns true if the member is an enterprise role, i.e group
      Specified by:
      isGroup in interface GroupSpaceMembers
      Returns:
      This method returns true if the member is an enterprise role, i.e group