Class HotRodUserSessionEntity.AbstractHotRodUserSessionEntityDelegate
- java.lang.Object
-
- org.keycloak.models.map.storage.hotRod.common.UpdatableHotRodEntityDelegateImpl<HotRodUserSessionEntity>
-
- org.keycloak.models.map.storage.hotRod.userSession.HotRodUserSessionEntity.AbstractHotRodUserSessionEntityDelegate
-
- All Implemented Interfaces:
AbstractEntity,ExpirableEntity,UpdatableEntity,HotRodEntityDelegate<HotRodUserSessionEntity>,MapUserSessionEntity
- Direct Known Subclasses:
HotRodUserSessionEntityDelegate
- Enclosing class:
- HotRodUserSessionEntity
public abstract static class HotRodUserSessionEntity.AbstractHotRodUserSessionEntityDelegate extends UpdatableHotRodEntityDelegateImpl<HotRodUserSessionEntity> 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
-
-
Constructor Summary
Constructors Constructor Description AbstractHotRodUserSessionEntityDelegate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearAuthenticatedClientSessions()voidclearUpdatedFlag()An optional operation clearing the updated flag.StringgetId()UserSessionModel.SessionPersistenceStategetPersistenceState()booleanisUpdated()Flag signalizing that any of the setters has been meaningfully used.voidsetId(String id)voidsetPersistenceState(UserSessionModel.SessionPersistenceState persistenceState)-
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.storage.hotRod.common.HotRodEntityDelegate
getHotRodEntity
-
Methods inherited from interface org.keycloak.models.map.userSession.MapUserSessionEntity
addAuthenticatedClientSession, getAuthenticatedClientSession, getAuthenticatedClientSessions, getAuthMethod, getBrokerSessionId, getBrokerUserId, getIpAddress, getLastSessionRefresh, getLoginUsername, getNote, getNotes, getRealmId, getState, getTimestamp, getUserId, isOffline, isRememberMe, removeAuthenticatedClientSession, removeNote, setAuthMethod, setBrokerSessionId, setBrokerUserId, setIpAddress, setLastSessionRefresh, setLoginUsername, setNote, setNotes, setOffline, setRealmId, setRememberMe, setState, setTimestamp, setUserId
-
-
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getIdin interfaceAbstractEntity
-
setId
public void setId(String id)
- Specified by:
setIdin interfaceAbstractEntity
-
getPersistenceState
public UserSessionModel.SessionPersistenceState getPersistenceState()
- Specified by:
getPersistenceStatein interfaceMapUserSessionEntity
-
setPersistenceState
public void setPersistenceState(UserSessionModel.SessionPersistenceState persistenceState)
- Specified by:
setPersistenceStatein interfaceMapUserSessionEntity
-
isUpdated
public boolean isUpdated()
Description copied from interface:UpdatableEntityFlag signalizing that any of the setters has been meaningfully used.- Specified by:
isUpdatedin interfaceUpdatableEntity- Overrides:
isUpdatedin classUpdatableHotRodEntityDelegateImpl<HotRodUserSessionEntity>- Returns:
-
clearUpdatedFlag
public void clearUpdatedFlag()
Description copied from interface:UpdatableEntityAn optional operation clearing the updated flag. Right after using this method, theUpdatableEntity.isUpdated()would returnfalse.- Specified by:
clearUpdatedFlagin interfaceUpdatableEntity- Overrides:
clearUpdatedFlagin classUpdatableHotRodEntityDelegateImpl<HotRodUserSessionEntity>
-
clearAuthenticatedClientSessions
public void clearAuthenticatedClientSessions()
- Specified by:
clearAuthenticatedClientSessionsin interfaceMapUserSessionEntity
-
-