@NotThreadSafe public final class LoginInfo extends com.helger.commons.collections.attrs.MapBasedAttributeContainer implements com.helger.commons.id.IHasID<String>
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getID() |
org.joda.time.DateTime |
getLastAccessDT() |
org.joda.time.DateTime |
getLoginDT() |
org.joda.time.DateTime |
getLogoutDT() |
com.helger.commons.scopes.domain.ISessionScope |
getSessionScope() |
IUser |
getUser() |
String |
getUserID() |
int |
hashCode() |
boolean |
isLogout() |
void |
setLastAccessDTNow()
Update the last access date time to the current date and time.
|
String |
toString() |
getAndSetAttributeFlag, getClone, setAttribute, setAttribute, setAttribute, setAttributeclear, containsAttribute, containsNoAttribute, getAllAttributeNames, getAllAttributes, getAllAttributeValues, getAttributeCount, getAttributeNames, getAttributeObject, onBeforeRemoveAttribute, onBeforeSetAttributeValue, removeAttribute, setAttribute, setAttributes, setAttributesgetAsBigDecimal, getAsBigInteger, getAsBoolean, getAsDouble, getAsInt, getAsLong, getAsString, getAttributeAsBigDecimal, getAttributeAsBigDecimal, getAttributeAsBigInteger, getAttributeAsBigInteger, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDouble, getAttributeAsDouble, getAttributeAsInt, getAttributeAsInt, getAttributeAsLong, getAttributeAsLong, getAttributeAsString, getAttributeAsString, getCastedAttribute, getCastedAttribute, getTypedAttribute, getTypedAttributeclone, finalize, getClass, notify, notifyAll, wait, wait, waitremoveAttribute, setAttribute, setAttributes, setAttributescontainsAttribute, containsNoAttribute, getAllAttributeNames, getAllAttributes, getAllAttributeValues, getAttributeAsBigDecimal, getAttributeAsBigDecimal, getAttributeAsBigInteger, getAttributeAsBigInteger, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDouble, getAttributeAsDouble, getAttributeAsInt, getAttributeAsInt, getAttributeAsLong, getAttributeAsLong, getAttributeAsString, getAttributeAsString, getAttributeCount, getAttributeNames, getAttributeObject, getCastedAttribute, getCastedAttribute, getTypedAttribute, getTypedAttribute@Nonnull public IUser getUser()
null.@Nonnull public com.helger.commons.scopes.domain.ISessionScope getSessionScope()
null.@Nonnull @Nonempty public String getUserID()
null nor empty.@Nonnull @Nonempty public String getID()
getID in interface com.helger.commons.id.IHasID<String>@Nonnull public org.joda.time.DateTime getLoginDT()
null.@Nonnull public org.joda.time.DateTime getLastAccessDT()
null.public void setLastAccessDTNow()
@Nullable public org.joda.time.DateTime getLogoutDT()
null
when the user is still logged in :)public boolean isLogout()
true if this LoginInfo refers to an already logged out
user.public boolean equals(Object o)
public int hashCode()
Copyright © 2014–2015 Philip Helger. All rights reserved.