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