Class GroupManagementServiceClientImpl
- java.lang.Object
-
- com.lexmark.saperion.client.implementation.administration.GroupManagementServiceClientImpl
-
- All Implemented Interfaces:
GroupManagementServiceClient
public class GroupManagementServiceClientImpl extends java.lang.Object implements GroupManagementServiceClient
This is the default implementation ofGroupManagementServiceClient.- Author:
- jschwarz
-
-
Constructor Summary
Constructors Constructor Description GroupManagementServiceClientImpl(com.lexmark.saperion.administration.GroupManagementService groupManagementService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.lexmark.saperion.administration.GroupReferenceTypecreateGroup(com.lexmark.saperion.administration.GroupPropertiesType properties)This method creates a new group with the given properties and returns a reference to it.com.lexmark.saperion.administration.GroupReferenceTypecreateGroup(java.lang.String shortName)This method is a shorthand toGroupManagementServiceClient.createGroup(String, String, String).com.lexmark.saperion.administration.GroupReferenceTypecreateGroup(java.lang.String shortName, java.lang.String fullName, java.lang.String description)This method creates a new group with the given properties and returns a reference to it.GroupClientresolve(com.lexmark.saperion.administration.GroupReferenceType reference)This method returns an administration client for the group with the given reference.GroupClientresolveName(java.lang.String groupName)This method returns an administration client for the group with the given name.SearchClient<com.lexmark.saperion.administration.GroupType>search()This method returns a search client for searching groups.SearchClient<com.lexmark.saperion.administration.GroupType>searchDeleted()This method returns a search client for searching deleted groups.
-
-
-
Method Detail
-
resolve
public GroupClient resolve(com.lexmark.saperion.administration.GroupReferenceType reference) throws com.lexmark.saperion.exceptions.EcmException
Description copied from interface:GroupManagementServiceClientThis method returns an administration client for the group with the given reference.- Specified by:
resolvein interfaceGroupManagementServiceClient- Parameters:
reference- a reference to the group to administrate- Returns:
- an administration client for the group with the given reference
- Throws:
com.lexmark.saperion.exceptions.EcmException
-
resolveName
public GroupClient resolveName(java.lang.String groupName) throws com.lexmark.saperion.exceptions.EcmException
Description copied from interface:GroupManagementServiceClientThis method returns an administration client for the group with the given name.- Specified by:
resolveNamein interfaceGroupManagementServiceClient- Parameters:
groupName- the name of the group to administrate- Returns:
- an administration client for the group with the given name
- Throws:
com.lexmark.saperion.exceptions.EcmException
-
search
public SearchClient<com.lexmark.saperion.administration.GroupType> search() throws com.lexmark.saperion.exceptions.EcmException
Description copied from interface:GroupManagementServiceClientThis method returns a search client for searching groups.- Specified by:
searchin interfaceGroupManagementServiceClient- Returns:
- a search client for searching groups
- Throws:
com.lexmark.saperion.exceptions.EcmException
-
searchDeleted
public SearchClient<com.lexmark.saperion.administration.GroupType> searchDeleted() throws com.lexmark.saperion.exceptions.EcmException
Description copied from interface:GroupManagementServiceClientThis method returns a search client for searching deleted groups.- Specified by:
searchDeletedin interfaceGroupManagementServiceClient- Returns:
- a search client for searching deleted groups
- Throws:
com.lexmark.saperion.exceptions.EcmException
-
createGroup
public com.lexmark.saperion.administration.GroupReferenceType createGroup(com.lexmark.saperion.administration.GroupPropertiesType properties) throws com.lexmark.saperion.exceptions.EcmExceptionDescription copied from interface:GroupManagementServiceClientThis method creates a new group with the given properties and returns a reference to it.- Specified by:
createGroupin interfaceGroupManagementServiceClient- Parameters:
properties- the properties of the group- Returns:
- the reference to the new group
- Throws:
com.lexmark.saperion.exceptions.EcmException
-
createGroup
public com.lexmark.saperion.administration.GroupReferenceType createGroup(java.lang.String shortName, java.lang.String fullName, java.lang.String description) throws com.lexmark.saperion.exceptions.EcmExceptionDescription copied from interface:GroupManagementServiceClientThis method creates a new group with the given properties and returns a reference to it.- Specified by:
createGroupin interfaceGroupManagementServiceClient- Parameters:
shortName- the short name (display name) of the new groupfullName- the full name of the new groupdescription- a description of the new group- Returns:
- a reference to group created
- Throws:
com.lexmark.saperion.exceptions.EcmException
-
createGroup
public com.lexmark.saperion.administration.GroupReferenceType createGroup(java.lang.String shortName) throws com.lexmark.saperion.exceptions.EcmExceptionDescription copied from interface:GroupManagementServiceClientThis method is a shorthand toGroupManagementServiceClient.createGroup(String, String, String). It is equivalent to callingcreateGroup(shortName, shortName, "").- Specified by:
createGroupin interfaceGroupManagementServiceClient- Parameters:
shortName- the short name (display name) and full name of the new group- Returns:
- a reference to group created
- Throws:
com.lexmark.saperion.exceptions.EcmException
-
-