Class UserContextClientImpl
java.lang.Object
com.lexmark.saperion.client.implementation.administration.UserClientImpl
com.lexmark.saperion.client.implementation.administration.UserContextClientImpl
- All Implemented Interfaces:
UserClient,UserContextClient
This is the default implementation of
UserContextClient.- Author:
- jschwarz
-
Constructor Summary
ConstructorsConstructorDescriptionUserContextClientImpl(com.lexmark.saperion.administration.UserManagementService userManagementService, com.lexmark.saperion.administration.UserContextType userContext) -
Method Summary
Modifier and TypeMethodDescriptioncom.lexmark.saperion.administration.UserContextTypeThis method returns the users context.com.lexmark.saperion.administration.UserTypeload()This method loads the user entity from the user management system.voidupdate(com.lexmark.saperion.administration.UserPropertiesType properties) This method updates the referenced user with the given properties.Methods inherited from class com.lexmark.saperion.client.implementation.administration.UserClientImpl
delete, deleteExtension, expirePassword, getACLs, getPasswordExpiration, getSchemaExtension, setSchemaExtension, undelete, updatePasswordMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.lexmark.saperion.client.administration.UserClient
delete, deleteExtension, expirePassword, getACLs, getExtension, getPasswordExpiration, getSchemaExtension, setExtension, setSchemaExtension, undelete, updatePassword
-
Constructor Details
-
UserContextClientImpl
public UserContextClientImpl(com.lexmark.saperion.administration.UserManagementService userManagementService, com.lexmark.saperion.administration.UserContextType userContext)
-
-
Method Details
-
getUserContext
public com.lexmark.saperion.administration.UserContextType getUserContext()Description copied from interface:UserContextClientThis method returns the users context.- Specified by:
getUserContextin interfaceUserContextClient- Returns:
- the users context
-
load
public com.lexmark.saperion.administration.UserType load() throws com.lexmark.saperion.exceptions.runtime.ResourceNotFoundException, com.lexmark.saperion.exceptions.EcmExceptionDescription copied from interface:UserClientThis method loads the user entity from the user management system. If the user exists the corresponding user entity is returned. Otherwise an exception is thrown.- Specified by:
loadin interfaceUserClient- Overrides:
loadin classUserClientImpl- Returns:
- the referenced user entity
- Throws:
com.lexmark.saperion.exceptions.EcmException- indicates that a system exception occurredcom.lexmark.saperion.exceptions.runtime.ResourceNotFoundException
-
update
public void update(com.lexmark.saperion.administration.UserPropertiesType properties) throws com.lexmark.saperion.exceptions.EcmException Description copied from interface:UserClientThis method updates the referenced user with the given properties.- Specified by:
updatein interfaceUserClient- Overrides:
updatein classUserClientImpl- Parameters:
properties- the properties to change- Throws:
com.lexmark.saperion.exceptions.EcmException- indicates that a system exception occurred
-