Class MapRootAuthenticationSessionEntity.AbstractRootAuthenticationSessionEntity
- java.lang.Object
-
- org.keycloak.models.map.common.UpdatableEntity.Impl
-
- org.keycloak.models.map.authSession.MapRootAuthenticationSessionEntity.AbstractRootAuthenticationSessionEntity
-
- All Implemented Interfaces:
MapRootAuthenticationSessionEntity,AbstractEntity,ExpirableEntity,UpdatableEntity
- Direct Known Subclasses:
MapRootAuthenticationSessionEntityFieldDelegate,MapRootAuthenticationSessionEntityImpl,MapRootAuthenticationSessionEntityImpl.Empty
- Enclosing interface:
- MapRootAuthenticationSessionEntity
public abstract static class MapRootAuthenticationSessionEntity.AbstractRootAuthenticationSessionEntity extends UpdatableEntity.Impl 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
Constructors Constructor Description AbstractRootAuthenticationSessionEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearUpdatedFlag()An optional operation clearing the updated flag.Optional<MapAuthenticationSessionEntity>getAuthenticationSession(String tabId)StringgetId()booleanisUpdated()Flag signalizing that any of the setters has been meaningfully used.BooleanremoveAuthenticationSession(String tabId)voidsetId(String id)-
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.ExpirableEntity
getExpiration, setExpiration
-
Methods inherited from interface org.keycloak.models.map.authSession.MapRootAuthenticationSessionEntity
addAuthenticationSession, getAuthenticationSessions, getRealmId, getTimestamp, setAuthenticationSessions, setRealmId, setTimestamp
-
-
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getIdin interfaceAbstractEntity
-
setId
public void setId(String id)
- Specified by:
setIdin interfaceAbstractEntity
-
getAuthenticationSession
public Optional<MapAuthenticationSessionEntity> getAuthenticationSession(String tabId)
- Specified by:
getAuthenticationSessionin interfaceMapRootAuthenticationSessionEntity
-
removeAuthenticationSession
public Boolean removeAuthenticationSession(String tabId)
- Specified by:
removeAuthenticationSessionin interfaceMapRootAuthenticationSessionEntity
-
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 classUpdatableEntity.Impl- Returns:
-
clearUpdatedFlag
public void clearUpdatedFlag()
Description copied from interface:UpdatableEntityAn optional operation clearing the updated flag. Right after using this method, theUpdatableEntity.isUpdated()would returnfalse.- Specified by:
clearUpdatedFlagin interfaceUpdatableEntity- Overrides:
clearUpdatedFlagin classUpdatableEntity.Impl
-
-