Class MapUserSessionEntityFieldDelegate
java.lang.Object
org.keycloak.models.map.common.UpdatableEntity.Impl
org.keycloak.models.map.userSession.MapUserSessionEntity.AbstractUserSessionEntity
org.keycloak.models.map.userSession.MapUserSessionEntityFieldDelegate
- All Implemented Interfaces:
AbstractEntity
,HasEntityFieldDelegate<MapUserSessionEntity>
,ExpirableEntity
,UpdatableEntity
,MapUserSessionEntity
@Generated("org.keycloak.models.map.processor.GenerateEntityImplementationsProcessor")
public class MapUserSessionEntityFieldDelegate
extends MapUserSessionEntity.AbstractUserSessionEntity
implements MapUserSessionEntity, HasEntityFieldDelegate<MapUserSessionEntity>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.keycloak.models.map.userSession.MapUserSessionEntity
MapUserSessionEntity.AbstractUserSessionEntity
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
ConstructorDescriptionMapUserSessionEntityFieldDelegate
(EntityFieldDelegate<MapUserSessionEntity> entityFieldDelegate) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
An optional operation clearing the updated flag.Returns a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.getId()
Returns a point in time (timestamp in milliseconds since The Epoch) when the user session entity was last refreshed.getNotes()
getState()
Returns a point in time (timestamp in milliseconds since The Epoch) when the user session entity was created.boolean
Flag signalizing that any of the setters has been meaningfully used.void
An optional operation setting the updated flag.removeNote
(String p0) void
setAuthMethod
(String p0) void
void
void
setExpiration
(Long p0) Sets a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.void
void
setIpAddress
(String p0) void
Sets a point in the (timestamp in milliseconds since The Epoch) when the user session entity was last refreshed.void
void
void
void
setOffline
(Boolean p0) void
void
setRealmId
(String p0) void
setRememberMe
(Boolean p0) void
void
setTimestamp
(Long p0) Sets a point in the (timestamp in milliseconds since The Epoch) when the user session entity was created.void
toString()
Methods inherited from class org.keycloak.models.map.userSession.MapUserSessionEntity.AbstractUserSessionEntity
clearAuthenticatedClientSessions
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.keycloak.models.map.userSession.MapUserSessionEntity
clearAuthenticatedClientSessions
-
Constructor Details
-
MapUserSessionEntityFieldDelegate
public MapUserSessionEntityFieldDelegate(EntityFieldDelegate<MapUserSessionEntity> entityFieldDelegate)
-
-
Method Details
-
getEntityFieldDelegate
- Specified by:
getEntityFieldDelegate
in interfaceHasEntityFieldDelegate<MapUserSessionEntity>
-
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 classMapUserSessionEntity.AbstractUserSessionEntity
- Returns:
-
markUpdatedFlag
public void markUpdatedFlag()Description copied from interface:UpdatableEntity
An optional operation setting the updated flag. Right after using this method, theUpdatableEntity.isUpdated()
would returntrue
.- Specified by:
markUpdatedFlag
in interfaceUpdatableEntity
- Overrides:
markUpdatedFlag
in classUpdatableEntity.Impl
-
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 classMapUserSessionEntity.AbstractUserSessionEntity
-
toString
-
getId
- Specified by:
getId
in interfaceAbstractEntity
- Overrides:
getId
in classMapUserSessionEntity.AbstractUserSessionEntity
-
setId
- Specified by:
setId
in interfaceAbstractEntity
- Overrides:
setId
in classMapUserSessionEntity.AbstractUserSessionEntity
-
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
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
- Specified by:
getRealmId
in interfaceMapUserSessionEntity
-
setRealmId
- Specified by:
setRealmId
in interfaceMapUserSessionEntity
-
getUserId
- Specified by:
getUserId
in interfaceMapUserSessionEntity
-
setUserId
- Specified by:
setUserId
in interfaceMapUserSessionEntity
-
getBrokerSessionId
- Specified by:
getBrokerSessionId
in interfaceMapUserSessionEntity
-
setBrokerSessionId
- Specified by:
setBrokerSessionId
in interfaceMapUserSessionEntity
-
getBrokerUserId
- Specified by:
getBrokerUserId
in interfaceMapUserSessionEntity
-
setBrokerUserId
- Specified by:
setBrokerUserId
in interfaceMapUserSessionEntity
-
getLoginUsername
- Specified by:
getLoginUsername
in interfaceMapUserSessionEntity
-
setLoginUsername
- Specified by:
setLoginUsername
in interfaceMapUserSessionEntity
-
getIpAddress
- Specified by:
getIpAddress
in interfaceMapUserSessionEntity
-
setIpAddress
- Specified by:
setIpAddress
in interfaceMapUserSessionEntity
-
getAuthMethod
- Specified by:
getAuthMethod
in interfaceMapUserSessionEntity
-
setAuthMethod
- Specified by:
setAuthMethod
in interfaceMapUserSessionEntity
-
isRememberMe
- Specified by:
isRememberMe
in interfaceMapUserSessionEntity
-
setRememberMe
- Specified by:
setRememberMe
in interfaceMapUserSessionEntity
-
getTimestamp
Description copied from interface:MapUserSessionEntity
Returns a point in time (timestamp in milliseconds since The Epoch) when the user session entity was created.- Specified by:
getTimestamp
in interfaceMapUserSessionEntity
- Returns:
- a timestamp in milliseconds since The Epoch or
null
when the time is unknown
-
setTimestamp
Description copied from interface:MapUserSessionEntity
Sets a point in the (timestamp in milliseconds since The Epoch) when the user session entity was created.- Specified by:
setTimestamp
in interfaceMapUserSessionEntity
- Parameters:
p0
- a timestamp in milliseconds since The Epoch ornull
when the time is unknown
-
getLastSessionRefresh
Description copied from interface:MapUserSessionEntity
Returns a point in time (timestamp in milliseconds since The Epoch) when the user session entity was last refreshed.- Specified by:
getLastSessionRefresh
in interfaceMapUserSessionEntity
- Returns:
- a timestamp in milliseconds since The Epoch or
null
when the time is unknown
-
setLastSessionRefresh
Description copied from interface:MapUserSessionEntity
Sets a point in the (timestamp in milliseconds since The Epoch) when the user session entity was last refreshed.- Specified by:
setLastSessionRefresh
in interfaceMapUserSessionEntity
- Parameters:
p0
- a timestamp in milliseconds since The Epoch ornull
when the time is unknown
-
getNotes
- Specified by:
getNotes
in interfaceMapUserSessionEntity
-
getNote
- Specified by:
getNote
in interfaceMapUserSessionEntity
-
setNotes
- Specified by:
setNotes
in interfaceMapUserSessionEntity
-
removeNote
- Specified by:
removeNote
in interfaceMapUserSessionEntity
-
setNote
- Specified by:
setNote
in interfaceMapUserSessionEntity
-
getState
- Specified by:
getState
in interfaceMapUserSessionEntity
-
setState
- Specified by:
setState
in interfaceMapUserSessionEntity
-
getAuthenticatedClientSessions
- Specified by:
getAuthenticatedClientSessions
in interfaceMapUserSessionEntity
-
getAuthenticatedClientSession
- Specified by:
getAuthenticatedClientSession
in interfaceMapUserSessionEntity
-
addAuthenticatedClientSession
- Specified by:
addAuthenticatedClientSession
in interfaceMapUserSessionEntity
-
removeAuthenticatedClientSession
- Specified by:
removeAuthenticatedClientSession
in interfaceMapUserSessionEntity
-
isOffline
- Specified by:
isOffline
in interfaceMapUserSessionEntity
-
setOffline
- Specified by:
setOffline
in interfaceMapUserSessionEntity
-
getPersistenceState
- Specified by:
getPersistenceState
in interfaceMapUserSessionEntity
-
setPersistenceState
- Specified by:
setPersistenceState
in interfaceMapUserSessionEntity
-