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.MapUserSessionEntity
MapUserSessionEntity.AbstractUserSessionEntity
Nested classes/interfaces inherited from interface org.keycloak.models.map.common.UpdatableEntity
UpdatableEntity.Impl
-
Constructor Summary
ConstructorDescriptionDeprecated.HotRodUserSessionEntityDelegate
(HotRodUserSessionEntity hotRodEntity) Deprecated.This constructor uses aDeepCloner.DUMB_CLONER
that does not clone anything. -
Method Summary
Modifier and TypeMethodDescriptionvoid
<V> V
deepClone
(V obj) static boolean
entityEquals
(Object o1, Object o2) static int
boolean
Returns a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.Returns a point in time (timestamp in milliseconds since The Epoch) when the user session entity was last refreshed.getNotes()
getState()
Returns a point in time (timestamp in milliseconds since The Epoch) when the user session entity was created.int
hashCode()
removeNote
(String p0) void
setAuthMethod
(String p0) void
void
void
setExpiration
(Long p0) Sets a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.void
setIpAddress
(String p0) void
Sets a point in the (timestamp in milliseconds since The Epoch) when the user session entity was last refreshed.void
void
void
void
setOffline
(Boolean p0) void
setRealmId
(String p0) void
setRememberMe
(Boolean p0) void
void
setTimestamp
(Long p0) Sets a point in the (timestamp in milliseconds since The Epoch) when the user session entity was created.void
toString()
Methods inherited from class org.keycloak.models.map.storage.hotRod.userSession.HotRodUserSessionEntity.AbstractHotRodUserSessionEntityDelegate
clearAuthenticatedClientSessions, clearUpdatedFlag, getId, getPersistenceState, isUpdated, setId, setPersistenceState
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.keycloak.models.map.common.AbstractEntity
getId, setId
Methods inherited from interface org.keycloak.models.map.userSession.MapUserSessionEntity
clearAuthenticatedClientSessions, getPersistenceState, setPersistenceState
Methods inherited from interface org.keycloak.models.map.common.UpdatableEntity
clearUpdatedFlag, isUpdated, markUpdatedFlag
-
Constructor Details
-
HotRodUserSessionEntityDelegate
public HotRodUserSessionEntityDelegate()Deprecated.This constructor uses aDeepCloner.DUMB_CLONER
that does not clone anything. UseHotRodUserSessionEntityDelegate(DeepCloner)
variant instead -
HotRodUserSessionEntityDelegate
Deprecated.This constructor uses aDeepCloner.DUMB_CLONER
that does not clone anything. UseHotRodUserSessionEntityDelegate(DeepCloner)
variant instead -
HotRodUserSessionEntityDelegate
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
toString
-
entityEquals
-
entityHashCode
-
deepClone
public <V> V deepClone(V obj) -
setAuthMethod
- Specified by:
setAuthMethod
in interfaceMapUserSessionEntity
-
getAuthMethod
- Specified by:
getAuthMethod
in interfaceMapUserSessionEntity
-
getAuthenticatedClientSessions
- Specified by:
getAuthenticatedClientSessions
in interfaceMapUserSessionEntity
-
removeAuthenticatedClientSession
- Specified by:
removeAuthenticatedClientSession
in interfaceMapUserSessionEntity
-
addAuthenticatedClientSession
- Specified by:
addAuthenticatedClientSession
in interfaceMapUserSessionEntity
-
getAuthenticatedClientSession
- Specified by:
getAuthenticatedClientSession
in interfaceMapUserSessionEntity
-
getBrokerSessionId
- Specified by:
getBrokerSessionId
in interfaceMapUserSessionEntity
-
setBrokerSessionId
- Specified by:
setBrokerSessionId
in interfaceMapUserSessionEntity
-
getBrokerUserId
- Specified by:
getBrokerUserId
in interfaceMapUserSessionEntity
-
setBrokerUserId
- Specified by:
setBrokerUserId
in interfaceMapUserSessionEntity
-
setExpiration
Description copied from interface:ExpirableEntity
Sets a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.- Specified by:
setExpiration
in interfaceExpirableEntity
- Parameters:
p0
- a timestamp in milliseconds since The Epoch ornull
if this entity never expires.
-
getExpiration
Description copied from interface:ExpirableEntity
Returns a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.- Specified by:
getExpiration
in interfaceExpirableEntity
- Returns:
- a timestamp in milliseconds since The Epoch or
null
if this entity never expires or expiration is not known.
-
setIpAddress
- Specified by:
setIpAddress
in interfaceMapUserSessionEntity
-
getIpAddress
- Specified by:
getIpAddress
in interfaceMapUserSessionEntity
-
getLastSessionRefresh
Description copied from interface:MapUserSessionEntity
Returns a point in time (timestamp in milliseconds since The Epoch) when the user session entity was last refreshed.- Specified by:
getLastSessionRefresh
in interfaceMapUserSessionEntity
- Returns:
- a timestamp in milliseconds since The Epoch or
null
when the time is unknown
-
setLastSessionRefresh
Description copied from interface:MapUserSessionEntity
Sets a point in the (timestamp in milliseconds since The Epoch) when the user session entity was last refreshed.- Specified by:
setLastSessionRefresh
in interfaceMapUserSessionEntity
- Parameters:
p0
- a timestamp in milliseconds since The Epoch ornull
when the time is unknown
-
setLoginUsername
- Specified by:
setLoginUsername
in interfaceMapUserSessionEntity
-
getLoginUsername
- Specified by:
getLoginUsername
in interfaceMapUserSessionEntity
-
getNote
- Specified by:
getNote
in interfaceMapUserSessionEntity
-
getNotes
- Specified by:
getNotes
in interfaceMapUserSessionEntity
-
setNote
- Specified by:
setNote
in interfaceMapUserSessionEntity
-
setNotes
- Specified by:
setNotes
in interfaceMapUserSessionEntity
-
removeNote
- Specified by:
removeNote
in interfaceMapUserSessionEntity
-
isOffline
- Specified by:
isOffline
in interfaceMapUserSessionEntity
-
setOffline
- Specified by:
setOffline
in interfaceMapUserSessionEntity
-
setRealmId
- Specified by:
setRealmId
in interfaceMapUserSessionEntity
-
getRealmId
- Specified by:
getRealmId
in interfaceMapUserSessionEntity
-
isRememberMe
- Specified by:
isRememberMe
in interfaceMapUserSessionEntity
-
setRememberMe
- Specified by:
setRememberMe
in interfaceMapUserSessionEntity
-
getState
- Specified by:
getState
in interfaceMapUserSessionEntity
-
setState
- Specified by:
setState
in interfaceMapUserSessionEntity
-
getTimestamp
Description copied from interface:MapUserSessionEntity
Returns a point in time (timestamp in milliseconds since The Epoch) when the user session entity was created.- Specified by:
getTimestamp
in interfaceMapUserSessionEntity
- Returns:
- a timestamp in milliseconds since The Epoch or
null
when the time is unknown
-
setTimestamp
Description copied from interface:MapUserSessionEntity
Sets a point in the (timestamp in milliseconds since The Epoch) when the user session entity was created.- Specified by:
setTimestamp
in interfaceMapUserSessionEntity
- Parameters:
p0
- a timestamp in milliseconds since The Epoch ornull
when the time is unknown
-
getUserId
- Specified by:
getUserId
in interfaceMapUserSessionEntity
-
setUserId
- Specified by:
setUserId
in interfaceMapUserSessionEntity
-
getHotRodEntity
- Specified by:
getHotRodEntity
in interfaceHotRodEntityDelegate<HotRodUserSessionEntity>
-
DeepCloner.DUMB_CLONER
that does not clone anything.