Class HotRodUserSessionEntityDelegate
- java.lang.Object
- 
- org.keycloak.models.map.storage.hotRod.common.UpdatableHotRodEntityDelegateImpl<HotRodUserSessionEntity>
- 
- org.keycloak.models.map.storage.hotRod.userSession.HotRodUserSessionEntity.AbstractHotRodUserSessionEntityDelegate
- 
- org.keycloak.models.map.storage.hotRod.userSession.HotRodUserSessionEntityDelegate
 
 
 
- 
- All Implemented Interfaces:
- AbstractEntity,- ExpirableEntity,- UpdatableEntity,- HotRodEntityDelegate<HotRodUserSessionEntity>,- MapUserSessionEntity
 
 @Generated("org.keycloak.models.map.processor.GenerateHotRodEntityImplementationsProcessor") public class HotRodUserSessionEntityDelegate extends HotRodUserSessionEntity.AbstractHotRodUserSessionEntityDelegate implements MapUserSessionEntity 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface org.keycloak.models.map.userSession.MapUserSessionEntityMapUserSessionEntity.AbstractUserSessionEntity
 - 
Nested classes/interfaces inherited from interface org.keycloak.models.map.common.UpdatableEntityUpdatableEntity.Impl
 
- 
 - 
Constructor SummaryConstructors Constructor Description HotRodUserSessionEntityDelegate()Deprecated.This constructor uses aDeepCloner.DUMB_CLONERthat does not clone anything.HotRodUserSessionEntityDelegate(DeepCloner cloner)HotRodUserSessionEntityDelegate(HotRodUserSessionEntity hotRodEntity)Deprecated.This constructor uses aDeepCloner.DUMB_CLONERthat does not clone anything.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAuthenticatedClientSession(MapAuthenticatedClientSessionEntity p0)<V> VdeepClone(V obj)static booleanentityEquals(Object o1, Object o2)static intentityHashCode(HotRodUserSessionEntity e)booleanequals(Object o)Optional<MapAuthenticatedClientSessionEntity>getAuthenticatedClientSession(String p0)Set<MapAuthenticatedClientSessionEntity>getAuthenticatedClientSessions()StringgetAuthMethod()StringgetBrokerSessionId()StringgetBrokerUserId()LonggetExpiration()Returns a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.HotRodUserSessionEntitygetHotRodEntity()StringgetIpAddress()LonggetLastSessionRefresh()Returns a point in time (timestamp in milliseconds since The Epoch) when the user session entity was last refreshed.StringgetLoginUsername()StringgetNote(String p0)Map<String,String>getNotes()StringgetRealmId()UserSessionModel.StategetState()LonggetTimestamp()Returns a point in time (timestamp in milliseconds since The Epoch) when the user session entity was created.StringgetUserId()inthashCode()BooleanisOffline()BooleanisRememberMe()BooleanremoveAuthenticatedClientSession(String p0)BooleanremoveNote(String p0)voidsetAuthMethod(String p0)voidsetBrokerSessionId(String p0)voidsetBrokerUserId(String p0)voidsetExpiration(Long p0)Sets a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.voidsetIpAddress(String p0)voidsetLastSessionRefresh(Long p0)Sets a point in the (timestamp in milliseconds since The Epoch) when the user session entity was last refreshed.voidsetLoginUsername(String p0)voidsetNote(String p0, String p1)voidsetNotes(Map<String,String> p0)voidsetOffline(Boolean p0)voidsetRealmId(String p0)voidsetRememberMe(Boolean p0)voidsetState(UserSessionModel.State p0)voidsetTimestamp(Long p0)Sets a point in the (timestamp in milliseconds since The Epoch) when the user session entity was created.voidsetUserId(String p0)StringtoString()- 
Methods inherited from class org.keycloak.models.map.storage.hotRod.userSession.HotRodUserSessionEntity.AbstractHotRodUserSessionEntityDelegateclearAuthenticatedClientSessions, clearUpdatedFlag, getId, getPersistenceState, isUpdated, setId, setPersistenceState
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface org.keycloak.models.map.common.AbstractEntitygetId, setId
 - 
