Class UserStatusInfo

java.lang.Object
org.ametys.core.user.status.UserStatusInfo

public class UserStatusInfo extends Object
The status information of a user identity
  • Constructor Details

  • Method Details

    • toJSON

      public Map<String,Object> toJSON()
      Serialize the info as a JSON map
      Returns:
      the JSON
    • getUserIdentity

      Get the identity concerned by the info
      Returns:
      the identity
    • getMissingSinceDate

      Get the date the user was detected as unknown for the first time
      Returns:
      the missing date
    • isPersonalDataRemovalActive

      public boolean isPersonalDataRemovalActive()
      Indicate if the personal data of this user can be removed
      Returns:
      true if the data can be removed
    • getEmail

      public String getEmail()
      Get the associated email. Can be null or out-dated. This represent the last known email of the identity
      Returns:
      the email or null