Interface SPlatformSession

  • All Superinterfaces:
    java.io.Serializable
    All Known Implementing Classes:
    SPlatformSessionImpl

    public interface SPlatformSession
    extends java.io.Serializable
    Author:
    Elias Ricken de Medeiros
    • Method Detail

      • getId

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

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

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

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

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

        java.lang.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