Methods inherited from interface org.keycloak.models.map.userSession.MapUserSessionEntityclearAuthenticatedClientSessions, getPersistenceState, setPersistenceState
 - 
Methods inherited from interface org.keycloak.models.map.common.UpdatableEntityclearUpdatedFlag, isUpdated
 
- 
 
- 
- 
- 
Constructor Detail- 
HotRodUserSessionEntityDelegatepublic HotRodUserSessionEntityDelegate() Deprecated.This constructor uses aDeepCloner.DUMB_CLONERthat does not clone anything. UseHotRodUserSessionEntityDelegate(DeepCloner)variant instead
 - 
HotRodUserSessionEntityDelegatepublic HotRodUserSessionEntityDelegate(HotRodUserSessionEntity hotRodEntity) Deprecated.This constructor uses aDeepCloner.DUMB_CLONERthat does not clone anything. UseHotRodUserSessionEntityDelegate(DeepCloner)variant instead
 - 
HotRodUserSessionEntityDelegatepublic HotRodUserSessionEntityDelegate(DeepCloner cloner) 
 
- 
 - 
Method Detail- 
entityHashCodepublic static int entityHashCode(HotRodUserSessionEntity e) 
 - 
deepClonepublic <V> V deepClone(V obj) 
 - 
getAuthMethodpublic String getAuthMethod() - Specified by:
- getAuthMethodin interface- MapUserSessionEntity
 
 - 
setAuthMethodpublic void setAuthMethod(String p0) - Specified by:
- setAuthMethodin interface- MapUserSessionEntity
 
 - 
addAuthenticatedClientSessionpublic void addAuthenticatedClientSession(MapAuthenticatedClientSessionEntity p0) - Specified by:
- addAuthenticatedClientSessionin interface- MapUserSessionEntity
 
 - 
removeAuthenticatedClientSessionpublic Boolean removeAuthenticatedClientSession(String p0) - Specified by:
- removeAuthenticatedClientSessionin interface- MapUserSessionEntity
 
 - 
getAuthenticatedClientSessionspublic Set<MapAuthenticatedClientSessionEntity> getAuthenticatedClientSessions() - Specified by:
- getAuthenticatedClientSessionsin interface- MapUserSessionEntity
 
 - 
getAuthenticatedClientSessionpublic Optional<MapAuthenticatedClientSessionEntity> getAuthenticatedClientSession(String p0) - Specified by:
- getAuthenticatedClientSessionin interface- MapUserSessionEntity
 
 - 
getBrokerSessionIdpublic String getBrokerSessionId() - Specified by:
- getBrokerSessionIdin interface- MapUserSessionEntity
 
 - 
setBrokerSessionIdpublic void setBrokerSessionId(String p0) - Specified by:
- setBrokerSessionIdin interface- MapUserSessionEntity
 
 - 
setBrokerUserIdpublic void setBrokerUserId(String p0) - Specified by:
- setBrokerUserIdin interface- MapUserSessionEntity
 
 - 
getBrokerUserIdpublic String getBrokerUserId() - Specified by:
- getBrokerUserIdin interface- MapUserSessionEntity
 
 - 
setExpirationpublic void setExpiration(Long p0) Description copied from interface:ExpirableEntitySets a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.- Specified by:
- setExpirationin interface- ExpirableEntity
- Parameters:
- p0- a timestamp in milliseconds since The Epoch or- nullif this entity never expires.
 
 - 
getExpirationpublic Long getExpiration() Description copied from interface:ExpirableEntityReturns a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.- Specified by:
- getExpirationin interface- ExpirableEntity
- Returns:
- a timestamp in milliseconds since The Epoch or nullif this entity never expires or expiration is not known.
 
 - 
setIpAddresspublic void setIpAddress(String p0) - Specified by:
- setIpAddressin interface- MapUserSessionEntity
 
 - 
getIpAddresspublic String getIpAddress() - Specified by:
- getIpAddressin interface- MapUserSessionEntity
 
 - 
