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.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 MapUserSessionEntityFieldDelegate(EntityFieldDelegate<MapUserSessionEntity> entityFieldDelegate)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAuthenticatedClientSession(MapAuthenticatedClientSessionEntity p0)voidclearUpdatedFlag()An optional operation clearing the updated flag.Optional<MapAuthenticatedClientSessionEntity>getAuthenticatedClientSession(String p0)Set<MapAuthenticatedClientSessionEntity>getAuthenticatedClientSessions()StringgetAuthMethod()StringgetBrokerSessionId()StringgetBrokerUserId()EntityFieldDelegate<MapUserSessionEntity>getEntityFieldDelegate()LonggetExpiration()Returns a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.StringgetId()StringgetIpAddress()LonggetLastSessionRefresh()Returns a point in time (timestamp in milliseconds since The Epoch) when the user session entity was last refreshed.StringgetLoginUsername()StringgetNote(String p0)Map<String,String>getNotes()UserSessionModel.SessionPersistenceStategetPersistenceState()StringgetRealmId()UserSessionModel.StategetState()LonggetTimestamp()Returns a point in time (timestamp in milliseconds since The Epoch) when the user session entity was created.StringgetUserId()BooleanisOffline()BooleanisRememberMe()booleanisUpdated()Flag signalizing that any of the setters has been meaningfully used.BooleanremoveAuthenticatedClientSession(String p0)BooleanremoveNote(String p0)voidsetAuthMethod(String p0)voidsetBrokerSessionId(String p0)voidsetBrokerUserId(String p0)voidsetExpiration(Long p0)Sets a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.voidsetId(String p0)voidsetIpAddress(String p0)voidsetLastSessionRefresh(Long p0)Sets a point in the (timestamp in milliseconds since The Epoch) when the user session entity was last refreshed.voidsetLoginUsername(String p0)voidsetNote(String p0, String p1)voidsetNotes(Map<String,String> p0)voidsetOffline(Boolean p0)voidsetPersistenceState(UserSessionModel.SessionPersistenceState p0)voidsetRealmId(String p0)voidsetRememberMe(Boolean p0)voidsetState(UserSessionModel.State p0)voidsetTimestamp(Long p0)Sets a point in the (timestamp in milliseconds since The Epoch) when the user session entity was created.voidsetUserId(String p0)- 
Methods inherited from class org.keycloak.models.map.userSession.MapUserSessionEntity.AbstractUserSessionEntityclearAuthenticatedClientSessions
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.keycloak.models.map.userSession.MapUserSessionEntityclearAuthenticatedClientSessions
 
- 
 
- 
- 
- 
Constructor Detail- 
MapUserSessionEntityFieldDelegatepublic MapUserSessionEntityFieldDelegate(EntityFieldDelegate<MapUserSessionEntity> entityFieldDelegate) 
 
- 
 - 
Method Detail- 
getEntityFieldDelegatepublic EntityFieldDelegate<MapUserSessionEntity> getEntityFieldDelegate() - Specified by:
- getEntityFieldDelegatein interface- HasEntityFieldDelegate<MapUserSessionEntity>
 
 - 
isUpdatedpublic boolean isUpdated() Description copied from interface:UpdatableEntityFlag signalizing that any of the setters has been meaningfully used.- Specified by:
- isUpdatedin interface- UpdatableEntity
- Overrides:
- isUpdatedin class- MapUserSessionEntity.AbstractUserSessionEntity
- Returns:
 
 - 
clearUpdatedFlagpublic void clearUpdatedFlag() Description copied from interface:UpdatableEntityAn optional operation clearing the updated flag. Right after using this method, theUpdatableEntity.isUpdated()would returnfalse.- Specified by:
- clearUpdatedFlagin interface- UpdatableEntity
- Overrides:
- clearUpdatedFlagin class- MapUserSessionEntity.AbstractUserSessionEntity
 
 - 
getIdpublic String getId() - Specified by:
- getIdin interface- AbstractEntity
- Overrides:
- getIdin class- MapUserSessionEntity.AbstractUserSessionEntity
 
 - 
setIdpublic void setId(String p0) - Specified by:
- setIdin interface- AbstractEntity
- Overrides:
- setIdin class- MapUserSessionEntity.AbstractUserSessionEntity
 
 - 
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.
 
 - 
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.
 
 - 
