Class AuditInstanceEntityImpl
java.lang.Object
org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
com.flowable.audit.engine.impl.persistence.entity.AbstractAuditEngineNoRevisionEntity
com.flowable.audit.engine.impl.persistence.entity.AuditInstanceEntityImpl
- All Implemented Interfaces:
AuditInstance
,AuditInstanceEntity
,Serializable
,Entity
public class AuditInstanceEntityImpl
extends AbstractAuditEngineNoRevisionEntity
implements AuditInstanceEntity, Serializable
- Author:
- Tijs Rademakers
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected Date
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
id, isDeleted, isInserted, isUpdated, originalPersistentState
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReference to the audit definition of this audit instance.Returns the creation timestamp of this audit instance.Returns the id of the user creating this audit instance.If this audit instance was created from an external system, this optional external id might be used to map to that external data object id, if necessary.Returns the optional payload as a byte array for this audit instance as described within theAuditDefinition
.Reference to the scope instance definition for which the audit instance was created (if available, might benull
).Reference to the optional scope instance for which the audit instance was created, if any, as this is optional, it might benull
.Type of the optional scope instance for which the audit instance was created (only, ifAuditInstance.getScopeId()
is set).Reference to the optional sub scope instance for which the audit instance was created, if any, as this is optional, it might benull
.Returns the sub type of this audit instance.Returns the id of the tenant this audit instance object belongs to.getType()
Returns the main type of this audit instance.void
setAuditDefinitionId
(String auditDefinitionId) void
setCreationTime
(Date creationTime) void
setCreatorId
(String creatorId) void
setExternalId
(String externalId) void
setPayload
(Map<String, Object> payload) void
setScopeDefinitionId
(String scopeDefinitionId) void
setScopeId
(String scopeId) void
setScopeType
(String scopeType) void
setSubScopeId
(String subScopeId) void
setSubType
(String subType) void
setTenantId
(String tenantId) void
toString()
Methods inherited from class com.flowable.audit.engine.impl.persistence.entity.AbstractAuditEngineNoRevisionEntity
getIdPrefix
Methods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
getId, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdated
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.flowable.audit.api.runtime.AuditInstance
getId
Methods inherited from interface org.flowable.common.engine.impl.persistence.entity.Entity
getId, getIdPrefix, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdated
-
Field Details
-
auditDefinitionId
-
scopeId
-
subScopeId
-
scopeType
-
scopeDefinitionId
-
externalId
-
type
-
subType
-
payload
-
creationTime
-
creatorId
-
tenantId
-
-
Constructor Details
-
AuditInstanceEntityImpl
public AuditInstanceEntityImpl()
-
-
Method Details
-
getPersistentState
- Specified by:
getPersistentState
in interfaceEntity
-
getAuditDefinitionId
Description copied from interface:AuditInstance
Reference to the audit definition of this audit instance.- Specified by:
getAuditDefinitionId
in interfaceAuditInstance
-
setAuditDefinitionId
- Specified by:
setAuditDefinitionId
in interfaceAuditInstanceEntity
-
getScopeId
Description copied from interface:AuditInstance
Reference to the optional scope instance for which the audit instance was created, if any, as this is optional, it might benull
.- Specified by:
getScopeId
in interfaceAuditInstance
-
setScopeId
- Specified by:
setScopeId
in interfaceAuditInstanceEntity
-
getSubScopeId
Description copied from interface:AuditInstance
Reference to the optional sub scope instance for which the audit instance was created, if any, as this is optional, it might benull
.- Specified by:
getSubScopeId
in interfaceAuditInstance
-
setSubScopeId
- Specified by:
setSubScopeId
in interfaceAuditInstanceEntity
-
getScopeType
Description copied from interface:AuditInstance
Type of the optional scope instance for which the audit instance was created (only, ifAuditInstance.getScopeId()
is set).- Specified by:
getScopeType
in interfaceAuditInstance
-
setScopeType
- Specified by:
setScopeType
in interfaceAuditInstanceEntity
-
getScopeDefinitionId
Description copied from interface:AuditInstance
Reference to the scope instance definition for which the audit instance was created (if available, might benull
).- Specified by:
getScopeDefinitionId
in interfaceAuditInstance
-
setScopeDefinitionId
- Specified by:
setScopeDefinitionId
in interfaceAuditInstanceEntity
-
getExternalId
Description copied from interface:AuditInstance
If this audit instance was created from an external system, this optional external id might be used to map to that external data object id, if necessary.- Specified by:
getExternalId
in interfaceAuditInstance
-
setExternalId
- Specified by:
setExternalId
in interfaceAuditInstanceEntity
-
getType
Description copied from interface:AuditInstance
Returns the main type of this audit instance. The type and sub type might later be used for easy querying and filtering of the audit stream.- Specified by:
getType
in interfaceAuditInstance
-
setType
- Specified by:
setType
in interfaceAuditInstanceEntity
-
getSubType
Description copied from interface:AuditInstance
Returns the sub type of this audit instance. The type and sub type might later be used for easy querying and filtering of the audit stream.- Specified by:
getSubType
in interfaceAuditInstance
-
setSubType
- Specified by:
setSubType
in interfaceAuditInstanceEntity
-
getPayload
Description copied from interface:AuditInstance
Returns the optional payload as a byte array for this audit instance as described within theAuditDefinition
.- Specified by:
getPayload
in interfaceAuditInstance
-
setPayload
- Specified by:
setPayload
in interfaceAuditInstanceEntity
-
getCreationTime
Description copied from interface:AuditInstance
Returns the creation timestamp of this audit instance.- Specified by:
getCreationTime
in interfaceAuditInstance
-
setCreationTime
- Specified by:
setCreationTime
in interfaceAuditInstanceEntity
-
getCreatorId
Description copied from interface:AuditInstance
Returns the id of the user creating this audit instance.- Specified by:
getCreatorId
in interfaceAuditInstance
-
setCreatorId
- Specified by:
setCreatorId
in interfaceAuditInstanceEntity
-
getTenantId
Description copied from interface:AuditInstance
Returns the id of the tenant this audit instance object belongs to.- Specified by:
getTenantId
in interfaceAuditInstance
-
setTenantId
- Specified by:
setTenantId
in interfaceAuditInstanceEntity
-
toString
-