setLastSessionRefreshpublic void setLastSessionRefresh(Long p0) Description copied from interface:MapUserSessionEntitySets a point in the (timestamp in milliseconds since The Epoch) when the user session entity was last refreshed.- Specified by:
- setLastSessionRefreshin interface- MapUserSessionEntity
- Parameters:
- p0- a timestamp in milliseconds since The Epoch or- nullwhen the time is unknown
 
 - 
getLastSessionRefreshpublic Long getLastSessionRefresh() Description copied from interface:MapUserSessionEntityReturns a point in time (timestamp in milliseconds since The Epoch) when the user session entity was last refreshed.- Specified by:
- getLastSessionRefreshin interface- MapUserSessionEntity
- Returns:
- a timestamp in milliseconds since The Epoch or nullwhen the time is unknown
 
 - 
getLoginUsernamepublic String getLoginUsername() - Specified by:
- getLoginUsernamein interface- MapUserSessionEntity
 
 - 
setLoginUsernamepublic void setLoginUsername(String p0) - Specified by:
- setLoginUsernamein interface- MapUserSessionEntity
 
 - 
setNotepublic void setNote(String p0, String p1) - Specified by:
- setNotein interface- MapUserSessionEntity
 
 - 
removeNotepublic Boolean removeNote(String p0) - Specified by:
- removeNotein interface- MapUserSessionEntity
 
 - 
getNotepublic String getNote(String p0) - Specified by:
- getNotein interface- MapUserSessionEntity
 
 - 
getNotespublic Map<String,String> getNotes() - Specified by:
- getNotesin interface- MapUserSessionEntity
 
 - 
setNotespublic void setNotes(Map<String,String> p0) - Specified by:
- setNotesin interface- MapUserSessionEntity
 
 - 
isOfflinepublic Boolean isOffline() - Specified by:
- isOfflinein interface- MapUserSessionEntity
 
 - 
setOfflinepublic void setOffline(Boolean p0) - Specified by:
- setOfflinein interface- MapUserSessionEntity
 
 - 
getRealmIdpublic String getRealmId() - Specified by:
- getRealmIdin interface- MapUserSessionEntity
 
 - 
setRealmIdpublic void setRealmId(String p0) - Specified by:
- setRealmIdin interface- MapUserSessionEntity
 
 - 
isRememberMepublic Boolean isRememberMe() - Specified by:
- isRememberMein interface- MapUserSessionEntity
 
 - 
setRememberMepublic void setRememberMe(Boolean p0) - Specified by:
- setRememberMein interface- MapUserSessionEntity
 
 - 
setStatepublic void setState(UserSessionModel.State p0) - Specified by:
- setStatein interface- MapUserSessionEntity
 
 - 
getStatepublic UserSessionModel.State getState() - Specified by:
- getStatein interface- MapUserSessionEntity
 
 - 
getTimestamppublic Long getTimestamp() Description copied from interface:MapUserSessionEntityReturns a point in time (timestamp in milliseconds since The Epoch) when the user session entity was created.- Specified by:
- getTimestampin interface- MapUserSessionEntity
- Returns:
- a timestamp in milliseconds since The Epoch or nullwhen the time is unknown
 
 - 
setTimestamppublic void setTimestamp(Long p0) Description copied from interface:MapUserSessionEntitySets a point in the (timestamp in milliseconds since The Epoch) when the user session entity was created.- Specified by:
- setTimestampin interface- MapUserSessionEntity
- Parameters:
- p0- a timestamp in milliseconds since The Epoch or- nullwhen the time is unknown
 
 - 
getUserIdpublic String getUserId() - Specified by:
- getUserIdin interface- MapUserSessionEntity
 
 - 
setUserIdpublic void setUserId(String p0) - Specified by:
- setUserIdin interface- MapUserSessionEntity
 
 - 
getHotRodEntitypublic HotRodUserSessionEntity getHotRodEntity() - Specified by:
- getHotRodEntityin interface- HotRodEntityDelegate<HotRodUserSessionEntity>
 
 
- 
 
-