java.lang.Object
fr.paris.lutece.plugins.mylutece.modules.database.authentication.business.DatabaseUserWrapper
All Implemented Interfaces:
Serializable

public class DatabaseUserWrapper extends Object implements Serializable
This class represents the business object DatabaseUserExport
See Also:
  • Constructor Details

    • DatabaseUserWrapper

      public DatabaseUserWrapper(DatabaseUser databaseUser)
  • Method Details

    • getAccessCode

      public String getAccessCode()
      Returns the user access code.
      Returns:
      the user access code
    • getLastName

      public String getLastName()
      Returns the user last name.
      Returns:
      the user last name
    • getFirstName

      public String getFirstName()
      Returns the user first name.
      Returns:
      the user first name
    • getEmail

      public String getEmail()
      Returns the user email address.
      Returns:
      the user email address
    • getStatus

      public int getStatus()
      Returns the user status.
      Returns:
      the user status
    • getPasswordMaxValidDate

      public String getPasswordMaxValidDate()
      Returns the maximum password validity date.
      Returns:
      the maximum password validity date
    • getAccountMaxValidDate

      public String getAccountMaxValidDate()
      Returns the maximum account validity date.
      Returns:
      the maximum account validity date
    • getRoles

      public List<String> getRoles()
      Returns the list of roles assigned to the user.
      Returns:
      the list of roles
    • setRoles

      public void setRoles(List<String> roles)
      Sets the list of roles assigned to the user.
      Parameters:
      roles - the list of roles to set
    • getGroups

      public List<String> getGroups()
      Returns the list of groups the user belongs to.
      Returns:
      the list of groups
    • setGroups

      public void setGroups(List<String> listGroups)
      Sets the list of groups the user belongs to.
      Parameters:
      listGroups - the list of groups to set
    • getAttributes

      public List<String> getAttributes()
      Returns the list of user attributes.
      Returns:
      the list of attributes
    • setAttributes

      public void setAttributes(List<String> attributes)
      Sets the list of user attributes.
      Parameters:
      attributes - the list of attributes to set