public class UserClientImpl extends Object implements UserClient
UserClient.| Constructor and Description |
|---|
UserClientImpl(UserManagementService userManagementService,
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<AclReferenceType> |
getACLs()
This method returns the ACLs currently set on the user.
|
Map<String,PropertyType> |
getExtension()
This method returns the schema-extension properties of the user.
|
Date |
getPasswordExpiration()
This method gets the date when the users password will expire or null if the password never expires.
|
UserType |
load()
This method loads the user entity from the user management system.
|
void |
setExtension(Map<String,PropertyType> extension)
This method sets the schema-extension properties of the user.
|
void |
undelete()
This method un-deletes the user.
|
void |
update(UserPropertiesType properties)
This method updates the referenced user with the given properties.
|
void |
updatePassword(String password)
This method updates the password of the user.
|
public UserClientImpl(UserManagementService userManagementService, UserReferenceType userReference)
public void delete()
throws EcmException
UserClientdelete in interface UserClientEcmException - indicates that a system exception occurredpublic void undelete()
throws EcmException
UserClientundelete in interface UserClientEcmException - indicates that a system exception occurredpublic UserType load() throws ResourceNotFoundException, EcmException
UserClientload in interface UserClientEcmException - indicates that a system exception occurredResourceNotFoundExceptionpublic void update(UserPropertiesType properties) throws EcmException
UserClientupdate in interface UserClientproperties - the properties to changeEcmException - indicates that a system exception occurredpublic void updatePassword(String password) throws EcmException
UserClientupdatePassword in interface UserClientpassword - the password of the userEcmException - indicates that a system exception occurredpublic Date getPasswordExpiration() throws EcmException
UserClientgetPasswordExpiration in interface UserClientEcmExceptionpublic void expirePassword()
throws EcmException
UserClientexpirePassword in interface UserClientEcmExceptionpublic void setExtension(Map<String,PropertyType> extension) throws EcmException
UserClientsetExtension in interface UserClientextension - schema-extension propertiesEcmException - when the schema-extension properties could not be setpublic Map<String,PropertyType> getExtension() throws EcmException
UserClientgetExtension in interface UserClientEcmException - when the schema-extension properties could not be loadedpublic void deleteExtension()
throws EcmException
UserClientdeleteExtension in interface UserClientEcmException - when the schema-extension properties could not be deletedpublic List<AclReferenceType> getACLs() throws EcmException
UserClientgetACLs in interface UserClientEcmException - when loading the ACLs failedCopyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.