public class SPlatformSessionImpl extends Object implements SPlatformSession
| Constructor and Description |
|---|
SPlatformSessionImpl(long id,
String username) |
SPlatformSessionImpl(SPlatformSession session) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Date |
getCreationDate()
Gets the session's creation date (GMT+0)
|
long |
getDuration()
Gets the session's duration
|
Date |
getExpirationDate()
Gets the session's expiration date (GMT+0)
|
long |
getId()
Gets the session's id
|
Date |
getLastRenewDate()
Gets the session's last renew date (GMT+0)
|
long |
getUserId()
Gets the user id associated to this session
|
String |
getUserName()
Gets the user name associated to this session
|
int |
hashCode() |
void |
setCreationDate(Date creationDate) |
void |
setDuration(long duration) |
void |
setLastRenewDate(Date lastRenewDate) |
public SPlatformSessionImpl(long id,
String username)
public SPlatformSessionImpl(SPlatformSession session)
public long getId()
SPlatformSessiongetId in interface SPlatformSessionpublic Date getCreationDate()
SPlatformSessiongetCreationDate in interface SPlatformSessionpublic Date getLastRenewDate()
SPlatformSessiongetLastRenewDate in interface SPlatformSessionpublic long getDuration()
SPlatformSessiongetDuration in interface SPlatformSessionpublic Date getExpirationDate()
SPlatformSessiongetExpirationDate in interface SPlatformSessionpublic String getUserName()
SPlatformSessiongetUserName in interface SPlatformSessionpublic long getUserId()
SPlatformSessiongetUserId in interface SPlatformSessionpublic void setLastRenewDate(Date lastRenewDate)
public void setDuration(long duration)
public void setCreationDate(Date creationDate)
Copyright © 2019 Bonitasoft S.A.. All rights reserved.