Class HotRodRootAuthenticationSessionEntityDelegate
- java.lang.Object
-
- org.keycloak.models.map.storage.hotRod.common.UpdatableHotRodEntityDelegateImpl<HotRodRootAuthenticationSessionEntity>
-
- org.keycloak.models.map.storage.hotRod.authSession.HotRodRootAuthenticationSessionEntity.AbstractHotRodRootAuthenticationSessionEntityDelegate
-
- org.keycloak.models.map.storage.hotRod.authSession.HotRodRootAuthenticationSessionEntityDelegate
-
- All Implemented Interfaces:
MapRootAuthenticationSessionEntity
,AbstractEntity
,ExpirableEntity
,UpdatableEntity
,HotRodEntityDelegate<HotRodRootAuthenticationSessionEntity>
@Generated("org.keycloak.models.map.processor.GenerateHotRodEntityImplementationsProcessor") public class HotRodRootAuthenticationSessionEntityDelegate extends HotRodRootAuthenticationSessionEntity.AbstractHotRodRootAuthenticationSessionEntityDelegate implements MapRootAuthenticationSessionEntity
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.keycloak.models.map.authSession.MapRootAuthenticationSessionEntity
MapRootAuthenticationSessionEntity.AbstractRootAuthenticationSessionEntity
-
Nested classes/interfaces inherited from interface org.keycloak.models.map.common.UpdatableEntity
UpdatableEntity.Impl
-
-
Constructor Summary
Constructors Constructor Description HotRodRootAuthenticationSessionEntityDelegate()
Deprecated.This constructor uses aDeepCloner.DUMB_CLONER
that does not clone anything.HotRodRootAuthenticationSessionEntityDelegate(DeepCloner cloner)
HotRodRootAuthenticationSessionEntityDelegate(HotRodRootAuthenticationSessionEntity hotRodEntity)
Deprecated.This constructor uses aDeepCloner.DUMB_CLONER
that does not clone anything.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAuthenticationSession(MapAuthenticationSessionEntity p0)
<V> V
deepClone(V obj)
static boolean
entityEquals(Object o1, Object o2)
static int
entityHashCode(HotRodRootAuthenticationSessionEntity e)
boolean
equals(Object o)
Optional<MapAuthenticationSessionEntity>
getAuthenticationSession(String p0)
Set<MapAuthenticationSessionEntity>
getAuthenticationSessions()
Long
getExpiration()
Returns a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.HotRodRootAuthenticationSessionEntity
getHotRodEntity()
String
getRealmId()
Long
getTimestamp()
Returns a point in time (timestamp in milliseconds since The Epoch) when the root authentication session entity was created or updated during an authentication process.int
hashCode()
Boolean
removeAuthenticationSession(String p0)
void
setAuthenticationSessions(Set<MapAuthenticationSessionEntity> p0)
void
setExpiration(Long p0)
Sets a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.void
setRealmId(String p0)
void
setTimestamp(Long p0)
Sets a point in the (timestamp in milliseconds since The Epoch) when the root authentication session entity was created or updated during an authentication process.String
toString()
-
Methods inherited from class org.keycloak.models.map.storage.hotRod.authSession.HotRodRootAuthenticationSessionEntity.AbstractHotRodRootAuthenticationSessionEntityDelegate
clearUpdatedFlag, getId, isUpdated, setId
-
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.common.UpdatableEntity
clearUpdatedFlag, isUpdated
-
-
-
-
Constructor Detail
-
HotRodRootAuthenticationSessionEntityDelegate
public HotRodRootAuthenticationSessionEntityDelegate()
Deprecated.This constructor uses aDeepCloner.DUMB_CLONER
that does not clone anything. UseHotRodRootAuthenticationSessionEntityDelegate(DeepCloner)
variant instead
-
HotRodRootAuthenticationSessionEntityDelegate
public HotRodRootAuthenticationSessionEntityDelegate(HotRodRootAuthenticationSessionEntity hotRodEntity)
Deprecated.This constructor uses aDeepCloner.DUMB_CLONER
that does not clone anything. UseHotRodRootAuthenticationSessionEntityDelegate(DeepCloner)
variant instead
-
HotRodRootAuthenticationSessionEntityDelegate
public HotRodRootAuthenticationSessionEntityDelegate(DeepCloner cloner)
-
-
Method Detail
-
entityHashCode
public static int entityHashCode(HotRodRootAuthenticationSessionEntity e)
-
deepClone
public <V> V deepClone(V obj)
-
removeAuthenticationSession
public Boolean removeAuthenticationSession(String p0)
- Specified by:
removeAuthenticationSession
in interfaceMapRootAuthenticationSessionEntity
-
getAuthenticationSessions
public Set<MapAuthenticationSessionEntity> getAuthenticationSessions()
- Specified by:
getAuthenticationSessions
in interfaceMapRootAuthenticationSessionEntity
-
setAuthenticationSessions
public void setAuthenticationSessions(Set<MapAuthenticationSessionEntity> p0)
- Specified by:
setAuthenticationSessions
in interfaceMapRootAuthenticationSessionEntity
-
getAuthenticationSession
public Optional<MapAuthenticationSessionEntity> getAuthenticationSession(String p0)
- Specified by:
getAuthenticationSession
in interfaceMapRootAuthenticationSessionEntity
-
addAuthenticationSession
public void addAuthenticationSession(MapAuthenticationSessionEntity p0)
- Specified by:
addAuthenticationSession
in interfaceMapRootAuthenticationSessionEntity
-
getExpiration
public Long 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.
-
setExpiration
public void setExpiration(Long p0)
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.
-
getRealmId
public String getRealmId()
- Specified by:
getRealmId
in interfaceMapRootAuthenticationSessionEntity
-
setRealmId
public void setRealmId(String p0)
- Specified by:
setRealmId
in interfaceMapRootAuthenticationSessionEntity
-
setTimestamp
public void setTimestamp(Long p0)
Description copied from interface:MapRootAuthenticationSessionEntity
Sets a point in the (timestamp in milliseconds since The Epoch) when the root authentication session entity was created or updated during an authentication process.- Specified by:
setTimestamp
in interfaceMapRootAuthenticationSessionEntity
- Parameters:
p0
- a timestamp in milliseconds since The Epoch ornull
when the time is unknown
-
getTimestamp
public Long getTimestamp()
Description copied from interface:MapRootAuthenticationSessionEntity
Returns a point in time (timestamp in milliseconds since The Epoch) when the root authentication session entity was created or updated during an authentication process.- Specified by:
getTimestamp
in interfaceMapRootAuthenticationSessionEntity
- Returns:
- a timestamp in milliseconds since The Epoch or
null
when the time is unknown
-
getHotRodEntity
public HotRodRootAuthenticationSessionEntity getHotRodEntity()
- Specified by:
getHotRodEntity
in interfaceHotRodEntityDelegate<HotRodRootAuthenticationSessionEntity>
-
-