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.AbstractAuthenticatedClientSessionEntity
-
Nested classes/interfaces inherited from interface org.keycloak.models.map.common.UpdatableEntity
UpdatableEntity.Impl
-
-
Field Summary
Fields Modifier and Type Field Description static MapAuthenticatedClientSessionEntityImpl.Empty
INSTANCE
-
Fields inherited from class org.keycloak.models.map.common.UpdatableEntity.Impl
updated
-
-
Constructor Summary
Constructors Constructor Description Empty()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAction()
String
getAuthMethod()
String
getClientId()
String
getCurrentRefreshToken()
Integer
getCurrentRefreshTokenUseCount()
Long
getExpiration()
Returns a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.String
getId()
String
getNote(String name)
Map<String,String>
getNotes()
String
getRealmId()
String
getRedirectUri()
Long
getTimestamp()
Returns a point in time (timestamp in milliseconds since The Epoch) when the client session entity was created or updated (refreshed).Boolean
isOffline()
boolean
isUpdated()
Flag signalizing that any of the setters has been meaningfully used.Boolean
removeNote(String name)
void
setAction(String action)
void
setAuthMethod(String authMethod)
void
setClientId(String clientId)
void
setCurrentRefreshToken(String currentRefreshToken)
void
setCurrentRefreshTokenUseCount(Integer currentRefreshTokenUseCount)
void
setExpiration(Long expiration)
Sets a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.void
setId(String id)
void
setNote(String name, String value)
void
setNotes(Map<String,String> notes)
void
setOffline(Boolean offline)
void
setRealmId(String realmId)
void
setRedirectUri(String redirectUri)
void
setTimestamp(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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.keycloak.models.map.common.UpdatableEntity
clearUpdatedFlag
-
-
-
-
Field Detail
-
INSTANCE
public static final MapAuthenticatedClientSessionEntityImpl.Empty INSTANCE
-
-
Method Detail
-
setId
public void setId(String id)
- Specified by:
setId
in interfaceAbstractEntity
- Overrides:
setId
in classMapAuthenticatedClientSessionEntity.AbstractAuthenticatedClientSessionEntity
-
getId
public String getId()
- Specified by:
getId
in interfaceAbstractEntity
- Overrides:
getId
in classMapAuthenticatedClientSessionEntity.AbstractAuthenticatedClientSessionEntity
-
setAction
public void setAction(String action)
- Specified by:
setAction
in interfaceMapAuthenticatedClientSessionEntity
-
getAction
public String getAction()
- Specified by:
getAction
in interfaceMapAuthenticatedClientSessionEntity
-
getAuthMethod
public String getAuthMethod()
- Specified by:
getAuthMethod
in interfaceMapAuthenticatedClientSessionEntity
-
setAuthMethod
public void setAuthMethod(String authMethod)
- Specified by:
setAuthMethod
in interfaceMapAuthenticatedClientSessionEntity
-
setClientId
public void setClientId(String clientId)
- Specified by:
setClientId
in interfaceMapAuthenticatedClientSessionEntity
-
getClientId
public String getClientId()
- Specified by:
getClientId
in interfaceMapAuthenticatedClientSessionEntity
-
getCurrentRefreshToken
public String getCurrentRefreshToken()
- Specified by:
getCurrentRefreshToken
in interfaceMapAuthenticatedClientSessionEntity
-
setCurrentRefreshToken
public void setCurrentRefreshToken(String currentRefreshToken)
- Specified by:
setCurrentRefreshToken
in interfaceMapAuthenticatedClientSessionEntity
-
getCurrentRefreshTokenUseCount
public Integer getCurrentRefreshTokenUseCount()
- Specified by:
getCurrentRefreshTokenUseCount
in interfaceMapAuthenticatedClientSessionEntity
-
setCurrentRefreshTokenUseCount
public void setCurrentRefreshTokenUseCount(Integer currentRefreshTokenUseCount)
- Specified by:
setCurrentRefreshTokenUseCount
in interfaceMapAuthenticatedClientSessionEntity
-
setExpiration
public void setExpiration(Long expiration)
Description copied from interface:ExpirableEntity
Sets a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.- Specified by:
setExpiration
in interfaceExpirableEntity
- Parameters:
expiration
- a timestamp in milliseconds since The Epoch ornull
if this entity never expires.
-
getExpiration
public Long getExpiration()
Description copied from interface:ExpirableEntity
Returns a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.- Specified by:
getExpiration
in interfaceExpirableEntity
- Returns:
- a timestamp in milliseconds since The Epoch or
null
if this entity never expires or expiration is not known.
-
getNote
public String getNote(String name)
- Specified by:
getNote
in interfaceMapAuthenticatedClientSessionEntity
-
setNote
public void setNote(String name, String value)
- Specified by:
setNote
in interfaceMapAuthenticatedClientSessionEntity
-
removeNote
public Boolean removeNote(String name)
- Specified by:
removeNote
in interfaceMapAuthenticatedClientSessionEntity
-
setNotes
public void setNotes(Map<String,String> notes)
- Specified by:
setNotes
in interfaceMapAuthenticatedClientSessionEntity
-
getNotes
public Map<String,String> getNotes()
- Specified by:
getNotes
in interfaceMapAuthenticatedClientSessionEntity
-
isOffline
public Boolean isOffline()
- Specified by:
isOffline
in interfaceMapAuthenticatedClientSessionEntity
-
setOffline
public void setOffline(Boolean offline)
- Specified by:
setOffline
in interfaceMapAuthenticatedClientSessionEntity
-
setRealmId
public void setRealmId(String realmId)
- Specified by:
setRealmId
in interfaceMapAuthenticatedClientSessionEntity
-
getRealmId
public String getRealmId()
- Specified by:
getRealmId
in interfaceMapAuthenticatedClientSessionEntity
-
getRedirectUri
public String getRedirectUri()
- Specified by:
getRedirectUri
in interfaceMapAuthenticatedClientSessionEntity
-
setRedirectUri
public void setRedirectUri(String redirectUri)
- Specified by:
setRedirectUri
in interfaceMapAuthenticatedClientSessionEntity
-
getTimestamp
public Long getTimestamp()
Description copied from interface:MapAuthenticatedClientSessionEntity
Returns a point in time (timestamp in milliseconds since The Epoch) when the client session entity was created or updated (refreshed).- Specified by:
getTimestamp
in interfaceMapAuthenticatedClientSessionEntity
- Returns:
- a timestamp in milliseconds since The Epoch or
null
when the time is unknown
-
setTimestamp
public void setTimestamp(Long timestamp)
Description copied from interface:MapAuthenticatedClientSessionEntity
Sets a point in the (timestamp in milliseconds since The Epoch) when the client session entity was created or updated (refreshed).- Specified by:
setTimestamp
in interfaceMapAuthenticatedClientSessionEntity
- Parameters:
timestamp
- a timestamp in milliseconds since The Epoch ornull
when the time is unknown
-
isUpdated
public boolean isUpdated()
Description copied from interface:UpdatableEntity
Flag signalizing that any of the setters has been meaningfully used.- Specified by:
isUpdated
in interfaceUpdatableEntity
- Overrides:
isUpdated
in classUpdatableEntity.Impl
- Returns:
-
-