public class RoleClientImpl extends Object implements RoleClient
RoleClient
.Constructor and Description |
---|
RoleClientImpl(RoleManagementService roleManagementService,
RoleReferenceType reference) |
Modifier and Type | Method and Description |
---|---|
void |
delete()
This method deletes the role.
|
List<AclReferenceType> |
getACLs()
This method returns the ACLs currently set on the role.
|
RoleType |
load()
This method loads the role.
|
void |
undelete()
This method un-deletes the role.
|
void |
update(RolePropertiesType properties)
This method updates the role with the given properties.
|
public RoleClientImpl(RoleManagementService roleManagementService, RoleReferenceType reference)
public void delete() throws EcmException
RoleClient
delete
in interface RoleClient
EcmException
- indicates that a system exception occurredpublic void undelete() throws EcmException
RoleClient
undelete
in interface RoleClient
EcmException
- indicates that a system exception occurredpublic RoleType load() throws EcmException
RoleClient
load
in interface RoleClient
SystemException
- indicates that a system exception occurredEcmException
public void update(RolePropertiesType properties) throws EcmException
RoleClient
update
in interface RoleClient
properties
- the new properties of the roleSystemException
- indicates that a system exception occurredEcmException
public List<AclReferenceType> getACLs() throws EcmException
RoleClient
getACLs
in interface RoleClient
EcmException
- when loading the ACLs failedCopyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.