Class AdminUserWrapper
java.lang.Object
fr.paris.lutece.portal.business.user.AdminUserWrapper
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the user access code.Returns the user accessibility mode.Returns the maximum account validity date.Returns the list of user attributes.Returns the date of the last login.getEmail()Returns the user email address.Returns the user first name.Returns the user last name.intgetLevel()Returns the user level.Returns the user locale.Returns the maximum password validity date.Returns whether the user must reset the password.Returns the list of rights assigned to the user.getRoles()Returns the list of roles assigned to the user.intReturns the user status.Returns the list of workgroups the user belongs to.voidsetAttributes(List<String> attributes) Sets the list of user attributes.voidSets the list of rights assigned to the user.voidSets the list of roles assigned to the user.voidsetWorkgroups(List<String> listWorkgroups) Sets the list of workgroups the user belongs to.
-
Constructor Details
-
AdminUserWrapper
- Parameters:
adminUser- the admin user
-
-
Method Details
-
getAccessCode
Returns the user access code.- Returns:
- the user access code
-
getLastName
Returns the user last name.- Returns:
- the user last name
-
getFirstName
Returns the user first name.- Returns:
- the user first name
-
getEmail
Returns the user email address.- Returns:
- the user email address
-
getStatus
public int getStatus()Returns the user status.- Returns:
- the user status
-
getLocale
Returns the user locale.- Returns:
- the user locale
-
getLevel
public int getLevel()Returns the user level.- Returns:
- the user level
-
getPasswordReset
Returns whether the user must reset the password.- Returns:
- the password reset flag
-
getAccessibilityMode
Returns the user accessibility mode.- Returns:
- the accessibility mode
-
getPasswordMaxValidDate
Returns the maximum password validity date.- Returns:
- the maximum password validity date
-
getAccountMaxValidDate
Returns the maximum account validity date.- Returns:
- the maximum account validity date
-
getDateLastLogin
Returns the date of the last login.- Returns:
- the date of the last login
-
getRoles
Returns the list of roles assigned to the user.- Returns:
- the list of roles
-
setRoles
Sets the list of roles assigned to the user.- Parameters:
roles- the list of roles to set
-
getRights
Returns the list of rights assigned to the user.- Returns:
- the list of rights
-
setRights
Sets the list of rights assigned to the user.- Parameters:
rights- the list of rights to set
-
getWorkgroups
Returns the list of workgroups the user belongs to.- Returns:
- the list of workgroups
-
setWorkgroups
Sets the list of workgroups the user belongs to.- Parameters:
listWorkgroups- the list of workgroups to set
-
getAttributes
Returns the list of user attributes.- Returns:
- the list of attributes
-
setAttributes
Sets the list of user attributes.- Parameters:
attributes- the list of attributes to set
-