Class HvlSessionDataRedisDocument

java.lang.Object
tr.com.havelsan.javarch.oauth.session.data.provider.redis.model.HvlSessionDataRedisDocument
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
HvlSessionDataRedisSystemDocument, HvlSessionDataRedisUserDocument

public abstract class HvlSessionDataRedisDocument extends Object implements Serializable
A data transfer object is used for Redis session document.
See Also:
  • Field Details

  • Constructor Details

    • HvlSessionDataRedisDocument

      protected HvlSessionDataRedisDocument()
      Instantiates a new HvlSessionDataRedisDocument.
    • HvlSessionDataRedisDocument

      protected HvlSessionDataRedisDocument(String username)
      Instantiates a new HvlSessionDataRedisDocument.
      Parameters:
      username - the username
    • HvlSessionDataRedisDocument

      protected HvlSessionDataRedisDocument(String identifier, String username)
      Instantiates a new HvlSessionDataRedisDocument.
      Parameters:
      identifier - the identifier
      username - the username
    • HvlSessionDataRedisDocument

      protected HvlSessionDataRedisDocument(String identifier, String tenantIdentifier, String username)
      Instantiates a new HvlSessionDataRedisDocument.
      Parameters:
      identifier - the identifier
      tenantIdentifier - the tenant identifier
      username - the username
    • HvlSessionDataRedisDocument

      protected HvlSessionDataRedisDocument(String identifier, String username, Map<String,Object> attributeMap)
      Instantiates a new HvlSessionDataRedisDocument.
      Parameters:
      identifier - the identifier
      username - the username
      attributeMap - the attribute map
    • HvlSessionDataRedisDocument

      protected HvlSessionDataRedisDocument(String identifier, String tenantIdentifier, String username, Map<String,Object> attributeMap)
      Instantiates a new HvlSessionDataRedisDocument.
      Parameters:
      identifier - the identifier
      tenantIdentifier - the tenant identifier
      username - the username
      attributeMap - the attribute map
  • Method Details

    • getIdentifier

      public String getIdentifier()
      Gets identifier.
      Returns:
      the identifier
    • setIdentifier

      public void setIdentifier(String identifier)
      Sets identifier.
      Parameters:
      identifier - the identifier
    • getTenantIdentifier

      public String getTenantIdentifier()
      Gets tenant identifier.
      Returns:
      the tenant identifier
    • setTenantIdentifier

      public void setTenantIdentifier(String tenantIdentifier)
      Sets tenant identifier.
      Parameters:
      tenantIdentifier - the tenant identifier
    • getUsername

      public String getUsername()
      Gets username.
      Returns:
      the username
    • setUsername

      public void setUsername(String username)
      Sets username.
      Parameters:
      username - the username
    • getAttributeMap

      public Map<String,Object> getAttributeMap()
      Gets attribute map.
      Returns:
      the attribute map
    • setAttributeMap

      public void setAttributeMap(Map<String,Object> attributeMap)
      Sets attribute map.
      Parameters:
      attributeMap - the attribute map
    • getCreatedDate

      public ZonedDateTime getCreatedDate()
      Gets created date.
      Returns:
      the created date
    • setCreatedDate

      public void setCreatedDate(ZonedDateTime createdDate)
      Sets created date.
      Parameters:
      createdDate - the created date