Class DatabaseUserWrapper
java.lang.Object
fr.paris.lutece.plugins.mylutece.modules.database.authentication.business.DatabaseUserWrapper
- All Implemented Interfaces:
Serializable
This class represents the business object DatabaseUserExport
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the user access code.Returns the maximum account validity date.Returns the list of user attributes.getEmail()Returns the user email address.Returns the user first name.Returns the list of groups the user belongs to.Returns the user last name.Returns the maximum password validity date.getRoles()Returns the list of roles assigned to the user.intReturns the user status.voidsetAttributes(List<String> attributes) Sets the list of user attributes.voidSets the list of groups the user belongs to.voidSets the list of roles assigned to the user.
-
Constructor Details
-
DatabaseUserWrapper
-
-
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
-
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
-
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
-
getGroups
Returns the list of groups the user belongs to.- Returns:
- the list of groups
-
setGroups
Sets the list of groups the user belongs to.- Parameters:
listGroups- the list of groups 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
-