public class GroupManagementServiceClientImpl extends Object implements GroupManagementServiceClient
GroupManagementServiceClient
.Constructor and Description |
---|
GroupManagementServiceClientImpl(GroupManagementService groupManagementService) |
Modifier and Type | Method and Description |
---|---|
GroupReferenceType |
createGroup(GroupPropertiesType properties)
This method creates a new group with the given properties and returns a reference to it.
|
GroupReferenceType |
createGroup(String shortName)
This method is a shorthand to
GroupManagementServiceClient.createGroup(String, String, String) . |
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(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<GroupListItemType> |
search()
This method returns a search client for searching groups.
|
SearchClient<GroupListItemType> |
searchDeleted()
This method returns a search client for searching deleted groups.
|
public GroupManagementServiceClientImpl(GroupManagementService groupManagementService)
public GroupClient resolve(GroupReferenceType reference) throws EcmException
GroupManagementServiceClient
resolve
in interface GroupManagementServiceClient
reference
- a reference to the group to administrateEcmException
public GroupClient resolveName(String groupName) throws EcmException
GroupManagementServiceClient
resolveName
in interface GroupManagementServiceClient
groupName
- teh name of the group to administrateEcmException
public SearchClient<GroupListItemType> search() throws EcmException
GroupManagementServiceClient
search
in interface GroupManagementServiceClient
EcmException
public SearchClient<GroupListItemType> searchDeleted() throws EcmException
GroupManagementServiceClient
searchDeleted
in interface GroupManagementServiceClient
EcmException
public GroupReferenceType createGroup(GroupPropertiesType properties) throws EcmException
GroupManagementServiceClient
createGroup
in interface GroupManagementServiceClient
properties
- the properties of the groupEcmException
public GroupReferenceType createGroup(String shortName, String fullName, String description) throws 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 groupEcmException
public GroupReferenceType createGroup(String shortName) throws 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 groupEcmException
Copyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.