Interface GroupMembershipClientForGroups
- All Superinterfaces:
SearchClient<com.lexmark.saperion.administration.GroupType>
,com.lexmark.saperion.search.SearchExecutionService<com.lexmark.saperion.administration.GroupType>
- All Known Implementing Classes:
GroupMembershipClientForGroupsImpl
public interface GroupMembershipClientForGroups
extends SearchClient<com.lexmark.saperion.administration.GroupType>
This client provides methods to administrate memberships to a given group.
- Author:
- jschwarz
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addMember
(com.lexmark.saperion.administration.GroupReferenceType member) This method adds a group or user - given by its reference - to the given group.void
removeMember
(com.lexmark.saperion.administration.GroupReferenceType member) This method removes a member reference from the given group.Methods inherited from interface com.lexmark.saperion.client.SearchClient
exists, list, list, list, list, list, list, list, page, page, uniqueResult
Methods inherited from interface com.lexmark.saperion.search.SearchExecutionService
search
-
Method Details
-
addMember
void addMember(com.lexmark.saperion.administration.GroupReferenceType member) throws com.lexmark.saperion.exceptions.EcmException This method adds a group or user - given by its reference - to the given group.- Parameters:
member
- a reference to the member to add- Throws:
com.lexmark.saperion.exceptions.EcmException
- indicates that a system exception occurred
-
removeMember
void removeMember(com.lexmark.saperion.administration.GroupReferenceType member) throws com.lexmark.saperion.exceptions.EcmException This method removes a member reference from the given group.- Parameters:
member
- the member to remove- Throws:
com.lexmark.saperion.exceptions.EcmException
- indicates that a system exception occurred
-