Class AuditInstanceEntityImpl

    • 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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 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 org.flowable.common.engine.impl.persistence.entity.Entity

        getId, getIdPrefix, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdated
    • Field Detail

      • auditDefinitionId

        protected java.lang.String auditDefinitionId
      • scopeId

        protected java.lang.String scopeId
      • subScopeId

        protected java.lang.String subScopeId
      • scopeType

        protected java.lang.String scopeType
      • scopeDefinitionId

        protected java.lang.String scopeDefinitionId
      • externalId

        protected java.lang.String externalId
      • type

        protected java.lang.String type
      • subType

        protected java.lang.String subType
      • payload

        protected java.util.Map<java.lang.String,​java.lang.Object> payload
      • creationTime

        protected java.util.Date creationTime
      • creatorId

        protected java.lang.String creatorId
      • tenantId

        protected java.lang.String tenantId
    • Constructor Detail

      • AuditInstanceEntityImpl

        public AuditInstanceEntityImpl()
    • Method Detail

      • getPersistentState

        public java.lang.Object getPersistentState()
        Specified by:
        getPersistentState in interface org.flowable.common.engine.impl.persistence.entity.Entity
      • getAuditDefinitionId

        public java.lang.String getAuditDefinitionId()
        Description copied from interface: AuditInstance
        Reference to the audit definition of this audit instance.
        Specified by:
        getAuditDefinitionId in interface AuditInstance
      • getScopeId

        public java.lang.String 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 be null.
        Specified by:
        getScopeId in interface AuditInstance
      • getSubScopeId

        public java.lang.String 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 be null.
        Specified by:
        getSubScopeId in interface AuditInstance
      • getScopeDefinitionId

        public java.lang.String getScopeDefinitionId()
        Description copied from interface: AuditInstance
        Reference to the scope instance definition for which the audit instance was created (if available, might be null).
        Specified by:
        getScopeDefinitionId in interface AuditInstance
      • getExternalId

        public java.lang.String 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 interface AuditInstance
      • getType

        public java.lang.String 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 interface AuditInstance
      • getSubType

        public java.lang.String 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 interface AuditInstance
      • getPayload

        public java.util.Map<java.lang.String,​java.lang.Object> getPayload()
        Description copied from interface: AuditInstance
        Returns the optional payload as a byte array for this audit instance as described within the AuditDefinition.
        Specified by:
        getPayload in interface AuditInstance
      • setPayload

        public void setPayload​(java.util.Map<java.lang.String,​java.lang.Object> payload)
        Specified by:
        setPayload in interface AuditInstanceEntity
      • getCreationTime

        public java.util.Date getCreationTime()
        Description copied from interface: AuditInstance
        Returns the creation timestamp of this audit instance.
        Specified by:
        getCreationTime in interface AuditInstance
      • getCreatorId

        public java.lang.String getCreatorId()
        Description copied from interface: AuditInstance
        Returns the id of the user creating this audit instance.
        Specified by:
        getCreatorId in interface AuditInstance
      • getTenantId

        public java.lang.String getTenantId()
        Description copied from interface: AuditInstance
        Returns the id of the tenant this audit instance object belongs to.
        Specified by:
        getTenantId in interface AuditInstance
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object