Class MapUserSessionEntityImpl
- java.lang.Object
- 
- org.keycloak.models.map.common.UpdatableEntity.Impl
- 
- org.keycloak.models.map.userSession.MapUserSessionEntity.AbstractUserSessionEntity
- 
- org.keycloak.models.map.userSession.MapUserSessionEntityImpl
 
 
 
- 
- All Implemented Interfaces:
- AbstractEntity,- ExpirableEntity,- UpdatableEntity,- MapUserSessionEntity
 - Direct Known Subclasses:
- JpaUserSessionMetadata
 
 @Generated("org.keycloak.models.map.processor.GenerateEntityImplementationsProcessor") public class MapUserSessionEntityImpl extends MapUserSessionEntity.AbstractUserSessionEntity implements MapUserSessionEntity 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classMapUserSessionEntityImpl.Empty- 
Nested classes/interfaces inherited from interface org.keycloak.models.map.userSession.MapUserSessionEntityMapUserSessionEntity.AbstractUserSessionEntity
 - 
Nested classes/interfaces inherited from interface org.keycloak.models.map.common.UpdatableEntityUpdatableEntity.Impl
 
- 
 - 
Field Summary- 
Fields inherited from class org.keycloak.models.map.common.UpdatableEntity.Implupdated
 
- 
 - 
Constructor SummaryConstructors Constructor Description MapUserSessionEntityImpl(DeepCloner cloner)
 - 
Method Summary- 
Methods inherited from class org.keycloak.models.map.userSession.MapUserSessionEntity.AbstractUserSessionEntityclearAuthenticatedClientSessions, clearUpdatedFlag, getId, isUpdated, setId
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface org.keycloak.models.map.common.AbstractEntitygetId, setId
 - 
Methods inherited from interface org.keycloak.models.map.userSession.MapUserSessionEntityclearAuthenticatedClientSessions
 - 
Methods inherited from interface org.keycloak.models.map.common.UpdatableEntityclearUpdatedFlag, isUpdated
 
- 
 
- 
- 
- 
Constructor Detail- 
MapUserSessionEntityImplpublic MapUserSessionEntityImpl(DeepCloner cloner) 
 
- 
 - 
Method Detail- 
deepClonepublic <V> V deepClone(V obj) 
 - 
setAuthMethodpublic void setAuthMethod(String p0) - Specified by:
- setAuthMethodin interface- MapUserSessionEntity
 
 - 
getAuthMethodpublic String getAuthMethod() - Specified by:
- getAuthMethodin interface- MapUserSessionEntity
 
 - 
removeAuthenticatedClientSessionpublic Boolean removeAuthenticatedClientSession(String p0) - Specified by:
- removeAuthenticatedClientSessionin interface- MapUserSessionEntity
 
 - 
addAuthenticatedClientSessionpublic void addAuthenticatedClientSession(MapAuthenticatedClientSessionEntity p0) - Specified by:
- addAuthenticatedClientSessionin interface- MapUserSessionEntity
 
 - 
getAuthenticatedClientSessionspublic Set<MapAuthenticatedClientSessionEntity> getAuthenticatedClientSessions() - Specified by:
- getAuthenticatedClientSessionsin interface- MapUserSessionEntity
 
 - 
getAuthenticatedClientSessionpublic Optional<MapAuthenticatedClientSessionEntity> getAuthenticatedClientSession(String p0) - Specified by:
- getAuthenticatedClientSessionin interface- MapUserSessionEntity
 
 - 
setBrokerSessionIdpublic void setBrokerSessionId(String p0) - Specified by:
- setBrokerSessionIdin interface- MapUserSessionEntity
 
 - 
getBrokerSessionIdpublic String getBrokerSessionId() - Specified by:
- getBrokerSessionIdin interface- MapUserSessionEntity
 
 - 
getBrokerUserIdpublic String getBrokerUserId() - Specified by:
- getBrokerUserIdin interface- MapUserSessionEntity
 
 - 
setBrokerUserIdpublic void setBrokerUserId(String p0) - Specified by:
- setBrokerUserIdin interface- MapUserSessionEntity
 
 - 
