Package org.keycloak.models.map.events
Class MapAuthEventEntityImpl.Empty
- java.lang.Object
- 
- org.keycloak.models.map.common.UpdatableEntity.Impl
- 
- org.keycloak.models.map.events.MapAuthEventEntity.AbstractAuthEventEntity
- 
- org.keycloak.models.map.events.MapAuthEventEntityImpl.Empty
 
 
 
- 
- All Implemented Interfaces:
- AbstractEntity,- ExpirableEntity,- UpdatableEntity,- MapAuthEventEntity
 - Enclosing class:
- MapAuthEventEntityImpl
 
 public static class MapAuthEventEntityImpl.Empty extends MapAuthEventEntity.AbstractAuthEventEntity implements MapAuthEventEntity 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface org.keycloak.models.map.events.MapAuthEventEntityMapAuthEventEntity.AbstractAuthEventEntity
 - 
Nested classes/interfaces inherited from interface org.keycloak.models.map.common.UpdatableEntityUpdatableEntity.Impl
 
- 
 - 
Field SummaryFields Modifier and Type Field Description static MapAuthEventEntityImpl.EmptyINSTANCE- 
Fields inherited from class org.keycloak.models.map.common.UpdatableEntity.Implupdated
 
- 
 - 
Constructor SummaryConstructors Constructor Description Empty()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetClientId()Map<String,String>getDetails()StringgetError()LonggetExpiration()Returns a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.StringgetId()StringgetIpAddress()StringgetRealmId()StringgetSessionId()LonggetTimestamp()Returns a point in time (timestamp in milliseconds since The Epoch) when the event entity was created.EventTypegetType()StringgetUserId()booleanisUpdated()Flag signalizing that any of the setters has been meaningfully used.voidsetClientId(String clientId)voidsetDetails(Map<String,String> details)voidsetError(String error)voidsetExpiration(Long expiration)Sets a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.voidsetId(String id)voidsetIpAddress(String ipAddress)voidsetRealmId(String realmId)voidsetSessionId(String sessionId)voidsetTimestamp(Long timestamp)Sets a point in the (timestamp in milliseconds since The Epoch) when the event entity was created.voidsetType(EventType type)voidsetUserId(String userId)- 
Methods inherited from class org.keycloak.models.map.common.UpdatableEntity.ImplclearUpdatedFlag
 - 
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.common.UpdatableEntityclearUpdatedFlag
 
- 
 
- 
- 
- 
Field Detail- 
INSTANCEpublic static final MapAuthEventEntityImpl.Empty INSTANCE 
 
- 
 - 
Method Detail- 
getIdpublic String getId() - Specified by:
- getIdin interface- AbstractEntity
- Overrides:
- getIdin class- MapAuthEventEntity.AbstractAuthEventEntity
 
 - 
setIdpublic void setId(String id) - Specified by:
- setIdin interface- AbstractEntity
- Overrides:
- setIdin class- MapAuthEventEntity.AbstractAuthEventEntity
 
 - 
getClientIdpublic String getClientId() - Specified by:
- getClientIdin interface- MapAuthEventEntity
 
 - 
setClientIdpublic void setClientId(String clientId) - Specified by:
- setClientIdin interface- MapAuthEventEntity
 
 - 
setDetailspublic void setDetails(Map<String,String> details) - Specified by:
- setDetailsin interface- MapAuthEventEntity
 
 - 
getDetailspublic Map<String,String> getDetails() - Specified by:
- getDetailsin interface- MapAuthEventEntity
 
 - 
setErrorpublic void setError(String error) - Specified by:
- setErrorin interface- MapAuthEventEntity
 
 - 
getErrorpublic String getError() - Specified by:
- getErrorin interface- MapAuthEventEntity
 
 - 
setExpirationpublic 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 interface- ExpirableEntity
- Parameters:
- expiration- a timestamp in milliseconds since The Epoch or- nullif this entity never expires.
 
 - 
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.
 
 - 
getIpAddresspublic String getIpAddress() - Specified by:
- getIpAddressin interface- MapAuthEventEntity
 
 - 
setIpAddresspublic void setIpAddress(String ipAddress) - Specified by:
- setIpAddressin interface- MapAuthEventEntity
 
 - 
getRealmIdpublic String getRealmId() - Specified by:
- getRealmIdin interface- MapAuthEventEntity
 
 - 
setRealmIdpublic void setRealmId(String realmId) - Specified by:
- setRealmIdin interface- MapAuthEventEntity
 
 - 
getSessionIdpublic String getSessionId() - Specified by:
- getSessionIdin interface- MapAuthEventEntity
 
 - 
setSessionIdpublic void setSessionId(String sessionId) - Specified by:
- setSessionIdin interface- MapAuthEventEntity
 
 - 
getTimestamppublic Long getTimestamp() Description copied from interface:MapAuthEventEntityReturns a point in time (timestamp in milliseconds since The Epoch) when the event entity was created.- Specified by:
- getTimestampin interface- MapAuthEventEntity
- Returns:
- a timestamp in milliseconds since The Epoch or nullwhen the time is unknown
 
 - 
setTimestamppublic void setTimestamp(Long timestamp) Description copied from interface:MapAuthEventEntitySets a point in the (timestamp in milliseconds since The Epoch) when the event entity was created.- Specified by:
- setTimestampin interface- MapAuthEventEntity
- Parameters:
- timestamp- a timestamp in milliseconds since The Epoch or- nullwhen the time is unknown
 
 - 
getTypepublic EventType getType() - Specified by:
- getTypein interface- MapAuthEventEntity
 
 - 
setTypepublic void setType(EventType type) - Specified by:
- setTypein interface- MapAuthEventEntity
 
 - 
getUserIdpublic String getUserId() - Specified by:
- getUserIdin interface- MapAuthEventEntity
 
 - 
setUserIdpublic void setUserId(String userId) - Specified by:
- setUserIdin interface- MapAuthEventEntity
 
 - 
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- UpdatableEntity.Impl
- Returns:
 
 
- 
 
-