Class HotRodUserSessionEntityDelegate
- java.lang.Object
-
- org.keycloak.models.map.storage.hotRod.common.UpdatableHotRodEntityDelegateImpl<HotRodUserSessionEntity>
-
- org.keycloak.models.map.storage.hotRod.userSession.HotRodUserSessionEntity.AbstractHotRodUserSessionEntityDelegate
-
- org.keycloak.models.map.storage.hotRod.userSession.HotRodUserSessionEntityDelegate
-
- All Implemented Interfaces:
AbstractEntity,ExpirableEntity,UpdatableEntity,HotRodEntityDelegate<HotRodUserSessionEntity>,MapUserSessionEntity
public class HotRodUserSessionEntityDelegate extends HotRodUserSessionEntity.AbstractHotRodUserSessionEntityDelegate implements 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
-
-
Constructor Summary
Constructors Constructor Description HotRodUserSessionEntityDelegate()Deprecated.This constructor uses aDeepCloner.DUMB_CLONERthat does not clone anything.HotRodUserSessionEntityDelegate(DeepCloner cloner)HotRodUserSessionEntityDelegate(HotRodUserSessionEntity hotRodEntity)Deprecated.This constructor uses aDeepCloner.DUMB_CLONERthat does not clone anything.
-
Method Summary
-
Methods inherited from class org.keycloak.models.map.storage.hotRod.userSession.HotRodUserSessionEntity.AbstractHotRodUserSessionEntityDelegate
clearAuthenticatedClientSessions, clearUpdatedFlag, getAuthenticatedClientSession, getId, getPersistenceState, isUpdated, removeAuthenticatedClientSession, setId, setPersistenceState
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.keycloak.models.map.common.AbstractEntity
getId, setId
-
Methods inherited from interface org.keycloak.models.map.userSession.MapUserSessionEntity
clearAuthenticatedClientSessions, getAuthenticatedClientSession, getPersistenceState, removeAuthenticatedClientSession, setPersistenceState
-
Methods inherited from interface org.keycloak.models.map.common.UpdatableEntity
clearUpdatedFlag, isUpdated
-
-
-
-
Constructor Detail
-
HotRodUserSessionEntityDelegate
public HotRodUserSessionEntityDelegate()
Deprecated.This constructor uses aDeepCloner.DUMB_CLONERthat does not clone anything. UseHotRodUserSessionEntityDelegate(DeepCloner)variant instead
-
HotRodUserSessionEntityDelegate
public HotRodUserSessionEntityDelegate(HotRodUserSessionEntity hotRodEntity)
Deprecated.This constructor uses aDeepCloner.DUMB_CLONERthat does not clone anything. UseHotRodUserSessionEntityDelegate(DeepCloner)variant instead
-
HotRodUserSessionEntityDelegate
public HotRodUserSessionEntityDelegate(DeepCloner cloner)
-
-
Method Detail
-
entityHashCode
public static int entityHashCode(HotRodUserSessionEntity e)
-
deepClone
public <V> V deepClone(V obj)
-
setAuthMethod
public void setAuthMethod(String p0)
- Specified by:
setAuthMethodin interfaceMapUserSessionEntity
-
getAuthMethod
public String getAuthMethod()
- Specified by:
getAuthMethodin interfaceMapUserSessionEntity
-
getAuthenticatedClientSessions
public Set<MapAuthenticatedClientSessionEntity> getAuthenticatedClientSessions()
- Specified by:
getAuthenticatedClientSessionsin interfaceMapUserSessionEntity
-
addAuthenticatedClientSession
public void addAuthenticatedClientSession(MapAuthenticatedClientSessionEntity p0)
- Specified by:
addAuthenticatedClientSessionin interfaceMapUserSessionEntity
-
getBrokerSessionId
public String getBrokerSessionId()
- Specified by:
getBrokerSessionIdin interfaceMapUserSessionEntity
-
setBrokerSessionId
public void setBrokerSessionId(String p0)
- Specified by:
setBrokerSessionIdin interfaceMapUserSessionEntity
-
getBrokerUserId
public String getBrokerUserId()
- Specified by:
getBrokerUserIdin interfaceMapUserSessionEntity
-
setBrokerUserId
public void setBrokerUserId(String p0)
- Specified by:
setBrokerUserIdin interfaceMapUserSessionEntity
-
getExpiration
public Long getExpiration()
- Specified by:
getExpirationin interfaceExpirableEntity
-
setExpiration
public void setExpiration(Long p0)
- Specified by:
setExpirationin interfaceExpirableEntity
-
setIpAddress
public void setIpAddress(String p0)
- Specified by:
setIpAddressin interfaceMapUserSessionEntity
-
getIpAddress
public String getIpAddress()
- Specified by:
getIpAddressin interfaceMapUserSessionEntity
-
getLastSessionRefresh
public Long getLastSessionRefresh()
- Specified by:
getLastSessionRefreshin interfaceMapUserSessionEntity
-
setLastSessionRefresh
public void setLastSessionRefresh(Long p0)
- Specified by:
setLastSessionRefreshin interfaceMapUserSessionEntity
-
setLoginUsername
public void setLoginUsername(String p0)
- Specified by:
setLoginUsernamein interfaceMapUserSessionEntity
-
getLoginUsername
public String getLoginUsername()
- Specified by:
getLoginUsernamein interfaceMapUserSessionEntity
-
removeNote
public Boolean removeNote(String p0)
- Specified by:
removeNotein interfaceMapUserSessionEntity
-
getNote
public String getNote(String p0)
- Specified by:
getNotein interfaceMapUserSessionEntity
-
getNotes
public Map<String,String> getNotes()
- Specified by:
getNotesin interfaceMapUserSessionEntity
-
setNote
public void setNote(String p0, String p1)
- Specified by:
setNotein interfaceMapUserSessionEntity
-
setNotes
public void setNotes(Map<String,String> p0)
- Specified by:
setNotesin interfaceMapUserSessionEntity
-
setOffline
public void setOffline(Boolean p0)
- Specified by:
setOfflinein interfaceMapUserSessionEntity
-
isOffline
public Boolean isOffline()
- Specified by:
isOfflinein interfaceMapUserSessionEntity
-
setRealmId
public void setRealmId(String p0)
- Specified by:
setRealmIdin interfaceMapUserSessionEntity
-
getRealmId
public String getRealmId()
- Specified by:
getRealmIdin interfaceMapUserSessionEntity
-
setRememberMe
public void setRememberMe(Boolean p0)
- Specified by:
setRememberMein interfaceMapUserSessionEntity
-
isRememberMe
public Boolean isRememberMe()
- Specified by:
isRememberMein interfaceMapUserSessionEntity
-
getState
public org.keycloak.models.UserSessionModel.State getState()
- Specified by:
getStatein interfaceMapUserSessionEntity
-
setState
public void setState(org.keycloak.models.UserSessionModel.State p0)
- Specified by:
setStatein interfaceMapUserSessionEntity
-
setTimestamp
public void setTimestamp(Long p0)
- Specified by:
setTimestampin interfaceMapUserSessionEntity
-
getTimestamp
public Long getTimestamp()
- Specified by:
getTimestampin interfaceMapUserSessionEntity
-
setUserId
public void setUserId(String p0)
- Specified by:
setUserIdin interfaceMapUserSessionEntity
-
getUserId
public String getUserId()
- Specified by:
getUserIdin interfaceMapUserSessionEntity
-
getHotRodEntity
public HotRodUserSessionEntity getHotRodEntity()
- Specified by:
getHotRodEntityin interfaceHotRodEntityDelegate<HotRodUserSessionEntity>
-
-