Class MapRootAuthenticationSessionEntityDelegate
- java.lang.Object
-
- org.keycloak.models.map.authSession.MapRootAuthenticationSessionEntityDelegate
-
- All Implemented Interfaces:
MapRootAuthenticationSessionEntity,AbstractEntity,UpdatableEntity
public class MapRootAuthenticationSessionEntityDelegate extends Object 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
-
-
Constructor Summary
Constructors Constructor Description MapRootAuthenticationSessionEntityDelegate(DelegateProvider<MapRootAuthenticationSessionEntity> delegateProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAuthenticationSession(MapAuthenticationSessionEntity authenticationSession)Optional<MapAuthenticationSessionEntity>getAuthenticationSession(String tabId)Set<MapAuthenticationSessionEntity>getAuthenticationSessions()LonggetExpiration()StringgetId()StringgetRealmId()LonggetTimestamp()booleanisUpdated()Flag signalizing that any of the setters has been meaningfully used.BooleanremoveAuthenticationSession(String tabId)voidsetAuthenticationSessions(Set<MapAuthenticationSessionEntity> authenticationSessions)voidsetExpiration(Long expiration)voidsetId(String id)voidsetRealmId(String realmId)voidsetTimestamp(Long timestamp)-
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
-
-
-
-
Constructor Detail
-
MapRootAuthenticationSessionEntityDelegate
public MapRootAuthenticationSessionEntityDelegate(DelegateProvider<MapRootAuthenticationSessionEntity> delegateProvider)
-
-
Method Detail
-
isUpdated
public boolean isUpdated()
Description copied from interface:UpdatableEntityFlag signalizing that any of the setters has been meaningfully used.- Specified by:
isUpdatedin interfaceUpdatableEntity- Returns:
-
getId
public String getId()
- Specified by:
getIdin interfaceAbstractEntity
-
setId
public void setId(String id)
- Specified by:
setIdin interfaceAbstractEntity
-
getRealmId
public String getRealmId()
- Specified by:
getRealmIdin interfaceMapRootAuthenticationSessionEntity
-
setRealmId
public void setRealmId(String realmId)
- Specified by:
setRealmIdin interfaceMapRootAuthenticationSessionEntity
-
getTimestamp
public Long getTimestamp()
- Specified by:
getTimestampin interfaceMapRootAuthenticationSessionEntity
-
setTimestamp
public void setTimestamp(Long timestamp)
- Specified by:
setTimestampin interfaceMapRootAuthenticationSessionEntity
-
getExpiration
public Long getExpiration()
- Specified by:
getExpirationin interfaceMapRootAuthenticationSessionEntity
-
setExpiration
public void setExpiration(Long expiration)
- Specified by:
setExpirationin interfaceMapRootAuthenticationSessionEntity
-
getAuthenticationSessions
public Set<MapAuthenticationSessionEntity> getAuthenticationSessions()
- Specified by:
getAuthenticationSessionsin interfaceMapRootAuthenticationSessionEntity
-
setAuthenticationSessions
public void setAuthenticationSessions(Set<MapAuthenticationSessionEntity> authenticationSessions)
- Specified by:
setAuthenticationSessionsin interfaceMapRootAuthenticationSessionEntity
-
getAuthenticationSession
public Optional<MapAuthenticationSessionEntity> getAuthenticationSession(String tabId)
- Specified by:
getAuthenticationSessionin interfaceMapRootAuthenticationSessionEntity
-
addAuthenticationSession
public void addAuthenticationSession(MapAuthenticationSessionEntity authenticationSession)
- Specified by:
addAuthenticationSessionin interfaceMapRootAuthenticationSessionEntity
-
removeAuthenticationSession
public Boolean removeAuthenticationSession(String tabId)
- Specified by:
removeAuthenticationSessionin interfaceMapRootAuthenticationSessionEntity
-
-