public class GroupManagementServiceClientImpl extends Object implements GroupManagementServiceClient
GroupManagementServiceClient
.Constructor and Description |
---|
GroupManagementServiceClientImpl(com.lexmark.saperion.administration.GroupManagementService groupManagementService) |
Modifier and Type | Method and Description |
---|---|
com.lexmark.saperion.administration.GroupReferenceType |
createGroup(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.GroupReferenceType |
createGroup(String shortName)
This method is a shorthand to
GroupManagementServiceClient.createGroup(String, String, String) . |
com.lexmark.saperion.administration.GroupReferenceType |
createGroup(String shortName,
String fullName,
String description)
This method creates a new group with the given properties and returns a reference to it.
|
GroupClient |
resolve(com.lexmark.saperion.administration.GroupReferenceType reference)
This method returns an administration client for the group with the given reference.
|
GroupClient |
resolveName(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.
|
public GroupManagementServiceClientImpl(com.lexmark.saperion.administration.GroupManagementService groupManagementService)
public GroupClient resolve(com.lexmark.saperion.administration.GroupReferenceType reference) throws com.lexmark.saperion.exceptions.EcmException
GroupManagementServiceClient
resolve
in interface GroupManagementServiceClient
reference
- a reference to the group to administratecom.lexmark.saperion.exceptions.EcmException
public GroupClient resolveName(String groupName) throws com.lexmark.saperion.exceptions.EcmException
GroupManagementServiceClient
resolveName
in interface GroupManagementServiceClient
groupName
- the name of the group to administratecom.lexmark.saperion.exceptions.EcmException
public SearchClient<com.lexmark.saperion.administration.GroupType> search() throws com.lexmark.saperion.exceptions.EcmException
GroupManagementServiceClient
search
in interface GroupManagementServiceClient
com.lexmark.saperion.exceptions.EcmException
public SearchClient<com.lexmark.saperion.administration.GroupType> searchDeleted() throws com.lexmark.saperion.exceptions.EcmException
GroupManagementServiceClient
searchDeleted
in interface GroupManagementServiceClient
com.lexmark.saperion.exceptions.EcmException
public com.lexmark.saperion.administration.GroupReferenceType createGroup(com.lexmark.saperion.administration.GroupPropertiesType properties) throws com.lexmark.saperion.exceptions.EcmException
GroupManagementServiceClient
createGroup
in interface GroupManagementServiceClient
properties
- the properties of the groupcom.lexmark.saperion.exceptions.EcmException
public com.lexmark.saperion.administration.GroupReferenceType createGroup(String shortName, String fullName, String description) throws com.lexmark.saperion.exceptions.EcmException
GroupManagementServiceClient
createGroup
in interface GroupManagementServiceClient
shortName
- the short name (display name) of the new groupfullName
- the full name of the new groupdescription
- a description of the new groupcom.lexmark.saperion.exceptions.EcmException
public com.lexmark.saperion.administration.GroupReferenceType createGroup(String shortName) throws com.lexmark.saperion.exceptions.EcmException
GroupManagementServiceClient
GroupManagementServiceClient.createGroup(String, String, String)
. It is equivalent to calling
createGroup(shortName, shortName, "")
.createGroup
in interface GroupManagementServiceClient
shortName
- the short name (display name) and full name of the new groupcom.lexmark.saperion.exceptions.EcmException
Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.