public class UserClientImpl extends Object implements UserClient
UserClient.| Constructor and Description |
|---|
UserClientImpl(com.lexmark.saperion.administration.UserManagementService userManagementService,
com.lexmark.saperion.administration.UserReferenceType userReference) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
This method deletes the user.
|
void |
deleteExtension()
This method deletes the schema-extension properties of the user.
|
void |
expirePassword()
This method makes the users password expire.
|
List<com.lexmark.saperion.administration.AclReferenceType> |
getACLs()
This method returns the ACLs currently set on the user.
|
Date |
getPasswordExpiration()
This method gets the date when the users password will expire or null if the password never expires.
|
com.lexmark.saperion.administration.ExtensionPropertiesType |
getSchemaExtension()
This method returns the schema-extension properties of the user.
|
com.lexmark.saperion.administration.UserType |
load()
This method loads the user entity from the user management system.
|
void |
setSchemaExtension(com.lexmark.saperion.administration.ExtensionPropertiesType extension)
This method sets the schema-extension properties of the user.
|
void |
undelete()
This method un-deletes the user.
|
void |
update(com.lexmark.saperion.administration.UserPropertiesType properties)
This method updates the referenced user with the given properties.
|
void |
updatePassword(String password)
This method updates the password of the user.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExtension, setExtensionpublic UserClientImpl(com.lexmark.saperion.administration.UserManagementService userManagementService,
com.lexmark.saperion.administration.UserReferenceType userReference)
public void delete()
throws com.lexmark.saperion.exceptions.EcmException
UserClientdelete in interface UserClientcom.lexmark.saperion.exceptions.EcmException - indicates that a system exception occurredpublic void undelete()
throws com.lexmark.saperion.exceptions.EcmException
UserClientundelete in interface UserClientcom.lexmark.saperion.exceptions.EcmException - indicates that a system exception occurredpublic com.lexmark.saperion.administration.UserType load()
throws com.lexmark.saperion.exceptions.runtime.ResourceNotFoundException,
com.lexmark.saperion.exceptions.EcmException
UserClientload in interface UserClientcom.lexmark.saperion.exceptions.EcmException - indicates that a system exception occurredcom.lexmark.saperion.exceptions.runtime.ResourceNotFoundExceptionpublic void update(com.lexmark.saperion.administration.UserPropertiesType properties)
throws com.lexmark.saperion.exceptions.EcmException
UserClientupdate in interface UserClientproperties - the properties to changecom.lexmark.saperion.exceptions.EcmException - indicates that a system exception occurredpublic void updatePassword(String password) throws com.lexmark.saperion.exceptions.EcmException
UserClientupdatePassword in interface UserClientpassword - the password of the usercom.lexmark.saperion.exceptions.EcmException - indicates that a system exception occurredpublic Date getPasswordExpiration() throws com.lexmark.saperion.exceptions.EcmException
UserClientgetPasswordExpiration in interface UserClientcom.lexmark.saperion.exceptions.EcmExceptionpublic void expirePassword()
throws com.lexmark.saperion.exceptions.EcmException
UserClientexpirePassword in interface UserClientcom.lexmark.saperion.exceptions.EcmExceptionpublic void setSchemaExtension(com.lexmark.saperion.administration.ExtensionPropertiesType extension)
throws com.lexmark.saperion.exceptions.EcmException
UserClientsetSchemaExtension in interface UserClientextension - schema-extension propertiescom.lexmark.saperion.exceptions.EcmException - when the schema-extension properties could not be setpublic com.lexmark.saperion.administration.ExtensionPropertiesType getSchemaExtension()
throws com.lexmark.saperion.exceptions.EcmException
UserClientgetSchemaExtension in interface UserClientcom.lexmark.saperion.exceptions.EcmException - when the schema-extension properties could not be loadedpublic void deleteExtension()
throws com.lexmark.saperion.exceptions.EcmException
UserClientdeleteExtension in interface UserClientcom.lexmark.saperion.exceptions.EcmException - when the schema-extension properties could not be deletedpublic List<com.lexmark.saperion.administration.AclReferenceType> getACLs() throws com.lexmark.saperion.exceptions.EcmException
UserClientgetACLs in interface UserClientcom.lexmark.saperion.exceptions.EcmException - when loading the ACLs failedCopyright © 2020 Hyland Software Germany GmbH. All rights reserved.