Class MapRootAuthenticationSessionEntityImpl
- java.lang.Object
-
- org.keycloak.models.map.common.UpdatableEntity.Impl
-
- org.keycloak.models.map.authSession.MapRootAuthenticationSessionEntity.AbstractRootAuthenticationSessionEntity
-
- org.keycloak.models.map.authSession.MapRootAuthenticationSessionEntityImpl
-
- All Implemented Interfaces:
MapRootAuthenticationSessionEntity,AbstractEntity,ExpirableEntity,UpdatableEntity
- Direct Known Subclasses:
JpaRootAuthenticationSessionMetadata
@Generated("org.keycloak.models.map.processor.GenerateEntityImplementationsProcessor") public class MapRootAuthenticationSessionEntityImpl extends MapRootAuthenticationSessionEntity.AbstractRootAuthenticationSessionEntity implements MapRootAuthenticationSessionEntity
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMapRootAuthenticationSessionEntityImpl.Empty-
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
-
-
Field Summary
-
Fields inherited from class org.keycloak.models.map.common.UpdatableEntity.Impl
updated
-
-
Constructor Summary
Constructors Constructor Description MapRootAuthenticationSessionEntityImpl(DeepCloner cloner)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAuthenticationSession(MapAuthenticationSessionEntity p0)<V> VdeepClone(V obj)booleanequals(Object o)Optional<MapAuthenticationSessionEntity>getAuthenticationSession(String p0)Set<MapAuthenticationSessionEntity>getAuthenticationSessions()LonggetExpiration()Returns a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.StringgetRealmId()LonggetTimestamp()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.inthashCode()BooleanremoveAuthenticationSession(String p0)voidsetAuthenticationSessions(Set<MapAuthenticationSessionEntity> p0)voidsetExpiration(Long p0)Sets a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.voidsetRealmId(String p0)voidsetTimestamp(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.StringtoString()-
Methods inherited from class org.keycloak.models.map.authSession.MapRootAuthenticationSessionEntity.AbstractRootAuthenticationSessionEntity
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
-
MapRootAuthenticationSessionEntityImpl
public MapRootAuthenticationSessionEntityImpl(DeepCloner cloner)
-
-
Method Detail
-
deepClone
public <V> V deepClone(V obj)
-
addAuthenticationSession
public void addAuthenticationSession(MapAuthenticationSessionEntity p0)
- Specified by:
addAuthenticationSessionin interfaceMapRootAuthenticationSessionEntity
-
getAuthenticationSession
public Optional<MapAuthenticationSessionEntity> getAuthenticationSession(String p0)
- Specified by:
getAuthenticationSessionin interfaceMapRootAuthenticationSessionEntity
-
getAuthenticationSessions
public Set<MapAuthenticationSessionEntity> getAuthenticationSessions()
- Specified by:
getAuthenticationSessionsin interfaceMapRootAuthenticationSessionEntity
-
setAuthenticationSessions
public void setAuthenticationSessions(Set<MapAuthenticationSessionEntity> p0)
- Specified by:
setAuthenticationSessionsin interfaceMapRootAuthenticationSessionEntity
-
removeAuthenticationSession
public Boolean removeAuthenticationSession(String p0)
- Specified by:
removeAuthenticationSessionin interfaceMapRootAuthenticationSessionEntity
-
getExpiration
public 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 interfaceExpirableEntity- Returns:
- a timestamp in milliseconds since The Epoch or
nullif this entity never expires or expiration is not known.
-
setExpiration
public 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 interfaceExpirableEntity- Parameters:
p0- a timestamp in milliseconds since The Epoch ornullif this entity never expires.
-
setRealmId
public void setRealmId(String p0)
- Specified by:
setRealmIdin interfaceMapRootAuthenticationSessionEntity
-
getRealmId
public String getRealmId()
- Specified by:
getRealmIdin interfaceMapRootAuthenticationSessionEntity
-
getTimestamp
public Long getTimestamp()
Description copied from interface:MapRootAuthenticationSessionEntityReturns 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:
getTimestampin interfaceMapRootAuthenticationSessionEntity- Returns:
- a timestamp in milliseconds since The Epoch or
nullwhen the time is unknown
-
setTimestamp
public void setTimestamp(Long p0)
Description copied from interface:MapRootAuthenticationSessionEntitySets 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:
setTimestampin interfaceMapRootAuthenticationSessionEntity- Parameters:
p0- a timestamp in milliseconds since The Epoch ornullwhen the time is unknown
-
-