Package org.keycloak.models.map.events
Class MapAdminEventEntityImpl.Empty
java.lang.Object
org.keycloak.models.map.common.UpdatableEntity.Impl
org.keycloak.models.map.events.MapAdminEventEntity.AbstractAdminEventEntity
org.keycloak.models.map.events.MapAdminEventEntityImpl.Empty
- All Implemented Interfaces:
AbstractEntity
,ExpirableEntity
,UpdatableEntity
,MapAdminEventEntity
- Enclosing class:
- MapAdminEventEntityImpl
public static class MapAdminEventEntityImpl.Empty
extends MapAdminEventEntity.AbstractAdminEventEntity
implements MapAdminEventEntity
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.keycloak.models.map.events.MapAdminEventEntity
MapAdminEventEntity.AbstractAdminEventEntity
Nested classes/interfaces inherited from interface org.keycloak.models.map.common.UpdatableEntity
UpdatableEntity.Impl
-
Field Summary
Fields inherited from class org.keycloak.models.map.common.UpdatableEntity.Impl
updated
-
Constructor Summary
-
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 was created.boolean
Flag signalizing that any of the setters has been meaningfully used.void
setAuthClientId
(String clientId) void
setAuthIpAddress
(String ipAddress) void
setAuthRealmId
(String realmId) void
setAuthUserId
(String userId) void
void
setExpiration
(Long expiration) Sets a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.void
void
setOperationType
(OperationType operationType) void
setRealmId
(String realmId) void
setRepresentation
(String representation) void
setResourcePath
(String resourcePath) void
setResourceType
(String resourceType) void
setTimestamp
(Long timestamp) Sets a point in the (timestamp in milliseconds since The Epoch) when this entity was created.Methods inherited from class org.keycloak.models.map.common.UpdatableEntity.Impl
clearUpdatedFlag, markUpdatedFlag
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, markUpdatedFlag
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
Empty
public Empty()
-
-
Method Details
-
setId
- Specified by:
setId
in interfaceAbstractEntity
- Overrides:
setId
in classMapAdminEventEntity.AbstractAdminEventEntity
-
getId
- Specified by:
getId
in interfaceAbstractEntity
- Overrides:
getId
in classMapAdminEventEntity.AbstractAdminEventEntity
-
setAuthClientId
- Specified by:
setAuthClientId
in interfaceMapAdminEventEntity
-
getAuthClientId
- Specified by:
getAuthClientId
in interfaceMapAdminEventEntity
-
setAuthIpAddress
- Specified by:
setAuthIpAddress
in interfaceMapAdminEventEntity
-
getAuthIpAddress
- Specified by:
getAuthIpAddress
in interfaceMapAdminEventEntity
-
getAuthRealmId
- Specified by:
getAuthRealmId
in interfaceMapAdminEventEntity
-
setAuthRealmId
- Specified by:
setAuthRealmId
in interfaceMapAdminEventEntity
-
getAuthUserId
- Specified by:
getAuthUserId
in interfaceMapAdminEventEntity
-
setAuthUserId
- Specified by:
setAuthUserId
in interfaceMapAdminEventEntity
-
getError
- Specified by:
getError
in interfaceMapAdminEventEntity
-
setError
- Specified by:
setError
in interfaceMapAdminEventEntity
-
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.
-
setExpiration
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.
-
getOperationType
- Specified by:
getOperationType
in interfaceMapAdminEventEntity
-
setOperationType
- Specified by:
setOperationType
in interfaceMapAdminEventEntity
-
setRealmId
- Specified by:
setRealmId
in interfaceMapAdminEventEntity
-
getRealmId
- Specified by:
getRealmId
in interfaceMapAdminEventEntity
-
getRepresentation
- Specified by:
getRepresentation
in interfaceMapAdminEventEntity
-
setRepresentation
- Specified by:
setRepresentation
in interfaceMapAdminEventEntity
-
getResourcePath
- Specified by:
getResourcePath
in interfaceMapAdminEventEntity
-
setResourcePath
- Specified by:
setResourcePath
in interfaceMapAdminEventEntity
-
getResourceType
- Specified by:
getResourceType
in interfaceMapAdminEventEntity
-
setResourceType
- Specified by:
setResourceType
in interfaceMapAdminEventEntity
-
getTimestamp
Description copied from interface:MapAdminEventEntity
Returns a point in time (timestamp in milliseconds since The Epoch) when the event was created.- Specified by:
getTimestamp
in interfaceMapAdminEventEntity
- Returns:
- a timestamp in milliseconds since The Epoch or
null
when the time is unknown
-
setTimestamp
Description copied from interface:MapAdminEventEntity
Sets a point in the (timestamp in milliseconds since The Epoch) when this entity was created.- Specified by:
setTimestamp
in interfaceMapAdminEventEntity
- 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:
-