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, java.io.Serializable, org.flowable.common.engine.impl.persistence.entity.Entity

public class AuditInstanceEntityImpl
extends AbstractAuditEngineNoRevisionEntity
implements AuditInstanceEntity, java.io.Serializable
Author:
Tijs Rademakers
See Also:
Serialized Form
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected java.lang.String auditDefinitionId  
    protected java.util.Date creationTime  
    protected java.lang.String creatorId  
    protected java.lang.String externalId  
    protected java.util.Map<java.lang.String,​java.lang.Object> payload  
    protected java.lang.String scopeDefinitionId  
    protected java.lang.String scopeId  
    protected java.lang.String scopeType  
    protected java.lang.String subScopeId  
    protected java.lang.String subType  
    protected java.lang.String tenantId  
    protected java.lang.String type  

    Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision

    id, isDeleted, isInserted, isUpdated, originalPersistentState
  • Constructor Summary

    Constructors 
    Constructor Description
    AuditInstanceEntityImpl()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getAuditDefinitionId()
    Reference to the audit definition of this audit instance.
    java.util.Date getCreationTime()
    Returns the creation timestamp of this audit instance.
    java.lang.String getCreatorId()
    Returns the id of the user creating this audit instance.
    java.lang.String getExternalId()
    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.
    java.util.Map<java.lang.String,​java.lang.Object> getPayload()
    Returns the optional payload as a byte array for this audit instance as described within the AuditDefinition.
    java.lang.Object getPersistentState()  
    java.lang.String getScopeDefinitionId()
    Reference to the scope instance definition for which the audit instance was created (if available, might be null).
    java.lang.String getScopeId()
    Reference to the optional scope instance for which the audit instance was created, if any, as this is optional, it might be null.
    java.lang.String getScopeType()
    Type of the optional scope instance for which the audit instance was created (only, if AuditInstance.getScopeId() is set).
    java.lang.String getSubScopeId()
    Reference to the optional sub scope instance for which the audit instance was created, if any, as this is optional, it might be null.
    java.lang.String getSubType()
    Returns the sub type of this audit instance.
    java.lang.String getTenantId()
    Returns the id of the tenant this audit instance object belongs to.
    java.lang.String getType()
    Returns the main type of this audit instance.
    void setAuditDefinitionId​(java.lang.String auditDefinitionId)  
    void setCreationTime​(java.util.Date creationTime)  
    void setCreatorId​(java.lang.String creatorId)  
    void setExternalId​(java.lang.String externalId)  
    void setPayload​(java.util.Map<java.lang.String,​java.lang.Object> payload)  
    void setScopeDefinitionId​(java.lang.String scopeDefinitionId)  
    void setScopeId​(java.lang.String scopeId)  
    void setScopeType​(java.lang.String scopeType)  
    void setSubScopeId​(java.lang.String subScopeId)  
    void setSubType​(java.lang.String subType)  
    void setTenantId​(java.lang.String tenantId)  
    void setType​(java.lang.String type)  
    java.lang.String 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