Class GroupSpaceWSMembers
java.lang.Object
oracle.webcenter.spaces.ws.client.GroupSpaceWSMembers
- All Implemented Interfaces:
Serializable
,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 Summary
ConstructorsConstructorDescriptionGroupSpaceWSMembers
(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 SpaceGroupSpaceWSMembers
(String member, String role) Constructor for creating an object of type member -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the name of the membergetRole()
This method returns the name of the role of that member in a Group Space.boolean
isGroup()
THis method returns true if the member is an enterprise role, i.e groupvoid
setGroup
(boolean group) This method sets to true if the member is a group, ie Enterprise Rolevoid
void
-
Constructor Details
-
GroupSpaceWSMembers
Constructor for creating an object of type member- Parameters:
member
- To be added the Group SPacerole
- The role of the member in the Group Space
-
GroupSpaceWSMembers
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
- Specified by:
setMember
in interfaceGroupSpaceMembers
- Parameters:
member
- sets the member name
-
getMember
This method returns the name of the member- Specified by:
getMember
in interfaceGroupSpaceMembers
- Returns:
-
setRole
- Specified by:
setRole
in interfaceGroupSpaceMembers
- Parameters:
role
- sets role for a member
-
getRole
This method returns the name of the role of that member in a Group Space.- Specified by:
getRole
in interfaceGroupSpaceMembers
- 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 interfaceGroupSpaceMembers
- 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 interfaceGroupSpaceMembers
- Returns:
- This method returns true if the member is an enterprise role, i.e group
-