Interface GroupMembershipClientForUsers
- All Superinterfaces:
SearchClient<com.lexmark.saperion.administration.UserType>,com.lexmark.saperion.search.SearchExecutionService<com.lexmark.saperion.administration.UserType>
- All Known Implementing Classes:
GroupMembershipClientForUsersImpl
public interface GroupMembershipClientForUsers
extends SearchClient<com.lexmark.saperion.administration.UserType>
This client provides methods to administrate memberships to a given group.
- Author:
- jschwarz
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddMember(com.lexmark.saperion.administration.UserReferenceType member) This method adds a group or user - given by its reference - to the given group.voidremoveMember(com.lexmark.saperion.administration.UserReferenceType 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, uniqueResultMethods inherited from interface com.lexmark.saperion.search.SearchExecutionService
search
-
Method Details
-
addMember
void addMember(com.lexmark.saperion.administration.UserReferenceType 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.UserReferenceType 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
-