Class MapAuthenticatedClientSessionEntityDelegate
- java.lang.Object
-
- org.keycloak.models.map.userSession.MapAuthenticatedClientSessionEntityDelegate
-
- All Implemented Interfaces:
AbstractEntity,HasDelegateProvider<MapAuthenticatedClientSessionEntity>,ExpirableEntity,UpdatableEntity,MapAuthenticatedClientSessionEntity
@Generated("org.keycloak.models.map.processor.GenerateEntityImplementationsProcessor") public class MapAuthenticatedClientSessionEntityDelegate extends Object implements MapAuthenticatedClientSessionEntity, HasDelegateProvider<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
-
-
Constructor Summary
Constructors Constructor Description MapAuthenticatedClientSessionEntityDelegate(DelegateProvider<MapAuthenticatedClientSessionEntity> delegateProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAction()StringgetAuthMethod()StringgetClientId()StringgetCurrentRefreshToken()IntegergetCurrentRefreshTokenUseCount()DelegateProvider<MapAuthenticatedClientSessionEntity>getDelegateProvider()LonggetExpiration()Returns a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.StringgetId()StringgetNote(String name)Map<String,String>getNotes()StringgetRealmId()StringgetRedirectUri()LonggetTimestamp()Returns a point in time (timestamp in milliseconds since The Epoch) when the client session entity was created or updated (refreshed).BooleanisOffline()booleanisUpdated()Flag signalizing that any of the setters has been meaningfully used.BooleanremoveNote(String name)voidsetAction(String action)voidsetAuthMethod(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.voidsetId(String id)voidsetNote(String name, String value)voidsetNotes(Map<String,String> notes)voidsetOffline(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 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
-
-
-
-
Constructor Detail
-
MapAuthenticatedClientSessionEntityDelegate
public MapAuthenticatedClientSessionEntityDelegate(DelegateProvider<MapAuthenticatedClientSessionEntity> delegateProvider)
-
-
Method Detail
-
getDelegateProvider
public DelegateProvider<MapAuthenticatedClientSessionEntity> getDelegateProvider()
- Specified by:
getDelegateProviderin interfaceHasDelegateProvider<MapAuthenticatedClientSessionEntity>
-
isUpdated
public boolean isUpdated()
Description copied from interface:UpdatableEntityFlag signalizing that any of the setters has been meaningfully used.- Specified by:
isUpdatedin interfaceUpdatableEntity- Returns:
-
getId
public String getId()
- Specified by:
getIdin interfaceAbstractEntity
-
setId
public void setId(String id)
- Specified by:
setIdin interfaceAbstractEntity
-
getExpiration
public 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 interfaceExpirableEntity- Returns:
- a timestamp in milliseconds since The Epoch or
nullif this entity never expires or expiration is not known.
-
setExpiration
public void setExpiration(Long expiration)
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.
-
getTimestamp
public Long 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
-
setTimestamp
public void setTimestamp(Long timestamp)
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
-
getRealmId
public String getRealmId()
- Specified by:
getRealmIdin interfaceMapAuthenticatedClientSessionEntity
-
setRealmId
public void setRealmId(String realmId)
- Specified by:
setRealmIdin interfaceMapAuthenticatedClientSessionEntity
-
getClientId
public String getClientId()
- Specified by:
getClientIdin interfaceMapAuthenticatedClientSessionEntity
-
setClientId
public void setClientId(String clientId)
- Specified by:
setClientIdin interfaceMapAuthenticatedClientSessionEntity
-
getAuthMethod
public String getAuthMethod()
- Specified by:
getAuthMethodin interfaceMapAuthenticatedClientSessionEntity
-
setAuthMethod
public void setAuthMethod(String authMethod)
- Specified by:
setAuthMethodin interfaceMapAuthenticatedClientSessionEntity
-
getRedirectUri
public String getRedirectUri()
- Specified by:
getRedirectUriin interfaceMapAuthenticatedClientSessionEntity
-
setRedirectUri
public void setRedirectUri(String redirectUri)
- Specified by:
setRedirectUriin interfaceMapAuthenticatedClientSessionEntity
-
getAction
public String getAction()
- Specified by:
getActionin interfaceMapAuthenticatedClientSessionEntity
-
setAction
public void setAction(String action)
- Specified by:
setActionin interfaceMapAuthenticatedClientSessionEntity
-
getNotes
public Map<String,String> getNotes()
- Specified by:
getNotesin interfaceMapAuthenticatedClientSessionEntity
-
setNotes
public void setNotes(Map<String,String> notes)
- Specified by:
setNotesin interfaceMapAuthenticatedClientSessionEntity
-
getNote
public String getNote(String name)
- Specified by:
getNotein interfaceMapAuthenticatedClientSessionEntity
-
removeNote
public Boolean removeNote(String name)
- Specified by:
removeNotein interfaceMapAuthenticatedClientSessionEntity
-
setNote
public void setNote(String name, String value)
- Specified by:
setNotein interfaceMapAuthenticatedClientSessionEntity
-
getCurrentRefreshToken
public String getCurrentRefreshToken()
- Specified by:
getCurrentRefreshTokenin interfaceMapAuthenticatedClientSessionEntity
-
setCurrentRefreshToken
public void setCurrentRefreshToken(String currentRefreshToken)
- Specified by:
setCurrentRefreshTokenin interfaceMapAuthenticatedClientSessionEntity
-
getCurrentRefreshTokenUseCount
public Integer getCurrentRefreshTokenUseCount()
- Specified by:
getCurrentRefreshTokenUseCountin interfaceMapAuthenticatedClientSessionEntity
-
setCurrentRefreshTokenUseCount
public void setCurrentRefreshTokenUseCount(Integer currentRefreshTokenUseCount)
- Specified by:
setCurrentRefreshTokenUseCountin interfaceMapAuthenticatedClientSessionEntity
-
isOffline
public Boolean isOffline()
- Specified by:
isOfflinein interfaceMapAuthenticatedClientSessionEntity
-
setOffline
public void setOffline(Boolean offline)
- Specified by:
setOfflinein interfaceMapAuthenticatedClientSessionEntity
-
-