public class RoleManagementServiceClientImpl extends Object implements RoleManagementServiceClient
RoleManagementServiceClient
.Constructor and Description |
---|
RoleManagementServiceClientImpl(RoleManagementService roleManagementService) |
Modifier and Type | Method and Description |
---|---|
RoleReferenceType |
createRole(RolePropertiesType properties)
This method creates a new role with the given properties and returns a reference to it.
|
RoleClient |
resolve(RoleReferenceType reference)
This method returns an administration client for the role with the given reference.
|
RoleClient |
resolveName(String roleName)
This method returns an administration client for the role with the given name.
|
SearchClient<RoleListItemType> |
search()
This method returns a search client for searching roles.
|
SearchClient<RoleListItemType> |
searchDeleted()
This method returns a search client for searching deleted roles.
|
public RoleManagementServiceClientImpl(RoleManagementService roleManagementService)
public RoleClient resolve(RoleReferenceType reference) throws EcmException
RoleManagementServiceClient
resolve
in interface RoleManagementServiceClient
reference
- a reference to the role to administrateEcmException
public RoleClient resolveName(String roleName) throws EcmException
RoleManagementServiceClient
resolveName
in interface RoleManagementServiceClient
roleName
- the name of the role to administrateEcmException
public SearchClient<RoleListItemType> search() throws EcmException
RoleManagementServiceClient
search
in interface RoleManagementServiceClient
EcmException
public SearchClient<RoleListItemType> searchDeleted() throws EcmException
RoleManagementServiceClient
searchDeleted
in interface RoleManagementServiceClient
EcmException
public RoleReferenceType createRole(RolePropertiesType properties) throws EcmException
RoleManagementServiceClient
createRole
in interface RoleManagementServiceClient
properties
- the properties of the new roleEcmException
Copyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.