Class MapUserSessionEntity.AbstractUserSessionEntity
java.lang.Object
org.keycloak.models.map.common.UpdatableEntity.Impl
org.keycloak.models.map.userSession.MapUserSessionEntity.AbstractUserSessionEntity
- All Implemented Interfaces:
AbstractEntity
,ExpirableEntity
,UpdatableEntity
,MapUserSessionEntity
- Direct Known Subclasses:
JpaUserSessionEntity
,MapUserSessionEntityFieldDelegate
,MapUserSessionEntityImpl
,MapUserSessionEntityImpl.Empty
- Enclosing interface:
- MapUserSessionEntity
public abstract static class MapUserSessionEntity.AbstractUserSessionEntity
extends UpdatableEntity.Impl
implements MapUserSessionEntity
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.keycloak.models.map.userSession.MapUserSessionEntity
MapUserSessionEntity.AbstractUserSessionEntity
Nested classes/interfaces inherited from interface org.keycloak.models.map.common.UpdatableEntity
UpdatableEntity.Impl
-
Field Summary
Fields inherited from class org.keycloak.models.map.common.UpdatableEntity.Impl
updated
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
An optional operation clearing the updated flag.getId()
boolean
Flag signalizing that any of the setters has been meaningfully used.void
Methods inherited from class org.keycloak.models.map.common.UpdatableEntity.Impl
markUpdatedFlag
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.keycloak.models.map.common.ExpirableEntity
getExpiration, setExpiration
Methods inherited from interface org.keycloak.models.map.userSession.MapUserSessionEntity
addAuthenticatedClientSession, getAuthenticatedClientSession, getAuthenticatedClientSessions, getAuthMethod, getBrokerSessionId, getBrokerUserId, getIpAddress, getLastSessionRefresh, getLoginUsername, getNote, getNotes, getPersistenceState, getRealmId, getState, getTimestamp, getUserId, isOffline, isRememberMe, removeAuthenticatedClientSession, removeNote, setAuthMethod, setBrokerSessionId, setBrokerUserId, setIpAddress, setLastSessionRefresh, setLoginUsername, setNote, setNotes, setOffline, setPersistenceState, setRealmId, setRememberMe, setState, setTimestamp, setUserId
Methods inherited from interface org.keycloak.models.map.common.UpdatableEntity
markUpdatedFlag
-
Constructor Details
-
AbstractUserSessionEntity
public AbstractUserSessionEntity()
-
-
Method Details
-
getId
- Specified by:
getId
in interfaceAbstractEntity
-
setId
- Specified by:
setId
in interfaceAbstractEntity
-
isUpdated
public boolean isUpdated()Description copied from interface:UpdatableEntity
Flag signalizing that any of the setters has been meaningfully used.- Specified by:
isUpdated
in interfaceUpdatableEntity
- Overrides:
isUpdated
in classUpdatableEntity.Impl
- Returns:
-
clearUpdatedFlag
public void clearUpdatedFlag()Description copied from interface:UpdatableEntity
An optional operation clearing the updated flag. Right after using this method, theUpdatableEntity.isUpdated()
would returnfalse
.- Specified by:
clearUpdatedFlag
in interfaceUpdatableEntity
- Overrides:
clearUpdatedFlag
in classUpdatableEntity.Impl
-
clearAuthenticatedClientSessions
public void clearAuthenticatedClientSessions()- Specified by:
clearAuthenticatedClientSessions
in interfaceMapUserSessionEntity
-