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
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Dateprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected StringFields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
id, isDeleted, isInserted, isUpdated, originalPersistentState -
Constructor Summary
Constructors -
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.voidsetAuditDefinitionId(String auditDefinitionId) voidsetCreationTime(Date creationTime) voidsetCreatorId(String creatorId) voidsetExternalId(String externalId) voidsetPayload(Map<String, Object> payload) voidsetScopeDefinitionId(String scopeDefinitionId) voidsetScopeId(String scopeId) voidsetScopeType(String scopeType) voidsetSubScopeId(String subScopeId) voidsetSubType(String subType) voidsetTenantId(String tenantId) voidtoString()Methods inherited from class com.flowable.audit.engine.impl.persistence.entity.AbstractAuditEngineNoRevisionEntity
getIdPrefixMethods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
getId, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdatedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.flowable.audit.api.runtime.AuditInstance
getIdMethods 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:
getPersistentStatein interfaceEntity
-
getAuditDefinitionId
Description copied from interface:AuditInstanceReference to the audit definition of this audit instance.- Specified by:
getAuditDefinitionIdin interfaceAuditInstance
-
setAuditDefinitionId
- Specified by:
setAuditDefinitionIdin interfaceAuditInstanceEntity
-
getScopeId
Description copied from interface:AuditInstanceReference to the optional scope instance for which the audit instance was created, if any, as this is optional, it might benull.- Specified by:
getScopeIdin interfaceAuditInstance
-
setScopeId
- Specified by:
setScopeIdin interfaceAuditInstanceEntity
-
getSubScopeId
Description copied from interface:AuditInstanceReference to the optional sub scope instance for which the audit instance was created, if any, as this is optional, it might benull.- Specified by:
getSubScopeIdin interfaceAuditInstance
-
setSubScopeId
- Specified by:
setSubScopeIdin interfaceAuditInstanceEntity
-
getScopeType
Description copied from interface:AuditInstanceType of the optional scope instance for which the audit instance was created (only, ifAuditInstance.getScopeId()is set).- Specified by:
getScopeTypein interfaceAuditInstance
-
setScopeType
- Specified by:
setScopeTypein interfaceAuditInstanceEntity
-
getScopeDefinitionId
Description copied from interface:AuditInstanceReference to the scope instance definition for which the audit instance was created (if available, might benull).- Specified by:
getScopeDefinitionIdin interfaceAuditInstance
-
setScopeDefinitionId
- Specified by:
setScopeDefinitionIdin interfaceAuditInstanceEntity
-
getExternalId
Description copied from interface:AuditInstanceIf 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:
getExternalIdin interfaceAuditInstance
-
setExternalId
- Specified by:
setExternalIdin interfaceAuditInstanceEntity
-
getType
Description copied from interface:AuditInstanceReturns 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:
getTypein interfaceAuditInstance
-
setType
- Specified by:
setTypein interfaceAuditInstanceEntity
-
getSubType
Description copied from interface:AuditInstanceReturns 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:
getSubTypein interfaceAuditInstance
-
setSubType
- Specified by:
setSubTypein interfaceAuditInstanceEntity
-
getPayload
Description copied from interface:AuditInstanceReturns the optional payload as a byte array for this audit instance as described within theAuditDefinition.- Specified by:
getPayloadin interfaceAuditInstance
-
setPayload
- Specified by:
setPayloadin interfaceAuditInstanceEntity
-
getCreationTime
Description copied from interface:AuditInstanceReturns the creation timestamp of this audit instance.- Specified by:
getCreationTimein interfaceAuditInstance
-
setCreationTime
- Specified by:
setCreationTimein interfaceAuditInstanceEntity
-
getCreatorId
Description copied from interface:AuditInstanceReturns the id of the user creating this audit instance.- Specified by:
getCreatorIdin interfaceAuditInstance
-
setCreatorId
- Specified by:
setCreatorIdin interfaceAuditInstanceEntity
-
getTenantId
Description copied from interface:AuditInstanceReturns the id of the tenant this audit instance object belongs to.- Specified by:
getTenantIdin interfaceAuditInstance
-
setTenantId
- Specified by:
setTenantIdin interfaceAuditInstanceEntity
-
toString
-