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.MapAuthEventEntity
MapAuthEventEntity.AbstractAuthEventEntityNested 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 TypeMethodDescriptiongetError()Returns a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.getId()Returns a point in time (timestamp in milliseconds since The Epoch) when the event entity was created.getType()booleanFlag signalizing that any of the setters has been meaningfully used.voidsetClientId(String clientId) voidsetDetails(Map<String, String> details) voidvoidsetExpiration(Long expiration) Sets a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.voidvoidsetIpAddress(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.voidvoidMethods 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 classMapAuthEventEntity.AbstractAuthEventEntity
-
getId
- Specified by:
getIdin interfaceAbstractEntity- Overrides:
getIdin classMapAuthEventEntity.AbstractAuthEventEntity
-
getClientId
- Specified by:
getClientIdin interfaceMapAuthEventEntity
-
setClientId
- Specified by:
setClientIdin interfaceMapAuthEventEntity
-
setDetails
- Specified by:
setDetailsin interfaceMapAuthEventEntity
-
getDetails
- Specified by:
getDetailsin interfaceMapAuthEventEntity
-
setError
- Specified by:
setErrorin interfaceMapAuthEventEntity
-
getError
- Specified by:
getErrorin interfaceMapAuthEventEntity
-
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.
-
getIpAddress
- Specified by:
getIpAddressin interfaceMapAuthEventEntity
-
setIpAddress
- Specified by:
setIpAddressin interfaceMapAuthEventEntity
-
getRealmId
- Specified by:
getRealmIdin interfaceMapAuthEventEntity
-
setRealmId
- Specified by:
setRealmIdin interfaceMapAuthEventEntity
-
getSessionId
- Specified by:
getSessionIdin interfaceMapAuthEventEntity
-
setSessionId
- Specified by:
setSessionIdin interfaceMapAuthEventEntity
-
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 interfaceMapAuthEventEntity- Returns:
- a timestamp in milliseconds since The Epoch or
nullwhen the time is unknown
-
setTimestamp
Description copied from interface:MapAuthEventEntitySets a point in the (timestamp in milliseconds since The Epoch) when the event entity was created.- Specified by:
setTimestampin interfaceMapAuthEventEntity- Parameters:
timestamp- a timestamp in milliseconds since The Epoch ornullwhen the time is unknown
-
getType
- Specified by:
getTypein interfaceMapAuthEventEntity
-
setType
- Specified by:
setTypein interfaceMapAuthEventEntity
-
getUserId
- Specified by:
getUserIdin interfaceMapAuthEventEntity
-
setUserId
- Specified by:
setUserIdin interfaceMapAuthEventEntity
-
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:
-