Class MapAuthenticatedClientSessionEntityImpl.Empty
java.lang.Object
org.keycloak.models.map.common.UpdatableEntity.Impl
org.keycloak.models.map.userSession.MapAuthenticatedClientSessionEntity.AbstractAuthenticatedClientSessionEntity
org.keycloak.models.map.userSession.MapAuthenticatedClientSessionEntityImpl.Empty
- All Implemented Interfaces:
AbstractEntity,ExpirableEntity,UpdatableEntity,MapAuthenticatedClientSessionEntity
- Enclosing class:
- MapAuthenticatedClientSessionEntityImpl
public static class MapAuthenticatedClientSessionEntityImpl.Empty
extends MapAuthenticatedClientSessionEntity.AbstractAuthenticatedClientSessionEntity
implements MapAuthenticatedClientSessionEntity
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.keycloak.models.map.userSession.MapAuthenticatedClientSessionEntity
MapAuthenticatedClientSessionEntity.AbstractAuthenticatedClientSessionEntityNested classes/interfaces inherited from interface org.keycloak.models.map.common.UpdatableEntity
UpdatableEntity.Impl -
Field Summary
FieldsFields inherited from class org.keycloak.models.map.common.UpdatableEntity.Impl
updated -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.getId()getNotes()Returns a point in time (timestamp in milliseconds since The Epoch) when the client session entity was created or updated (refreshed).booleanFlag signalizing that any of the setters has been meaningfully used.removeNote(String name) voidvoidsetAuthMethod(String authMethod) voidsetClientId(String clientId) voidsetCurrentRefreshToken(String currentRefreshToken) voidsetCurrentRefreshTokenUseCount(Integer currentRefreshTokenUseCount) voidsetExpiration(Long expiration) Sets a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.voidvoidvoidvoidsetOffline(Boolean offline) voidsetRealmId(String realmId) voidsetRedirectUri(String redirectUri) voidsetTimestamp(Long timestamp) Sets a point in the (timestamp in milliseconds since The Epoch) when the client session entity was created or updated (refreshed).Methods inherited from class org.keycloak.models.map.common.UpdatableEntity.Impl
clearUpdatedFlag, markUpdatedFlagMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.models.map.common.UpdatableEntity
clearUpdatedFlag, markUpdatedFlag
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
Empty
public Empty()
-
-
Method Details
-
setId
- Specified by:
setIdin interfaceAbstractEntity- Overrides:
setIdin classMapAuthenticatedClientSessionEntity.AbstractAuthenticatedClientSessionEntity
-
getId
- Specified by:
getIdin interfaceAbstractEntity- Overrides:
getIdin classMapAuthenticatedClientSessionEntity.AbstractAuthenticatedClientSessionEntity
-
getAction
- Specified by:
getActionin interfaceMapAuthenticatedClientSessionEntity
-
setAction
- Specified by:
setActionin interfaceMapAuthenticatedClientSessionEntity
-
setAuthMethod
- Specified by:
setAuthMethodin interfaceMapAuthenticatedClientSessionEntity
-
getAuthMethod
- Specified by:
getAuthMethodin interfaceMapAuthenticatedClientSessionEntity
-
getClientId
- Specified by:
getClientIdin interfaceMapAuthenticatedClientSessionEntity
-
setClientId
- Specified by:
setClientIdin interfaceMapAuthenticatedClientSessionEntity
-
getCurrentRefreshToken
- Specified by:
getCurrentRefreshTokenin interfaceMapAuthenticatedClientSessionEntity
-
setCurrentRefreshToken
- Specified by:
setCurrentRefreshTokenin interfaceMapAuthenticatedClientSessionEntity
-
setCurrentRefreshTokenUseCount
- Specified by:
setCurrentRefreshTokenUseCountin interfaceMapAuthenticatedClientSessionEntity
-
getCurrentRefreshTokenUseCount
- Specified by:
getCurrentRefreshTokenUseCountin interfaceMapAuthenticatedClientSessionEntity
-
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.
-
removeNote
- Specified by:
removeNotein interfaceMapAuthenticatedClientSessionEntity
-
setNotes
- Specified by:
setNotesin interfaceMapAuthenticatedClientSessionEntity
-
setNote
- Specified by:
setNotein interfaceMapAuthenticatedClientSessionEntity
-
getNotes
- Specified by:
getNotesin interfaceMapAuthenticatedClientSessionEntity
-
getNote
- Specified by:
getNotein interfaceMapAuthenticatedClientSessionEntity
-
setOffline
- Specified by:
setOfflinein interfaceMapAuthenticatedClientSessionEntity
-
isOffline
- Specified by:
isOfflinein interfaceMapAuthenticatedClientSessionEntity
-
getRealmId
- Specified by:
getRealmIdin interfaceMapAuthenticatedClientSessionEntity
-
setRealmId
- Specified by:
setRealmIdin interfaceMapAuthenticatedClientSessionEntity
-
setRedirectUri
- Specified by:
setRedirectUriin interfaceMapAuthenticatedClientSessionEntity
-
getRedirectUri
- Specified by:
getRedirectUriin interfaceMapAuthenticatedClientSessionEntity
-
setTimestamp
Description copied from interface:MapAuthenticatedClientSessionEntitySets a point in the (timestamp in milliseconds since The Epoch) when the client session entity was created or updated (refreshed).- Specified by:
setTimestampin interfaceMapAuthenticatedClientSessionEntity- Parameters:
timestamp- a timestamp in milliseconds since The Epoch ornullwhen the time is unknown
-
getTimestamp
Description copied from interface:MapAuthenticatedClientSessionEntityReturns a point in time (timestamp in milliseconds since The Epoch) when the client session entity was created or updated (refreshed).- Specified by:
getTimestampin interfaceMapAuthenticatedClientSessionEntity- Returns:
- a timestamp in milliseconds since The Epoch or
nullwhen the time is unknown
-
isUpdated
public boolean isUpdated()Description copied from interface:UpdatableEntityFlag signalizing that any of the setters has been meaningfully used.- Specified by:
isUpdatedin interfaceUpdatableEntity- Overrides:
isUpdatedin classUpdatableEntity.Impl- Returns:
-