Class MapRootAuthenticationSessionEntityDelegate
- java.lang.Object
-
- org.keycloak.models.map.authSession.MapRootAuthenticationSessionEntityDelegate
-
- All Implemented Interfaces:
MapRootAuthenticationSessionEntity
,AbstractEntity
,HasDelegateProvider<MapRootAuthenticationSessionEntity>
,ExpirableEntity
,UpdatableEntity
@Generated("org.keycloak.models.map.processor.GenerateEntityImplementationsProcessor") public class MapRootAuthenticationSessionEntityDelegate extends Object implements MapRootAuthenticationSessionEntity, HasDelegateProvider<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 void
addAuthenticationSession(MapAuthenticationSessionEntity authenticationSession)
Optional<MapAuthenticationSessionEntity>
getAuthenticationSession(String tabId)
Set<MapAuthenticationSessionEntity>
getAuthenticationSessions()
DelegateProvider<MapRootAuthenticationSessionEntity>
getDelegateProvider()
Long
getExpiration()
Returns a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.String
getId()
String
getRealmId()
Long
getTimestamp()
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
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)
Sets a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.void
setId(String id)
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 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
-
getDelegateProvider
public DelegateProvider<MapRootAuthenticationSessionEntity> getDelegateProvider()
- Specified by:
getDelegateProvider
in interfaceHasDelegateProvider<MapRootAuthenticationSessionEntity>
-
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
- Returns:
-
getId
public String getId()
- Specified by:
getId
in interfaceAbstractEntity
-
setId
public void setId(String id)
- Specified by:
setId
in interfaceAbstractEntity
-
getExpiration
public Long 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
public void setExpiration(Long expiration)
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
public String getRealmId()
- Specified by:
getRealmId
in interfaceMapRootAuthenticationSessionEntity
-
setRealmId
public void setRealmId(String realmId)
- Specified by:
setRealmId
in interfaceMapRootAuthenticationSessionEntity
-
getTimestamp
public Long 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
-
setTimestamp
public void setTimestamp(Long timestamp)
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
-
getAuthenticationSessions
public Set<MapAuthenticationSessionEntity> getAuthenticationSessions()
- Specified by:
getAuthenticationSessions
in interfaceMapRootAuthenticationSessionEntity
-
setAuthenticationSessions
public void setAuthenticationSessions(Set<MapAuthenticationSessionEntity> authenticationSessions)
- Specified by:
setAuthenticationSessions
in interfaceMapRootAuthenticationSessionEntity
-
getAuthenticationSession
public Optional<MapAuthenticationSessionEntity> getAuthenticationSession(String tabId)
- Specified by:
getAuthenticationSession
in interfaceMapRootAuthenticationSessionEntity
-
addAuthenticationSession
public void addAuthenticationSession(MapAuthenticationSessionEntity authenticationSession)
- Specified by:
addAuthenticationSession
in interfaceMapRootAuthenticationSessionEntity
-
removeAuthenticationSession
public Boolean removeAuthenticationSession(String tabId)
- Specified by:
removeAuthenticationSession
in interfaceMapRootAuthenticationSessionEntity
-
-