Class MapRootAuthenticationSessionEntityFieldDelegate
- java.lang.Object
-
- org.keycloak.models.map.common.UpdatableEntity.Impl
-
- org.keycloak.models.map.authSession.MapRootAuthenticationSessionEntity.AbstractRootAuthenticationSessionEntity
-
- org.keycloak.models.map.authSession.MapRootAuthenticationSessionEntityFieldDelegate
-
- All Implemented Interfaces:
MapRootAuthenticationSessionEntity,AbstractEntity,HasEntityFieldDelegate<MapRootAuthenticationSessionEntity>,ExpirableEntity,UpdatableEntity
@Generated("org.keycloak.models.map.processor.GenerateEntityImplementationsProcessor") public class MapRootAuthenticationSessionEntityFieldDelegate extends MapRootAuthenticationSessionEntity.AbstractRootAuthenticationSessionEntity implements MapRootAuthenticationSessionEntity, HasEntityFieldDelegate<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 MapRootAuthenticationSessionEntityFieldDelegate(EntityFieldDelegate<MapRootAuthenticationSessionEntity> entityFieldDelegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAuthenticationSession(MapAuthenticationSessionEntity p0)voidclearUpdatedFlag()An optional operation clearing the updated flag.Optional<MapAuthenticationSessionEntity>getAuthenticationSession(String p0)Set<MapAuthenticationSessionEntity>getAuthenticationSessions()EntityFieldDelegate<MapRootAuthenticationSessionEntity>getEntityFieldDelegate()LonggetExpiration()Returns a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.StringgetId()StringgetRealmId()LonggetTimestamp()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.booleanisUpdated()Flag signalizing that any of the setters has been meaningfully used.BooleanremoveAuthenticationSession(String p0)voidsetAuthenticationSessions(Set<MapAuthenticationSessionEntity> p0)voidsetExpiration(Long p0)Sets a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.voidsetId(String p0)voidsetRealmId(String p0)voidsetTimestamp(Long p0)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.
-
-
-
Constructor Detail
-
MapRootAuthenticationSessionEntityFieldDelegate
public MapRootAuthenticationSessionEntityFieldDelegate(EntityFieldDelegate<MapRootAuthenticationSessionEntity> entityFieldDelegate)
-
-
Method Detail
-
getEntityFieldDelegate
public EntityFieldDelegate<MapRootAuthenticationSessionEntity> getEntityFieldDelegate()
- Specified by:
getEntityFieldDelegatein interfaceHasEntityFieldDelegate<MapRootAuthenticationSessionEntity>
-
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 classMapRootAuthenticationSessionEntity.AbstractRootAuthenticationSessionEntity- 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 classMapRootAuthenticationSessionEntity.AbstractRootAuthenticationSessionEntity
-
getId
public String getId()
- Specified by:
getIdin interfaceAbstractEntity- Overrides:
getIdin classMapRootAuthenticationSessionEntity.AbstractRootAuthenticationSessionEntity
-
setId
public void setId(String p0)
- Specified by:
setIdin interfaceAbstractEntity- Overrides:
setIdin classMapRootAuthenticationSessionEntity.AbstractRootAuthenticationSessionEntity
-
getExpiration
public Long getExpiration()
Description copied from interface:ExpirableEntityReturns a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.- Specified by:
getExpirationin interfaceExpirableEntity- Returns:
- a timestamp in milliseconds since The Epoch or
nullif this entity never expires or expiration is not known.
-
setExpiration
public void setExpiration(Long p0)
Description copied from interface:ExpirableEntitySets a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.- Specified by:
setExpirationin interfaceExpirableEntity- Parameters:
p0- a timestamp in milliseconds since The Epoch ornullif this entity never expires.
-
getRealmId
public String getRealmId()
- Specified by:
getRealmIdin interfaceMapRootAuthenticationSessionEntity
-
setRealmId
public void setRealmId(String p0)
- Specified by:
setRealmIdin interfaceMapRootAuthenticationSessionEntity
-
getTimestamp
public Long getTimestamp()
Description copied from interface:MapRootAuthenticationSessionEntityReturns 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:
getTimestampin interfaceMapRootAuthenticationSessionEntity- Returns:
- a timestamp in milliseconds since The Epoch or
nullwhen the time is unknown
-
setTimestamp
public void setTimestamp(Long p0)
Description copied from interface:MapRootAuthenticationSessionEntitySets 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:
setTimestampin interfaceMapRootAuthenticationSessionEntity- Parameters:
p0- a timestamp in milliseconds since The Epoch ornullwhen the time is unknown
-
getAuthenticationSessions
public Set<MapAuthenticationSessionEntity> getAuthenticationSessions()
- Specified by:
getAuthenticationSessionsin interfaceMapRootAuthenticationSessionEntity
-
setAuthenticationSessions
public void setAuthenticationSessions(Set<MapAuthenticationSessionEntity> p0)
- Specified by:
setAuthenticationSessionsin interfaceMapRootAuthenticationSessionEntity
-
getAuthenticationSession
public Optional<MapAuthenticationSessionEntity> getAuthenticationSession(String p0)
- Specified by:
getAuthenticationSessionin interfaceMapRootAuthenticationSessionEntity
-
addAuthenticationSession
public void addAuthenticationSession(MapAuthenticationSessionEntity p0)
- Specified by:
addAuthenticationSessionin interfaceMapRootAuthenticationSessionEntity
-
removeAuthenticationSession
public Boolean removeAuthenticationSession(String p0)
- Specified by:
removeAuthenticationSessionin interfaceMapRootAuthenticationSessionEntity
-
-