Interface IUserTechnicalInformation

All Superinterfaces:
Serializable

public interface IUserTechnicalInformation extends Serializable
Interface for a user's technical information
  • Method Details

    • getActivationDate

      Date getActivationDate()
      Retrieves the account activation date.
      Returns:
      A java.util.Date value.
    • setActivationDate

      void setActivationDate(Date date)
      Sets the account activation date.
      Parameters:
      date - A java.util.Date value.
    • getLastPasswordUpdate

      Date getLastPasswordUpdate()
      Retrieves the account last password update date.
      Returns:
      A java.util.Date value.
    • getLastVisitedDate

      Date getLastVisitedDate()
      Retrieves the account last visited date.
      Returns:
      A java.util.Date value.
    • setLastVisitedDate

      void setLastVisitedDate(Date date)
      Sets the user's last connection.
      Parameters:
      date - A java.util.Date value.
    • getExpirationDate

      Date getExpirationDate()
      Retrieves the expiration date.
      Returns:
      A java.util.Date value.
    • setExpirationDate

      void setExpirationDate(Date date)
      Sets the account expiration date.
      Parameters:
      date - A java.util.Date value.
    • getCreatedDate

      Date getCreatedDate()
      Gets the created date.
      Returns:
      A java.util.Date value.
    • getCreatedBy

      IUser getCreatedBy()
      Gets the creator of the user.
      Returns:
      A IUser object.
    • getModifiedDate

      Date getModifiedDate()
      Gets the modified date.
      Returns:
      A java.util.Date value.
    • getModifiedBy

      IUser getModifiedBy()
      Gets the editor of the user.
      Returns:
      A IUser object.
    • isConnectionAllowed

      boolean isConnectionAllowed()
      Checks if the user can open a connection.
      Returns:
      true if the user can open a connection, false otherwise.
    • isLocked

      boolean isLocked()
      Checks if the user is locked.
      Returns:
      true if the user is locked, false otherwise.
    • unlock

      void unlock()
      Allows to unlock the user.
    • validatePrivacyPolicy

      void validatePrivacyPolicy()
      Validates the privacy policy for this user at the current date
    • getPrivacyPolicyValidation

      Date getPrivacyPolicyValidation()
      Gets the date on which the user validated the privacy policy
      Returns:
      the date or null if the user has never validated the privacy policy
    • getSub

      String getSub()
      Gets the sub of the user
      Returns:
      the sub String value
    • getPreDeactivationDate

      Date getPreDeactivationDate()
      Gets the date on which a user last received an email warning of the future deactivation of their account (because of their lack of connection)
      Returns:
      the date or null if the user has never received this mail