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.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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAuthenticationSession
(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.boolean
Flag signalizing that any of the setters has been meaningfully used.void
setAuthenticationSessions
(Set<MapAuthenticationSessionEntity> authenticationSessions) void
setExpiration
(Long expiration) Sets a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.void
void
setRealmId
(String realmId) void
setTimestamp
(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
clearUpdatedFlag
Methods inherited from class org.keycloak.models.map.common.UpdatableEntity.Impl
markUpdatedFlag
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.keycloak.models.map.common.UpdatableEntity
clearUpdatedFlag, markUpdatedFlag
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
Empty
public Empty()
-
-
Method Details
-
setId
- Specified by:
setId
in interfaceAbstractEntity
- Overrides:
setId
in classMapRootAuthenticationSessionEntity.AbstractRootAuthenticationSessionEntity
-
getId
- Specified by:
getId
in interfaceAbstractEntity
- Overrides:
getId
in classMapRootAuthenticationSessionEntity.AbstractRootAuthenticationSessionEntity
-
removeAuthenticationSession
- Specified by:
removeAuthenticationSession
in interfaceMapRootAuthenticationSessionEntity
-
addAuthenticationSession
- Specified by:
addAuthenticationSession
in interfaceMapRootAuthenticationSessionEntity
-
setAuthenticationSessions
- Specified by:
setAuthenticationSessions
in interfaceMapRootAuthenticationSessionEntity
-
getAuthenticationSessions
- Specified by:
getAuthenticationSessions
in interfaceMapRootAuthenticationSessionEntity
-
getAuthenticationSession
- Specified by:
getAuthenticationSession
in interfaceMapRootAuthenticationSessionEntity
-
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
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:
expiration
- a timestamp in milliseconds since The Epoch ornull
if this entity never expires.
-
getRealmId
- Specified by:
getRealmId
in interfaceMapRootAuthenticationSessionEntity
-
setRealmId
- Specified by:
setRealmId
in interfaceMapRootAuthenticationSessionEntity
-
setTimestamp
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:
timestamp
- a timestamp in milliseconds since The Epoch ornull
when the time is unknown
-
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
-
isUpdated
public boolean isUpdated()Description copied from interface:UpdatableEntity
Flag signalizing that any of the setters has been meaningfully used.- Specified by:
isUpdated
in interfaceUpdatableEntity
- Overrides:
isUpdated
in classMapRootAuthenticationSessionEntity.AbstractRootAuthenticationSessionEntity
- Returns:
-