Class MapUserSessionEntityDelegate
java.lang.Object
org.keycloak.models.map.userSession.MapUserSessionEntityDelegate
- All Implemented Interfaces:
AbstractEntity,HasDelegateProvider<MapUserSessionEntity>,ExpirableEntity,UpdatableEntity,MapUserSessionEntity
@Generated("org.keycloak.models.map.processor.GenerateEntityImplementationsProcessor")
public class MapUserSessionEntityDelegate
extends Object
implements MapUserSessionEntity, HasDelegateProvider<MapUserSessionEntity>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.keycloak.models.map.userSession.MapUserSessionEntity
MapUserSessionEntity.AbstractUserSessionEntityNested classes/interfaces inherited from interface org.keycloak.models.map.common.UpdatableEntity
UpdatableEntity.Impl -
Constructor Summary
ConstructorsConstructorDescriptionMapUserSessionEntityDelegate(DelegateProvider<MapUserSessionEntity> delegateProvider) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAuthenticatedClientSession(MapAuthenticatedClientSessionEntity clientSession) voidgetAuthenticatedClientSession(String clientUUID) 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.booleanFlag signalizing that any of the setters has been meaningfully used.removeAuthenticatedClientSession(String clientUUID) removeNote(String name) voidsetAuthMethod(String authMethod) voidsetBrokerSessionId(String brokerSessionId) voidsetBrokerUserId(String brokerUserId) voidsetExpiration(Long expiration) Sets a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.voidvoidsetIpAddress(String ipAddress) voidsetLastSessionRefresh(Long lastSessionRefresh) Sets a point in the (timestamp in milliseconds since The Epoch) when the user session entity was last refreshed.voidsetLoginUsername(String loginUsername) voidvoidvoidsetOffline(Boolean offline) voidsetPersistenceState(UserSessionModel.SessionPersistenceState persistenceState) voidsetRealmId(String realmId) voidsetRememberMe(Boolean rememberMe) voidsetState(UserSessionModel.State state) voidsetTimestamp(Long timestamp) Sets a point in the (timestamp in milliseconds since The Epoch) when the user session entity was created.voidtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.keycloak.models.map.common.UpdatableEntity
clearUpdatedFlag, markUpdatedFlag
-
Constructor Details
-
MapUserSessionEntityDelegate
-
-
Method Details
-
getDelegateProvider
- Specified by:
getDelegateProviderin interfaceHasDelegateProvider<MapUserSessionEntity>
-
toString
-
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
- Specified by:
getIdin interfaceAbstractEntity
-
setId
- Specified by:
setIdin interfaceAbstractEntity
-
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
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:
expiration- a timestamp in milliseconds since The Epoch ornullif this entity never expires.
-
getRealmId
- Specified by:
getRealmIdin interfaceMapUserSessionEntity
-
setRealmId
- Specified by:
setRealmIdin interfaceMapUserSessionEntity
-
getUserId
- Specified by:
getUserIdin interfaceMapUserSessionEntity
-
setUserId
- Specified by:
setUserIdin interfaceMapUserSessionEntity
-
getBrokerSessionId
- Specified by:
getBrokerSessionIdin interfaceMapUserSessionEntity
-
setBrokerSessionId
- Specified by:
setBrokerSessionIdin interfaceMapUserSessionEntity
-
getBrokerUserId
- Specified by:
getBrokerUserIdin interfaceMapUserSessionEntity
-
setBrokerUserId
- Specified by:
setBrokerUserIdin interfaceMapUserSessionEntity
-
getLoginUsername
- Specified by:
getLoginUsernamein interfaceMapUserSessionEntity
-
setLoginUsername
- Specified by:
setLoginUsernamein interfaceMapUserSessionEntity
-
getIpAddress
- Specified by:
getIpAddressin interfaceMapUserSessionEntity
-
setIpAddress
- Specified by:
setIpAddressin interfaceMapUserSessionEntity
-
getAuthMethod
- Specified by:
getAuthMethodin interfaceMapUserSessionEntity
-
setAuthMethod
- Specified by:
setAuthMethodin interfaceMapUserSessionEntity
-
isRememberMe
- Specified by:
isRememberMein interfaceMapUserSessionEntity
-
setRememberMe
- Specified by:
setRememberMein interfaceMapUserSessionEntity
-
getTimestamp
Description copied from interface:MapUserSessionEntityReturns a point in time (timestamp in milliseconds since The Epoch) when the user session entity was created.- Specified by:
getTimestampin interfaceMapUserSessionEntity- Returns:
- a timestamp in milliseconds since The Epoch or
nullwhen the time is unknown
-
setTimestamp
Description copied from interface:MapUserSessionEntitySets a point in the (timestamp in milliseconds since The Epoch) when the user session entity was created.- Specified by:
setTimestampin interfaceMapUserSessionEntity- Parameters:
timestamp- a timestamp in milliseconds since The Epoch ornullwhen the time is unknown
-
getLastSessionRefresh
Description copied from interface:MapUserSessionEntityReturns a point in time (timestamp in milliseconds since The Epoch) when the user session entity was last refreshed.- Specified by:
getLastSessionRefreshin interfaceMapUserSessionEntity- Returns:
- a timestamp in milliseconds since The Epoch or
nullwhen the time is unknown
-
setLastSessionRefresh
Description copied from interface:MapUserSessionEntitySets a point in the (timestamp in milliseconds since The Epoch) when the user session entity was last refreshed.- Specified by:
setLastSessionRefreshin interfaceMapUserSessionEntity- Parameters:
lastSessionRefresh- a timestamp in milliseconds since The Epoch ornullwhen the time is unknown
-
getNotes
- Specified by:
getNotesin interfaceMapUserSessionEntity
-
getNote
- Specified by:
getNotein interfaceMapUserSessionEntity
-
setNotes
- Specified by:
setNotesin interfaceMapUserSessionEntity
-
removeNote
- Specified by:
removeNotein interfaceMapUserSessionEntity
-
setNote
- Specified by:
setNotein interfaceMapUserSessionEntity
-
getState
- Specified by:
getStatein interfaceMapUserSessionEntity
-
setState
- Specified by:
setStatein interfaceMapUserSessionEntity
-
getAuthenticatedClientSessions
- Specified by:
getAuthenticatedClientSessionsin interfaceMapUserSessionEntity
-
getAuthenticatedClientSession
public Optional<MapAuthenticatedClientSessionEntity> getAuthenticatedClientSession(String clientUUID) - Specified by:
getAuthenticatedClientSessionin interfaceMapUserSessionEntity
-
addAuthenticatedClientSession
- Specified by:
addAuthenticatedClientSessionin interfaceMapUserSessionEntity
-
removeAuthenticatedClientSession
- Specified by:
removeAuthenticatedClientSessionin interfaceMapUserSessionEntity
-
clearAuthenticatedClientSessions
public void clearAuthenticatedClientSessions()- Specified by:
clearAuthenticatedClientSessionsin interfaceMapUserSessionEntity
-
isOffline
- Specified by:
isOfflinein interfaceMapUserSessionEntity
-
setOffline
- Specified by:
setOfflinein interfaceMapUserSessionEntity
-
getPersistenceState
- Specified by:
getPersistenceStatein interfaceMapUserSessionEntity
-
setPersistenceState
- Specified by:
setPersistenceStatein interfaceMapUserSessionEntity
-