Class AdminUserWrapper
- java.lang.Object
-
- fr.paris.lutece.portal.business.user.AdminUserWrapper
-
- All Implemented Interfaces:
java.io.Serializable
public class AdminUserWrapper extends java.lang.Object implements java.io.Serializable- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AdminUserWrapper(AdminUser adminUser)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAccessCode()Returns the user access code.java.lang.StringgetAccessibilityMode()Returns the user accessibility mode.java.lang.StringgetAccountMaxValidDate()Returns the maximum account validity date.java.util.List<java.lang.String>getAttributes()Returns the list of user attributes.java.lang.StringgetDateLastLogin()Returns the date of the last login.java.lang.StringgetEmail()Returns the user email address.java.lang.StringgetFirstName()Returns the user first name.java.lang.StringgetLastName()Returns the user last name.intgetLevel()Returns the user level.java.lang.StringgetLocale()Returns the user locale.java.lang.StringgetPasswordMaxValidDate()Returns the maximum password validity date.java.lang.StringgetPasswordReset()Returns whether the user must reset the password.java.util.List<java.lang.String>getRights()Returns the list of rights assigned to the user.java.util.List<java.lang.String>getRoles()Returns the list of roles assigned to the user.intgetStatus()Returns the user status.java.util.List<java.lang.String>getWorkgroups()Returns the list of workgroups the user belongs to.voidsetAttributes(java.util.List<java.lang.String> attributes)Sets the list of user attributes.voidsetRights(java.util.List<java.lang.String> rights)Sets the list of rights assigned to the user.voidsetRoles(java.util.List<java.lang.String> roles)Sets the list of roles assigned to the user.voidsetWorkgroups(java.util.List<java.lang.String> listWorkgroups)Sets the list of workgroups the user belongs to.
-
-
-
Constructor Detail
-
AdminUserWrapper
public AdminUserWrapper(AdminUser adminUser)
- Parameters:
adminUser- the admin user
-
-
Method Detail
-
getAccessCode
public java.lang.String getAccessCode()
Returns the user access code.- Returns:
- the user access code
-
getLastName
public java.lang.String getLastName()
Returns the user last name.- Returns:
- the user last name
-
getFirstName
public java.lang.String getFirstName()
Returns the user first name.- Returns:
- the user first name
-
getEmail
public java.lang.String getEmail()
Returns the user email address.- Returns:
- the user email address
-
getStatus
public int getStatus()
Returns the user status.- Returns:
- the user status
-
getLocale
public java.lang.String getLocale()
Returns the user locale.- Returns:
- the user locale
-
getLevel
public int getLevel()
Returns the user level.- Returns:
- the user level
-
getPasswordReset
public java.lang.String getPasswordReset()
Returns whether the user must reset the password.- Returns:
- the password reset flag
-
getAccessibilityMode
public java.lang.String getAccessibilityMode()
Returns the user accessibility mode.- Returns:
- the accessibility mode
-
getPasswordMaxValidDate
public java.lang.String getPasswordMaxValidDate()
Returns the maximum password validity date.- Returns:
- the maximum password validity date
-
getAccountMaxValidDate
public java.lang.String getAccountMaxValidDate()
Returns the maximum account validity date.- Returns:
- the maximum account validity date
-
getDateLastLogin
public java.lang.String getDateLastLogin()
Returns the date of the last login.- Returns:
- the date of the last login
-
getRoles
public java.util.List<java.lang.String> getRoles()
Returns the list of roles assigned to the user.- Returns:
- the list of roles
-
setRoles
public void setRoles(java.util.List<java.lang.String> roles)
Sets the list of roles assigned to the user.- Parameters:
roles- the list of roles to set
-
getRights
public java.util.List<java.lang.String> getRights()
Returns the list of rights assigned to the user.- Returns:
- the list of rights
-
setRights
public void setRights(java.util.List<java.lang.String> rights)
Sets the list of rights assigned to the user.- Parameters:
rights- the list of rights to set
-
getWorkgroups
public java.util.List<java.lang.String> getWorkgroups()
Returns the list of workgroups the user belongs to.- Returns:
- the list of workgroups
-
setWorkgroups
public void setWorkgroups(java.util.List<java.lang.String> listWorkgroups)
Sets the list of workgroups the user belongs to.- Parameters:
listWorkgroups- the list of workgroups to set
-
getAttributes
public java.util.List<java.lang.String> getAttributes()
Returns the list of user attributes.- Returns:
- the list of attributes
-
setAttributes
public void setAttributes(java.util.List<java.lang.String> attributes)
Sets the list of user attributes.- Parameters:
attributes- the list of attributes to set
-
-