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 void
addAuthenticationSession(MapAuthenticationSessionEntity p0)
void
clearUpdatedFlag()
An optional operation clearing the updated flag.Optional<MapAuthenticationSessionEntity>
getAuthenticationSession(String p0)
Set<MapAuthenticationSessionEntity>
getAuthenticationSessions()
EntityFieldDelegate<MapRootAuthenticationSessionEntity>
getEntityFieldDelegate()
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 p0)
void
setAuthenticationSessions(Set<MapAuthenticationSessionEntity> p0)
void
setExpiration(Long p0)
Sets a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.void
setId(String p0)
void
setRealmId(String p0)
void
setTimestamp(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:
getEntityFieldDelegate
in interfaceHasEntityFieldDelegate<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
- Overrides:
isUpdated
in classMapRootAuthenticationSessionEntity.AbstractRootAuthenticationSessionEntity
- Returns:
-
clearUpdatedFlag
public void clearUpdatedFlag()
Description copied from interface:UpdatableEntity
An optional operation clearing the updated flag. Right after using this method, theUpdatableEntity.isUpdated()
would returnfalse
.- Specified by:
clearUpdatedFlag
in interfaceUpdatableEntity
- Overrides:
clearUpdatedFlag
in classMapRootAuthenticationSessionEntity.AbstractRootAuthenticationSessionEntity
-
getId
public String getId()
- Specified by:
getId
in interfaceAbstractEntity
- Overrides:
getId
in classMapRootAuthenticationSessionEntity.AbstractRootAuthenticationSessionEntity
-
setId
public void setId(String p0)
- Specified by:
setId
in interfaceAbstractEntity
- Overrides:
setId
in classMapRootAuthenticationSessionEntity.AbstractRootAuthenticationSessionEntity
-
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 p0)
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:
p0
- 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 p0)
- 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 p0)
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:
p0
- 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> p0)
- Specified by:
setAuthenticationSessions
in interfaceMapRootAuthenticationSessionEntity
-
getAuthenticationSession
public Optional<MapAuthenticationSessionEntity> getAuthenticationSession(String p0)
- Specified by:
getAuthenticationSession
in interfaceMapRootAuthenticationSessionEntity
-
addAuthenticationSession
public void addAuthenticationSession(MapAuthenticationSessionEntity p0)
- Specified by:
addAuthenticationSession
in interfaceMapRootAuthenticationSessionEntity
-
removeAuthenticationSession
public Boolean removeAuthenticationSession(String p0)
- Specified by:
removeAuthenticationSession
in interfaceMapRootAuthenticationSessionEntity
-
-