getRealmIdpublic String getRealmId() - Specified by:
- getRealmIdin interface- MapUserSessionEntity
 
 - 
setRealmIdpublic void setRealmId(String p0) - Specified by:
- setRealmIdin interface- MapUserSessionEntity
 
 - 
getUserIdpublic String getUserId() - Specified by:
- getUserIdin interface- MapUserSessionEntity
 
 - 
setUserIdpublic void setUserId(String p0) - Specified by:
- setUserIdin interface- MapUserSessionEntity
 
 - 
getBrokerSessionIdpublic String getBrokerSessionId() - Specified by:
- getBrokerSessionIdin interface- MapUserSessionEntity
 
 - 
setBrokerSessionIdpublic void setBrokerSessionId(String p0) - Specified by:
- setBrokerSessionIdin interface- MapUserSessionEntity
 
 - 
getBrokerUserIdpublic String getBrokerUserId() - Specified by:
- getBrokerUserIdin interface- MapUserSessionEntity
 
 - 
setBrokerUserIdpublic void setBrokerUserId(String p0) - Specified by:
- setBrokerUserIdin interface- MapUserSessionEntity
 
 - 
getLoginUsernamepublic String getLoginUsername() - Specified by:
- getLoginUsernamein interface- MapUserSessionEntity
 
 - 
setLoginUsernamepublic void setLoginUsername(String p0) - Specified by:
- setLoginUsernamein interface- MapUserSessionEntity
 
 - 
getIpAddresspublic String getIpAddress() - Specified by:
- getIpAddressin interface- MapUserSessionEntity
 
 - 
setIpAddresspublic void setIpAddress(String p0) - Specified by:
- setIpAddressin interface- MapUserSessionEntity
 
 - 
getAuthMethodpublic String getAuthMethod() - Specified by:
- getAuthMethodin interface- MapUserSessionEntity
 
 - 
setAuthMethodpublic void setAuthMethod(String p0) - Specified by:
- setAuthMethodin interface- MapUserSessionEntity
 
 - 
isRememberMepublic Boolean isRememberMe() - Specified by:
- isRememberMein interface- MapUserSessionEntity
 
 - 
setRememberMepublic void setRememberMe(Boolean p0) - Specified by:
- setRememberMein interface- MapUserSessionEntity
 
 - 
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
 
 - 
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
 
 - 
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
 
 - 
getNotespublic Map<String,String> getNotes() - Specified by:
- getNotesin interface- MapUserSessionEntity
 
 - 
getNotepublic String getNote(String p0) - Specified by:
- getNotein interface- MapUserSessionEntity
 
 - 
setNotespublic void setNotes(Map<String,String> p0) - Specified by:
- setNotesin interface- MapUserSessionEntity
 
 - 
removeNotepublic Boolean removeNote(String p0) - Specified by:
- removeNotein interface- MapUserSessionEntity
 
 - 
setNotepublic void setNote(String p0, String p1) - Specified by:
- setNotein interface- MapUserSessionEntity
 
 - 
getStatepublic UserSessionModel.State getState() - Specified by:
- getStatein interface- MapUserSessionEntity
 
 - 
setStatepublic void setState(UserSessionModel.State p0) - Specified by:
- setStatein interface- MapUserSessionEntity
 
 - 
getAuthenticatedClientSessionspublic Set<MapAuthenticatedClientSessionEntity> getAuthenticatedClientSessions() - Specified by:
- getAuthenticatedClientSessionsin interface- MapUserSessionEntity
 
 - 
getAuthenticatedClientSessionpublic Optional<MapAuthenticatedClientSessionEntity> getAuthenticatedClientSession(String p0) - Specified by:
- getAuthenticatedClientSessionin interface- MapUserSessionEntity
 
 - 
addAuthenticatedClientSessionpublic void addAuthenticatedClientSession(MapAuthenticatedClientSessionEntity p0) - Specified by:
- addAuthenticatedClientSessionin interface- MapUserSessionEntity
 
 - 
removeAuthenticatedClientSessionpublic Boolean removeAuthenticatedClientSession(String p0) - Specified by:
- removeAuthenticatedClientSessionin 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
 
 
- 
 
-