Class SPlatformSessionImpl
java.lang.Object
org.bonitasoft.engine.platform.session.model.impl.SPlatformSessionImpl
- All Implemented Interfaces:
Serializable,SPlatformSession
- Author:
- Elias Ricken de Medeiros, Matthieu Chaffotte
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSPlatformSessionImpl(long id, String username) SPlatformSessionImpl(SPlatformSession session) -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the session's creation date (GMT+0)longGets the session's durationGets the session's expiration date (GMT+0)longgetId()Gets the session's idGets the session's last renew date (GMT+0)longGets the user id associated to this sessionGets the user name associated to this sessioninthashCode()voidsetCreationDate(Date creationDate) voidsetDuration(long duration) voidsetLastRenewDate(Date lastRenewDate)
-
Constructor Details
-
SPlatformSessionImpl
-
SPlatformSessionImpl
-
-
Method Details
-
getId
public long getId()Description copied from interface:SPlatformSessionGets the session's id- Specified by:
getIdin interfaceSPlatformSession- Returns:
-
getCreationDate
Description copied from interface:SPlatformSessionGets the session's creation date (GMT+0)- Specified by:
getCreationDatein interfaceSPlatformSession- Returns:
-
getLastRenewDate
Description copied from interface:SPlatformSessionGets the session's last renew date (GMT+0)- Specified by:
getLastRenewDatein interfaceSPlatformSession- Returns:
-
getDuration
public long getDuration()Description copied from interface:SPlatformSessionGets the session's duration- Specified by:
getDurationin interfaceSPlatformSession- Returns:
-
getExpirationDate
Description copied from interface:SPlatformSessionGets the session's expiration date (GMT+0)- Specified by:
getExpirationDatein interfaceSPlatformSession- Returns:
-
getUserName
Description copied from interface:SPlatformSessionGets the user name associated to this session- Specified by:
getUserNamein interfaceSPlatformSession- Returns:
-
getUserId
public long getUserId()Description copied from interface:SPlatformSessionGets the user id associated to this session- Specified by:
getUserIdin interfaceSPlatformSession- Returns:
- the user Id for this session
-
setLastRenewDate
-
setDuration
public void setDuration(long duration) -
setCreationDate
-
hashCode
public int hashCode() -
equals
-