|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.webtair.session.artifact.SimpleSessionInfo
public class SimpleSessionInfo
Class is a basic SessionInfo implementation with min needed fields.
| Constructor Summary | |
|---|---|
SimpleSessionInfo()
Default constrctor inti SimpleSessionInfo and populate lastTimeUsed with current time value |
|
SimpleSessionInfo(long lastTimeUsed)
Constructor that populate SimpleSessionInfo with mentioned time value |
|
SimpleSessionInfo(java.lang.String idUser)
Constructor that populate SimpleSessionInfo with current time value and user id (login) |
|
SimpleSessionInfo(java.lang.String idUser,
long lastTimeUsed)
Constructor that populate SimpleSessionInfo with mentioned time value and user id (login) |
|
| Method Summary | |
|---|---|
java.lang.String |
getIdUser()
|
long |
getLastTimeUsed()
Return last time of session used in ms |
void |
setIdUser(java.lang.String idUser)
|
void |
setLastTimeUsed(long lastTimeUsed)
Set last time of session used in ms |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleSessionInfo()
public SimpleSessionInfo(long lastTimeUsed)
lastTimeUsed - - mentioned time value
public SimpleSessionInfo(java.lang.String idUser,
long lastTimeUsed)
idUser - - user id, login or nicknamelastTimeUsed - - mentioned time valuepublic SimpleSessionInfo(java.lang.String idUser)
idUser - - user id, login or nickname| Method Detail |
|---|
public long getLastTimeUsed()
getLastTimeUsed in interface SessionInfopublic void setLastTimeUsed(long lastTimeUsed)
setLastTimeUsed in interface SessionInfolastTimeUsed - - last time when session used, mspublic java.lang.String getIdUser()
public void setIdUser(java.lang.String idUser)
idUser - the idUser to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||