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, wait
getExtension, setExtension
public UserClientImpl(com.lexmark.saperion.administration.UserManagementService userManagementService, com.lexmark.saperion.administration.UserReferenceType userReference)
public void delete() throws com.lexmark.saperion.exceptions.EcmException
UserClient
delete
in interface UserClient
com.lexmark.saperion.exceptions.EcmException
- indicates that a system exception occurredpublic void undelete() throws com.lexmark.saperion.exceptions.EcmException
UserClient
undelete
in interface UserClient
com.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
UserClient
load
in interface UserClient
com.lexmark.saperion.exceptions.EcmException
- indicates that a system exception occurredcom.lexmark.saperion.exceptions.runtime.ResourceNotFoundException
public void update(com.lexmark.saperion.administration.UserPropertiesType properties) throws com.lexmark.saperion.exceptions.EcmException
UserClient
update
in interface UserClient
properties
- the properties to changecom.lexmark.saperion.exceptions.EcmException
- indicates that a system exception occurredpublic void updatePassword(String password) throws com.lexmark.saperion.exceptions.EcmException
UserClient
updatePassword
in interface UserClient
password
- the password of the usercom.lexmark.saperion.exceptions.EcmException
- indicates that a system exception occurredpublic Date getPasswordExpiration() throws com.lexmark.saperion.exceptions.EcmException
UserClient
getPasswordExpiration
in interface UserClient
com.lexmark.saperion.exceptions.EcmException
public void expirePassword() throws com.lexmark.saperion.exceptions.EcmException
UserClient
expirePassword
in interface UserClient
com.lexmark.saperion.exceptions.EcmException
public void setSchemaExtension(com.lexmark.saperion.administration.ExtensionPropertiesType extension) throws com.lexmark.saperion.exceptions.EcmException
UserClient
setSchemaExtension
in interface UserClient
extension
- 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
UserClient
getSchemaExtension
in interface UserClient
com.lexmark.saperion.exceptions.EcmException
- when the schema-extension properties could not be loadedpublic void deleteExtension() throws com.lexmark.saperion.exceptions.EcmException
UserClient
deleteExtension
in interface UserClient
com.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
UserClient
getACLs
in interface UserClient
com.lexmark.saperion.exceptions.EcmException
- when loading the ACLs failedCopyright © 2020 Hyland Software Germany GmbH. All rights reserved.