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
RoleClientdelete in interface RoleClientEcmException - indicates that a system exception occurredpublic void undelete()
throws EcmException
RoleClientundelete in interface RoleClientEcmException - indicates that a system exception occurredpublic RoleType load() throws EcmException
RoleClientload in interface RoleClientSystemException - indicates that a system exception occurredEcmExceptionpublic void update(RolePropertiesType properties) throws EcmException
RoleClientupdate in interface RoleClientproperties - the new properties of the roleSystemException - indicates that a system exception occurredEcmExceptionpublic List<AclReferenceType> getACLs() throws EcmException
RoleClientgetACLs in interface RoleClientEcmException - when loading the ACLs failedCopyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.