public class SessionInfo extends Object implements Comparable<SessionInfo>
Modifier and Type | Field and Description |
---|---|
protected long |
creationTime |
protected long |
lastAccessTime |
protected String |
lastAccessUrl |
protected String |
loginName |
protected int |
nbAccess |
protected String |
sessionId |
Constructor and Description |
---|
SessionInfo(String sid) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(SessionInfo o) |
protected String |
formatDuration(long nbs) |
int |
getAccessedPagesCount() |
long |
getCreationTime() |
String |
getDurationAsString() |
long |
getDurationInS() |
String |
getInactivityAsString() |
long |
getInactivityInS() |
Date |
getLastAccessDate() |
long |
getLastAccessTime() |
String |
getLastAccessUrl() |
String |
getLoginName() |
String |
getSessionId() |
void |
setLastAccessUrl(String lastAccessUrl) |
void |
setLoginName(String loginName) |
String |
toString() |
void |
updateLastAccessTime() |
protected final long creationTime
protected long lastAccessTime
protected int nbAccess
protected String lastAccessUrl
public SessionInfo(String sid)
public long getLastAccessTime()
public void updateLastAccessTime()
public String getLastAccessUrl()
public void setLastAccessUrl(String lastAccessUrl)
public long getCreationTime()
public String getLoginName()
public void setLoginName(String loginName)
public String getSessionId()
public long getDurationInS()
public long getInactivityInS()
protected String formatDuration(long nbs)
public String getDurationAsString()
public String getInactivityAsString()
public Date getLastAccessDate()
public int compareTo(SessionInfo o)
compareTo
in interface Comparable<SessionInfo>
public int getAccessedPagesCount()
Copyright © 2016 Nuxeo SA. All rights reserved.