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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.DategetCreationDate()Gets the session's creation date (GMT+0)longgetDuration()Gets the session's durationjava.util.DategetExpirationDate()Gets the session's expiration date (GMT+0)longgetId()Gets the session's idjava.util.DategetLastRenewDate()Gets the session's last renew date (GMT+0)longgetUserId()Gets the user id associated to this sessionjava.lang.StringgetUserName()Gets the user name associated to this session
-
-
-
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
-
-