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 Modifier and Type Field Description static MapAdminEventEntityImpl.Empty
INSTANCE
-
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 String
getAuthClientId()
String
getAuthIpAddress()
String
getAuthRealmId()
String
getAuthUserId()
String
getError()
Long
getExpiration()
Returns a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.String
getId()
OperationType
getOperationType()
String
getRealmId()
String
getRepresentation()
String
getResourcePath()
String
getResourceType()
Long
getTimestamp()
Returns a point in time (timestamp in milliseconds since The Epoch) when the event was created.boolean
isUpdated()
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
setError(String error)
void
setExpiration(Long expiration)
Sets a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.void
setId(String id)
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
-
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 MapAdminEventEntityImpl.Empty INSTANCE
-
-
Method Detail
-
setId
public void setId(String id)
- Specified by:
setId
in interfaceAbstractEntity
- Overrides:
setId
in classMapAdminEventEntity.AbstractAdminEventEntity
-
getId
public String getId()
- Specified by:
getId
in interfaceAbstractEntity
- Overrides:
getId
in classMapAdminEventEntity.AbstractAdminEventEntity
-
getAuthClientId
public String getAuthClientId()
- Specified by:
getAuthClientId
in interfaceMapAdminEventEntity
-
setAuthClientId
public void setAuthClientId(String clientId)
- Specified by:
setAuthClientId
in interfaceMapAdminEventEntity
-
setAuthIpAddress
public void setAuthIpAddress(String ipAddress)
- Specified by:
setAuthIpAddress
in interfaceMapAdminEventEntity
-
getAuthIpAddress
public String getAuthIpAddress()
- Specified by:
getAuthIpAddress
in interfaceMapAdminEventEntity
-
setAuthRealmId
public void setAuthRealmId(String realmId)
- Specified by:
setAuthRealmId
in interfaceMapAdminEventEntity
-
getAuthRealmId
public String getAuthRealmId()
- Specified by:
getAuthRealmId
in interfaceMapAdminEventEntity
-
setAuthUserId
public void setAuthUserId(String userId)
- Specified by:
setAuthUserId
in interfaceMapAdminEventEntity
-
getAuthUserId
public String getAuthUserId()
- Specified by:
getAuthUserId
in interfaceMapAdminEventEntity
-
getError
public String getError()
- Specified by:
getError
in interfaceMapAdminEventEntity
-
setError
public void setError(String error)
- Specified by:
setError
in interfaceMapAdminEventEntity
-
getExpiration
public Long 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
public void setExpiration(Long expiration)
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.
-
setOperationType
public void setOperationType(OperationType operationType)
- Specified by:
setOperationType
in interfaceMapAdminEventEntity
-
getOperationType
public OperationType getOperationType()
- Specified by:
getOperationType
in interfaceMapAdminEventEntity
-
getRealmId
public String getRealmId()
- Specified by:
getRealmId
in interfaceMapAdminEventEntity
-
setRealmId
public void setRealmId(String realmId)
- Specified by:
setRealmId
in interfaceMapAdminEventEntity
-
getRepresentation
public String getRepresentation()
- Specified by:
getRepresentation
in interfaceMapAdminEventEntity
-
setRepresentation
public void setRepresentation(String representation)
- Specified by:
setRepresentation
in interfaceMapAdminEventEntity
-
setResourcePath
public void setResourcePath(String resourcePath)
- Specified by:
setResourcePath
in interfaceMapAdminEventEntity
-
getResourcePath
public String getResourcePath()
- Specified by:
getResourcePath
in interfaceMapAdminEventEntity
-
setResourceType
public void setResourceType(String resourceType)
- Specified by:
setResourceType
in interfaceMapAdminEventEntity
-
getResourceType
public String getResourceType()
- Specified by:
getResourceType
in interfaceMapAdminEventEntity
-
getTimestamp
public Long 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
public void setTimestamp(Long timestamp)
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:
-
-