public interface ClientAdministration
ModelChangeOperations.| Modifier and Type | Method and Description |
|---|---|
RichAgent |
changeMailAddress(SessionToken session,
java.lang.String mailAddress)
Changes the mail address of the user identified by the session token.
|
void |
changePassword(SessionToken session,
java.lang.String oldPassword,
java.lang.String newPassword)
This method changes the password of the user identified by the session
token.
|
RichAgent |
changePreferredLocale(SessionToken session,
java.util.Locale locale)
Changes the preferred locale of the user identified by the session token.
|
java.lang.String |
getMailAddress(SessionToken session)
Returns the current mail address of the user identified by the session
token.
|
java.util.Locale |
getPreferredLocale(SessionToken session)
Returns the current preferred locale of the user identified by the session
token.
|
void changePassword(SessionToken session, java.lang.String oldPassword, java.lang.String newPassword) throws AuthenticationException, PasswordPolicyException, DataSourceException
session - The session token identifying the user to change the
password of and the session for the change process.oldPassword - The old password of the user.newPassword - The new password to set.AuthenticationException - If the old password is incorrect, an
AuthenticationException will be thrown.PasswordPolicyException - If the new password doesn't comply to one
or more password policies, a PasswordPolicyException
will be thrown.DataSourceException - If an an unrecoverable error occurs while
accessing the data source containing the username and the
passwords, a DataSourceException will be thrown.java.lang.String getMailAddress(SessionToken session) throws DataSourceException
session - The session token identifying the user to get the mail
address of.DataSourceException - If an error occurs while accessing the data
source, a DataSourceException will be thrown.RichAgent changeMailAddress(SessionToken session, java.lang.String mailAddress) throws DataSourceException
the mail notification for the worklist is set.session - The session token identifying the user to change the mail
address of.mailAddress - The new mail address of the designated user.DataSourceException - If an error occurs while accessing the data
source, a DataSourceException will be thrown.java.util.Locale getPreferredLocale(SessionToken session) throws DataSourceException
session - The session token identifying the user to get the preferred
locale.DataSourceException - If an error occurs while accessing the data
source, a DataSourceException will be thrown.RichAgent changePreferredLocale(SessionToken session, java.util.Locale locale) throws DataSourceException
session - The session token identifying the user to change the
preferred locale.locale - The locale the designated user prefers. null can be
used to reset the preferred locale.DataSourceException - If an error occurs while accessing the data
source, a DataSourceException will be thrown.