setExpirationpublic 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 interface- ExpirableEntity
- Parameters:
- p0- a timestamp in milliseconds since The Epoch or- nullif this entity never expires.
 
 - 
getExpirationpublic 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 interface- ExpirableEntity
- Returns:
- a timestamp in milliseconds since The Epoch or nullif this entity never expires or expiration is not known.
 
 - 
getIpAddresspublic String getIpAddress() - Specified by:
- getIpAddressin interface- MapUserSessionEntity
 
 - 
setIpAddresspublic void setIpAddress(String p0) - Specified by:
- setIpAddressin interface- MapUserSessionEntity
 
 - 
getLastSessionRefreshpublic Long 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 interface- MapUserSessionEntity
- Returns:
- a timestamp in milliseconds since The Epoch or nullwhen the time is unknown
 
 - 
setLastSessionRefreshpublic void setLastSessionRefresh(Long p0) 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 interface- MapUserSessionEntity
- Parameters:
- p0- a timestamp in milliseconds since The Epoch or- nullwhen the time is unknown
 
 - 
setLoginUsernamepublic void setLoginUsername(String p0) - Specified by:
- setLoginUsernamein interface- MapUserSessionEntity
 
 - 
getLoginUsernamepublic String getLoginUsername() - Specified by:
- getLoginUsernamein interface- MapUserSessionEntity
 
 - 
getNotepublic String getNote(String p0) - Specified by:
- getNotein interface- MapUserSessionEntity
 
 - 
removeNotepublic Boolean removeNote(String p0) - Specified by:
- removeNotein interface- MapUserSessionEntity
 
 - 
setNotepublic void setNote(String p0, String p1) - Specified by:
- setNotein interface- MapUserSessionEntity
 
 - 
setNotespublic void setNotes(Map<String,String> p0) - Specified by:
- setNotesin interface- MapUserSessionEntity
 
 - 
getNotespublic Map<String,String> getNotes() - Specified by:
- getNotesin interface- MapUserSessionEntity
 
 - 
isOfflinepublic Boolean isOffline() - Specified by:
- isOfflinein interface- MapUserSessionEntity
 
 - 
setOfflinepublic void setOffline(Boolean p0) - Specified by:
- setOfflinein interface- MapUserSessionEntity
 
 - 
getPersistenceStatepublic UserSessionModel.SessionPersistenceState getPersistenceState() - Specified by:
- getPersistenceStatein interface- MapUserSessionEntity
 
 - 
setPersistenceStatepublic void setPersistenceState(UserSessionModel.SessionPersistenceState p0) - Specified by:
- setPersistenceStatein interface- MapUserSessionEntity
 
 - 
setRealmIdpublic void setRealmId(String p0) - Specified by:
- setRealmIdin interface- MapUserSessionEntity
 
 - 
getRealmIdpublic String getRealmId() - Specified by:
- getRealmIdin interface- MapUserSessionEntity
 
 - 
isRememberMepublic Boolean isRememberMe() - Specified by:
- isRememberMein interface- MapUserSessionEntity
 
 - 
setRememberMepublic void setRememberMe(Boolean p0) - Specified by:
- setRememberMein interface- MapUserSessionEntity
 
 - 
setStatepublic void setState(UserSessionModel.State p0) - Specified by:
- setStatein interface- MapUserSessionEntity
 
 - 
getStatepublic UserSessionModel.State getState() - Specified by:
- getStatein interface- MapUserSessionEntity
 
 - 
setTimestamppublic void setTimestamp(Long p0) 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 interface- MapUserSessionEntity
- Parameters:
- p0- a timestamp in milliseconds since The Epoch or- nullwhen the time is unknown
 
 - 
getTimestamppublic Long 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 interface- MapUserSessionEntity
- Returns:
- a timestamp in milliseconds since The Epoch or nullwhen the time is unknown
 
 - 
getUserIdpublic String getUserId() - Specified by:
- getUserIdin interface- MapUserSessionEntity
 
 - 
setUserIdpublic void setUserId(String p0) - Specified by:
- setUserIdin interface- MapUserSessionEntity
 
 
- 
 
-