@MongoCollection(collectionName="sessions") public class MongoUserSessionEntity extends AbstractIdentifiableEntity implements MongoIdentifiableEntity
| Constructor and Description |
|---|
MongoUserSessionEntity() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterRemove(MongoStoreInvocationContext context)
Lifecycle callback, which is called after removal of this object from Mongo.
|
List<String> |
getAssociatedClientIds() |
String |
getIpAddress() |
int |
getLastSessionRefresh() |
String |
getRealmId() |
int |
getStarted() |
String |
getUser() |
void |
setAssociatedClientIds(List<String> associatedClientIds) |
void |
setIpAddress(String ipAddress) |
void |
setLastSessionRefresh(int lastSessionRefresh) |
void |
setRealmId(String realmId) |
void |
setStarted(int started) |
void |
setUser(String user) |
equals, getId, hashCode, setId, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetId, setIdpublic String getRealmId()
public void setRealmId(String realmId)
public String getUser()
public void setUser(String user)
public String getIpAddress()
public void setIpAddress(String ipAddress)
public int getStarted()
public void setStarted(int started)
public int getLastSessionRefresh()
public void setLastSessionRefresh(int lastSessionRefresh)
public void afterRemove(MongoStoreInvocationContext context)
MongoIdentifiableEntityafterRemove in interface MongoIdentifiableEntityCopyright © 2014. All Rights Reserved.