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 Summary
Nested ClassesNested 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 -
Field Summary
Fields inherited from class org.keycloak.models.map.common.UpdatableEntity.Impl
updated -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid<V> VdeepClone(V obj) booleanReturns a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.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.inthashCode()removeNote(String p0) voidsetAuthMethod(String p0) voidvoidvoidsetExpiration(Long p0) Sets a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.voidsetIpAddress(String p0) voidSets a point in the (timestamp in milliseconds since The Epoch) when the user session entity was last refreshed.voidvoidvoidvoidsetOffline(Boolean p0) voidvoidsetRealmId(String p0) voidsetRememberMe(Boolean p0) voidvoidsetTimestamp(Long p0) Sets a point in the (timestamp in milliseconds since The Epoch) when the user session entity was created.voidtoString()Methods inherited from class org.keycloak.models.map.userSession.MapUserSessionEntity.AbstractUserSessionEntity
clearAuthenticatedClientSessions, clearUpdatedFlag, getId, isUpdated, setIdMethods inherited from class org.keycloak.models.map.common.UpdatableEntity.Impl
markUpdatedFlagMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.keycloak.models.map.common.AbstractEntity
getId, setIdMethods inherited from interface org.keycloak.models.map.userSession.MapUserSessionEntity
clearAuthenticatedClientSessionsMethods inherited from interface org.keycloak.models.map.common.UpdatableEntity
clearUpdatedFlag, isUpdated, markUpdatedFlag
-
Constructor Details
-
MapUserSessionEntityImpl
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
toString
-
deepClone
public <V> V deepClone(V obj) -
getAuthMethod
- Specified by:
getAuthMethodin interfaceMapUserSessionEntity
-
setAuthMethod
- Specified by:
setAuthMethodin interfaceMapUserSessionEntity
-
removeAuthenticatedClientSession
- Specified by:
removeAuthenticatedClientSessionin interfaceMapUserSessionEntity
-
getAuthenticatedClientSessions
- Specified by:
getAuthenticatedClientSessionsin interfaceMapUserSessionEntity
-
getAuthenticatedClientSession
- Specified by:
getAuthenticatedClientSessionin interfaceMapUserSessionEntity
-
addAuthenticatedClientSession
- Specified by:
addAuthenticatedClientSessionin interfaceMapUserSessionEntity
-
getBrokerSessionId
- Specified by:
getBrokerSessionIdin interfaceMapUserSessionEntity
-
setBrokerSessionId
- Specified by:
setBrokerSessionIdin interfaceMapUserSessionEntity
-
setBrokerUserId
- Specified by:
setBrokerUserIdin interfaceMapUserSessionEntity
-
getBrokerUserId
- Specified by:
getBrokerUserIdin interfaceMapUserSessionEntity
-
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:
p0- a timestamp in milliseconds since The Epoch ornullif this entity never expires.
-
getIpAddress
- Specified by:
getIpAddressin interfaceMapUserSessionEntity
-
setIpAddress
- Specified by:
setIpAddressin interfaceMapUserSessionEntity
-
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:
p0- a timestamp in milliseconds since The Epoch ornullwhen the time is unknown
-
getLoginUsername
- Specified by:
getLoginUsernamein interfaceMapUserSessionEntity
-
setLoginUsername
- Specified by:
setLoginUsernamein interfaceMapUserSessionEntity
-
getNotes
- Specified by:
getNotesin interfaceMapUserSessionEntity
-
setNotes
- Specified by:
setNotesin interfaceMapUserSessionEntity
-
removeNote
- Specified by:
removeNotein interfaceMapUserSessionEntity
-
getNote
- Specified by:
getNotein interfaceMapUserSessionEntity
-
setNote
- Specified by:
setNotein interfaceMapUserSessionEntity
-
setOffline
- Specified by:
setOfflinein interfaceMapUserSessionEntity
-
isOffline
- Specified by:
isOfflinein interfaceMapUserSessionEntity
-
setPersistenceState
- Specified by:
setPersistenceStatein interfaceMapUserSessionEntity
-
getPersistenceState
- Specified by:
getPersistenceStatein interfaceMapUserSessionEntity
-
getRealmId
- Specified by:
getRealmIdin interfaceMapUserSessionEntity
-
setRealmId
- Specified by:
setRealmIdin interfaceMapUserSessionEntity
-
setRememberMe
- Specified by:
setRememberMein interfaceMapUserSessionEntity
-
isRememberMe
- Specified by:
isRememberMein interfaceMapUserSessionEntity
-
setState
- Specified by:
setStatein interfaceMapUserSessionEntity
-
getState
- Specified by:
getStatein interfaceMapUserSessionEntity
-
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:
p0- a timestamp in milliseconds since The Epoch ornullwhen the time is unknown
-
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
-
setUserId
- Specified by:
setUserIdin interfaceMapUserSessionEntity
-
getUserId
- Specified by:
getUserIdin interfaceMapUserSessionEntity
-