Class MapRootAuthenticationSessionEntityImpl.Empty
java.lang.Object
org.keycloak.models.map.common.UpdatableEntity.Impl
org.keycloak.models.map.authSession.MapRootAuthenticationSessionEntity.AbstractRootAuthenticationSessionEntity
org.keycloak.models.map.authSession.MapRootAuthenticationSessionEntityImpl.Empty
- All Implemented Interfaces:
MapRootAuthenticationSessionEntity,AbstractEntity,ExpirableEntity,UpdatableEntity
- Enclosing class:
- MapRootAuthenticationSessionEntityImpl
public static class MapRootAuthenticationSessionEntityImpl.Empty
extends MapRootAuthenticationSessionEntity.AbstractRootAuthenticationSessionEntity
implements MapRootAuthenticationSessionEntity
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.keycloak.models.map.authSession.MapRootAuthenticationSessionEntity
MapRootAuthenticationSessionEntity.AbstractRootAuthenticationSessionEntityNested classes/interfaces inherited from interface org.keycloak.models.map.common.UpdatableEntity
UpdatableEntity.Impl -
Field Summary
FieldsFields inherited from class org.keycloak.models.map.common.UpdatableEntity.Impl
updated -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAuthenticationSession(MapAuthenticationSessionEntity authenticationSession) getAuthenticationSession(String tabId) Returns a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.getId()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.booleanFlag signalizing that any of the setters has been meaningfully used.voidsetAuthenticationSessions(Set<MapAuthenticationSessionEntity> authenticationSessions) voidsetExpiration(Long expiration) Sets a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.voidvoidsetRealmId(String realmId) voidsetTimestamp(Long timestamp) 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.Methods inherited from class org.keycloak.models.map.authSession.MapRootAuthenticationSessionEntity.AbstractRootAuthenticationSessionEntity
clearUpdatedFlagMethods inherited from class org.keycloak.models.map.common.UpdatableEntity.Impl
markUpdatedFlagMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.models.map.common.UpdatableEntity
clearUpdatedFlag, markUpdatedFlag
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
Empty
public Empty()
-
-
Method Details
-
setId
- Specified by:
setIdin interfaceAbstractEntity- Overrides:
setIdin classMapRootAuthenticationSessionEntity.AbstractRootAuthenticationSessionEntity
-
getId
- Specified by:
getIdin interfaceAbstractEntity- Overrides:
getIdin classMapRootAuthenticationSessionEntity.AbstractRootAuthenticationSessionEntity
-
removeAuthenticationSession
- Specified by:
removeAuthenticationSessionin interfaceMapRootAuthenticationSessionEntity
-
addAuthenticationSession
- Specified by:
addAuthenticationSessionin interfaceMapRootAuthenticationSessionEntity
-
setAuthenticationSessions
- Specified by:
setAuthenticationSessionsin interfaceMapRootAuthenticationSessionEntity
-
getAuthenticationSessions
- Specified by:
getAuthenticationSessionsin interfaceMapRootAuthenticationSessionEntity
-
getAuthenticationSession
- Specified by:
getAuthenticationSessionin interfaceMapRootAuthenticationSessionEntity
-
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
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:
expiration- a timestamp in milliseconds since The Epoch ornullif this entity never expires.
-
getRealmId
- Specified by:
getRealmIdin interfaceMapRootAuthenticationSessionEntity
-
setRealmId
- Specified by:
setRealmIdin interfaceMapRootAuthenticationSessionEntity
-
setTimestamp
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:
timestamp- a timestamp in milliseconds since The Epoch ornullwhen the time is unknown
-
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
-
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 classMapRootAuthenticationSessionEntity.AbstractRootAuthenticationSessionEntity- Returns:
-