Interface SPlatformSession

All Superinterfaces:
Serializable
All Known Implementing Classes:
SPlatformSessionImpl

public interface SPlatformSession extends Serializable
Author:
Elias Ricken de Medeiros
  • Method Details

    • getId

      long getId()
      Gets the session's id
      Returns:
    • getCreationDate

      Date getCreationDate()
      Gets the session's creation date (GMT+0)
      Returns:
    • getLastRenewDate

      Date getLastRenewDate()
      Gets the session's last renew date (GMT+0)
      Returns:
    • getDuration

      long getDuration()
      Gets the session's duration
      Returns:
    • getExpirationDate

      Date getExpirationDate()
      Gets the session's expiration date (GMT+0)
      Returns:
    • getUserName

      String getUserName()
      Gets the user name associated to this session
      Returns:
    • getUserId

      long getUserId()
      Gets the user id associated to this session
      Returns:
      the user Id for this session