Class BOApiKey

java.lang.Object
overit.geocall.model.DynO
overit.geocall.basic.bl.auth.BOApiKey
All Implemented Interfaces:
ConstraintValidator<DynO.Valid,DynO>, Serializable, overit.geocall.timezone.model.TimeZoned

public class BOApiKey extends DynO
See Also:
  • Field Details

  • Constructor Details

    • BOApiKey

      public BOApiKey()
  • Method Details

    • getApiKeyId

      public Long getApiKeyId()
    • getApiKeyValue

      public String getApiKeyValue()
    • setApiKeyValue

      public void setApiKeyValue(String apiKeyValue)
    • getApiKeyName

      public String getApiKeyName()
    • setApiKeyName

      public void setApiKeyName(String apiKeyName)
    • getApiKeyDescription

      public String getApiKeyDescription()
    • setApiKeyDescription

      public void setApiKeyDescription(String apiKeyDescription)
    • setApiKeyCleanValue

      public void setApiKeyCleanValue(String apiKeyCleanValue)
      Set the Api Key not hashed. The GenerateApiKeyEvent should be only object to use this method
      Parameters:
      apiKeyCleanValue - The Api Key just generate and not yet hashed
    • getApiKeyCleanValue

      public String getApiKeyCleanValue()
      Get the Api Key not hashed. It is possible obtain only when the GenerateApiKeyEvent is launched.
      Returns:
      the Api Key not hashed. If the Api Key is not just created, the value will be null.
    • getUserId

      public Long getUserId()
    • setUserId

      public void setUserId(Long userId)
    • getIssued

      public Date getIssued()
    • setIssued

      public void setIssued(Date issued)
    • getExpiration

      public Date getExpiration()
    • setExpiration

      public void setExpiration(Date expiration)