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.AbstractAuthEventEntity
-
Nested classes/interfaces inherited from interface org.keycloak.models.map.common.UpdatableEntity
UpdatableEntity.Impl
-
-
Field Summary
Fields Modifier and Type Field Description static MapAuthEventEntityImpl.EmptyINSTANCE-
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 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.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 MapAuthEventEntityImpl.Empty INSTANCE
-
-
Method Detail
-
setId
public void setId(String id)
- Specified by:
setIdin interfaceAbstractEntity- Overrides:
setIdin classMapAuthEventEntity.AbstractAuthEventEntity
-
getId
public String getId()
- Specified by:
getIdin interfaceAbstractEntity- Overrides:
getIdin classMapAuthEventEntity.AbstractAuthEventEntity
-
getClientId
public String getClientId()
- Specified by:
getClientIdin interfaceMapAuthEventEntity
-
setClientId
public void setClientId(String clientId)
- Specified by:
setClientIdin interfaceMapAuthEventEntity
-
setDetails
public void setDetails(Map<String,String> details)
- Specified by:
setDetailsin interfaceMapAuthEventEntity
-
getDetails
public Map<String,String> getDetails()
- Specified by:
getDetailsin interfaceMapAuthEventEntity
-
getError
public String getError()
- Specified by:
getErrorin interfaceMapAuthEventEntity
-
setError
public void setError(String error)
- Specified by:
setErrorin interfaceMapAuthEventEntity
-
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.
-
getIpAddress
public String getIpAddress()
- Specified by:
getIpAddressin interfaceMapAuthEventEntity
-
setIpAddress
public void setIpAddress(String ipAddress)
- Specified by:
setIpAddressin interfaceMapAuthEventEntity
-
getRealmId
public String getRealmId()
- Specified by:
getRealmIdin interfaceMapAuthEventEntity
-
setRealmId
public void setRealmId(String realmId)
- Specified by:
setRealmIdin interfaceMapAuthEventEntity
-
setSessionId
public void setSessionId(String sessionId)
- Specified by:
setSessionIdin interfaceMapAuthEventEntity
-
getSessionId
public String getSessionId()
- Specified by:
getSessionIdin interfaceMapAuthEventEntity
-
getTimestamp
public 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 interfaceMapAuthEventEntity- Returns:
- a timestamp in milliseconds since The Epoch or
nullwhen the time is unknown
-
setTimestamp
public 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 interfaceMapAuthEventEntity- Parameters:
timestamp- a timestamp in milliseconds since The Epoch ornullwhen the time is unknown
-
setType
public void setType(EventType type)
- Specified by:
setTypein interfaceMapAuthEventEntity
-
getType
public EventType getType()
- Specified by:
getTypein interfaceMapAuthEventEntity
-
getUserId
public String getUserId()
- Specified by:
getUserIdin interfaceMapAuthEventEntity
-
setUserId
public void setUserId(String userId)
- 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:
-
-