Package org.keycloak.models.map.events
Class MapAuthEventEntityDelegate
- java.lang.Object
-
- org.keycloak.models.map.events.MapAuthEventEntityDelegate
-
- All Implemented Interfaces:
AbstractEntity,HasDelegateProvider<MapAuthEventEntity>,ExpirableEntity,UpdatableEntity,MapAuthEventEntity
@Generated("org.keycloak.models.map.processor.GenerateEntityImplementationsProcessor") public class MapAuthEventEntityDelegate extends Object implements MapAuthEventEntity, HasDelegateProvider<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
-
-
Constructor Summary
Constructors Constructor Description MapAuthEventEntityDelegate(DelegateProvider<MapAuthEventEntity> delegateProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetClientId()DelegateProvider<MapAuthEventEntity>getDelegateProvider()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 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
-
-
-
-
Constructor Detail
-
MapAuthEventEntityDelegate
public MapAuthEventEntityDelegate(DelegateProvider<MapAuthEventEntity> delegateProvider)
-
-
Method Detail
-
getDelegateProvider
public DelegateProvider<MapAuthEventEntity> getDelegateProvider()
- Specified by:
getDelegateProviderin interfaceHasDelegateProvider<MapAuthEventEntity>
-
isUpdated
public boolean isUpdated()
Description copied from interface:UpdatableEntityFlag signalizing that any of the setters has been meaningfully used.- Specified by:
isUpdatedin interfaceUpdatableEntity- Returns:
-
getId
public String getId()
- Specified by:
getIdin interfaceAbstractEntity
-
setId
public void setId(String id)
- Specified by:
setIdin interfaceAbstractEntity
-
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.
-
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
-
getType
public EventType getType()
- Specified by:
getTypein interfaceMapAuthEventEntity
-
setType
public void setType(EventType type)
- Specified by:
setTypein interfaceMapAuthEventEntity
-
getRealmId
public String getRealmId()
- Specified by:
getRealmIdin interfaceMapAuthEventEntity
-
setRealmId
public void setRealmId(String realmId)
- Specified by:
setRealmIdin interfaceMapAuthEventEntity
-
getClientId
public String getClientId()
- Specified by:
getClientIdin interfaceMapAuthEventEntity
-
setClientId
public void setClientId(String clientId)
- Specified by:
setClientIdin interfaceMapAuthEventEntity
-
getUserId
public String getUserId()
- Specified by:
getUserIdin interfaceMapAuthEventEntity
-
setUserId
public void setUserId(String userId)
- Specified by:
setUserIdin interfaceMapAuthEventEntity
-
getSessionId
public String getSessionId()
- Specified by:
getSessionIdin interfaceMapAuthEventEntity
-
setSessionId
public void setSessionId(String sessionId)
- Specified by:
setSessionIdin interfaceMapAuthEventEntity
-
getIpAddress
public String getIpAddress()
- Specified by:
getIpAddressin interfaceMapAuthEventEntity
-
setIpAddress
public void setIpAddress(String ipAddress)
- Specified by:
setIpAddressin interfaceMapAuthEventEntity
-
getError
public String getError()
- Specified by:
getErrorin interfaceMapAuthEventEntity
-
setError
public void setError(String error)
- Specified by:
setErrorin interfaceMapAuthEventEntity
-
getDetails
public Map<String,String> getDetails()
- Specified by:
getDetailsin interfaceMapAuthEventEntity
-
setDetails
public void setDetails(Map<String,String> details)
- Specified by:
setDetailsin interfaceMapAuthEventEntity
-
-