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
,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 Modifier and Type Field Description static MapRootAuthenticationSessionEntityImpl.Empty
INSTANCE
-
Fields inherited from class org.keycloak.models.map.common.UpdatableEntity.Impl
updated
-
-
Constructor Summary
Constructors Constructor Description Empty()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAuthenticationSession(MapAuthenticationSessionEntity authenticationSession)
Optional<MapAuthenticationSessionEntity>
getAuthenticationSession(String tabId)
Set<MapAuthenticationSessionEntity>
getAuthenticationSessions()
Long
getExpiration()
String
getId()
String
getRealmId()
Long
getTimestamp()
boolean
isUpdated()
Flag signalizing that any of the setters has been meaningfully used.Boolean
removeAuthenticationSession(String tabId)
void
setAuthenticationSessions(Set<MapAuthenticationSessionEntity> authenticationSessions)
void
setExpiration(Long expiration)
void
setId(String id)
void
setRealmId(String realmId)
void
setTimestamp(Long timestamp)
-
Methods inherited from class org.keycloak.models.map.authSession.MapRootAuthenticationSessionEntity.AbstractRootAuthenticationSessionEntity
clearUpdatedFlag
-
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
-
-
-
-
Field Detail
-
INSTANCE
public static final MapRootAuthenticationSessionEntityImpl.Empty INSTANCE
-
-
Method Detail
-
setId
public void setId(String id)
- Specified by:
setId
in interfaceAbstractEntity
- Overrides:
setId
in classMapRootAuthenticationSessionEntity.AbstractRootAuthenticationSessionEntity
-
getId
public String getId()
- Specified by:
getId
in interfaceAbstractEntity
- Overrides:
getId
in classMapRootAuthenticationSessionEntity.AbstractRootAuthenticationSessionEntity
-
removeAuthenticationSession
public Boolean removeAuthenticationSession(String tabId)
- Specified by:
removeAuthenticationSession
in interfaceMapRootAuthenticationSessionEntity
- Overrides:
removeAuthenticationSession
in classMapRootAuthenticationSessionEntity.AbstractRootAuthenticationSessionEntity
-
setAuthenticationSessions
public void setAuthenticationSessions(Set<MapAuthenticationSessionEntity> authenticationSessions)
- Specified by:
setAuthenticationSessions
in interfaceMapRootAuthenticationSessionEntity
-
getAuthenticationSessions
public Set<MapAuthenticationSessionEntity> getAuthenticationSessions()
- Specified by:
getAuthenticationSessions
in interfaceMapRootAuthenticationSessionEntity
-
addAuthenticationSession
public void addAuthenticationSession(MapAuthenticationSessionEntity authenticationSession)
- Specified by:
addAuthenticationSession
in interfaceMapRootAuthenticationSessionEntity
-
getAuthenticationSession
public Optional<MapAuthenticationSessionEntity> getAuthenticationSession(String tabId)
- Specified by:
getAuthenticationSession
in interfaceMapRootAuthenticationSessionEntity
- Overrides:
getAuthenticationSession
in classMapRootAuthenticationSessionEntity.AbstractRootAuthenticationSessionEntity
-
setExpiration
public void setExpiration(Long expiration)
- Specified by:
setExpiration
in interfaceMapRootAuthenticationSessionEntity
-
getExpiration
public Long getExpiration()
- Specified by:
getExpiration
in interfaceMapRootAuthenticationSessionEntity
-
setRealmId
public void setRealmId(String realmId)
- Specified by:
setRealmId
in interfaceMapRootAuthenticationSessionEntity
-
getRealmId
public String getRealmId()
- Specified by:
getRealmId
in interfaceMapRootAuthenticationSessionEntity
-
getTimestamp
public Long getTimestamp()
- Specified by:
getTimestamp
in interfaceMapRootAuthenticationSessionEntity
-
setTimestamp
public void setTimestamp(Long timestamp)
- Specified by:
setTimestamp
in interfaceMapRootAuthenticationSessionEntity
-
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:
-
-