public interface UserManagementService
Modifier and Type | Method and Description |
---|---|
UserReferenceType |
createUser(CreateUserPropertiesType properties)
Creates a new user entity with the given properties in the current user's tenant.
|
void |
deleteSchemaExtension(UserReferenceType user)
This method deletes the schema-extension of the given user.
|
void |
deleteUser(UserReferenceType reference)
Deletes the referenced user.
|
void |
expirePassword(UserReferenceType user)
This method makes the users password expire.
|
List<AclReferenceType> |
getACLs(UserReferenceType reference)
This method returns the ACLs set on the referenced user.
|
Date |
getPasswordExpiration(UserReferenceType user)
This method gets the date when the users password will expire or null if the password never expires.
|
Map<String,PropertyType> |
getSchemaExtension(UserReferenceType user)
This method returns the schema-extension for the given user.
|
List<GroupListItemType> |
loadGroups(UserReferenceType reference)
This method returns the groups the given user is a member of.
|
UserType |
loadUser(UserReferenceType reference)
Load the user entity identified by the given user reference from the user management system.
|
UserType |
loadUserByName(String userName)
This method loads a user given by name.
|
SearchExecutionService<UserListItemType> |
newTenantDeletedUserSearchService()
This method returns a new
search execution service that lists all deleted users
of the current user's tenant. |
SearchExecutionService<UserListItemType> |
newTenantUserSearchService()
This method returns a new
search execution service that lists all users of the
current user's tenant. |
void |
setSchemaExtension(UserReferenceType user,
Map<String,PropertyType> schemaExtension)
This method stores the given schema-extension for the given user.
|
void |
undeleteUser(UserReferenceType reference)
Un-deletes the referenced user.
|
void |
updateUser(UserReferenceType reference,
UserPropertiesType properties)
Updates the referenced user with the given properties.
|
void |
updateUserPassword(UserReferenceType reference,
String password)
Updates the referenced user with the given properties.
|
UserReferenceType createUser(CreateUserPropertiesType properties) throws EcmException
properties
- the properties of the userSystemException
- indicates that a system exception occurredEcmException
void deleteUser(UserReferenceType reference) throws EcmException
reference
- the user referenceSystemException
- indicates that a system exception occurredEcmException
void undeleteUser(UserReferenceType reference) throws EcmException
reference
- the user referenceSystemException
- indicates that a system exception occurredEcmException
SearchExecutionService<UserListItemType> newTenantUserSearchService() throws EcmException
search execution service
that lists all users of the
current user's tenant.EcmException
- indicates that a system exception occurredSearchExecutionService<UserListItemType> newTenantDeletedUserSearchService() throws EcmException
search execution service
that lists all deleted users
of the current user's tenant.EcmException
- indicates that a system exception occurredList<GroupListItemType> loadGroups(UserReferenceType reference) throws ResourceNotFoundException, EcmException
reference
- the user referenceResourceNotFoundException
- the referenced user does not exist in the backend systemSystemException
- indicated that a system exception hat occurredEcmException
UserType loadUser(UserReferenceType reference) throws ResourceNotFoundException, EcmException
reference
- the user entity referenceResourceNotFoundException
- the referenced user does not exist in the backend systemSystemException
- indicates that a system exception occurredEcmException
void updateUser(UserReferenceType reference, UserPropertiesType properties) throws EcmException
reference
- the user referenceproperties
- the properties to changeResourceNotFoundException
- the referenced user does not exist in the backend systemSystemException
- indicates that a system exception occurredEcmException
void updateUserPassword(UserReferenceType reference, String password) throws EcmException
reference
- the user referencepassword
- the password of the userResourceNotFoundException
- the referenced user does not exist in the backend systemSystemException
- indicates that a system exception occurredEcmException
UserType loadUserByName(String userName) throws EcmException
userName
- the name of the user to loadEcmException
- indicates that a system exception occurredMap<String,PropertyType> getSchemaExtension(UserReferenceType user) throws EcmException
user
- the userEcmException
void setSchemaExtension(UserReferenceType user, Map<String,PropertyType> schemaExtension) throws EcmException
user
- the userschemaExtension
- the schema-extension to storeEcmException
void deleteSchemaExtension(UserReferenceType user) throws EcmException
user
- the userEcmException
- when deleting the schema-extension failedDate getPasswordExpiration(UserReferenceType user) throws EcmException
user
- a reference to the userEcmException
void expirePassword(UserReferenceType user) throws EcmException
user
- the user whose password is to expire.EcmException
List<AclReferenceType> getACLs(UserReferenceType reference) throws EcmException
reference
- a reference to the userEcmException
- when loading the ACLs failedCopyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.