Package org.jbpm.casemgmt.impl.audit

## Class CaseInstanceAuditEventListener

- java.lang.Object
- - org.jbpm.casemgmt.impl.audit.CaseInstanceAuditEventListener

- All Implemented Interfaces:
    `EventListener`, `CaseEventListener`, `org.kie.internal.runtime.Cacheable`

      public class CaseInstanceAuditEventListener
      extends Object
      implements CaseEventListener, org.kie.internal.runtime.Cacheable

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `CaseInstanceAuditEventListener​(TransactionalCommandService commandService)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `afterCaseDataAdded​(CaseDataEvent event)` |
    `void` | `afterCaseDataRemoved​(CaseDataEvent event)` |
    `void` | `afterCaseReopen​(CaseReopenEvent event)` |
    `void` | `afterCaseRoleAssignmentAdded​(CaseRoleAssignmentEvent event)` |
    `void` | `afterCaseRoleAssignmentRemoved​(CaseRoleAssignmentEvent event)` |
    `void` | `afterCaseStarted​(CaseStartEvent event)` |
    `protected CaseFileDataLog` | `caseFileDataByName​(String caseId, String name)` |
    `void` | `close()` |
    `protected List<String>` | `currentCaseData​(String caseId)` |
    `protected void` | `updateCaseFileItems​(CaseEvent event, Map<String,​Object> addedData, String caseId, String caseDefinitionId, String user)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface org.jbpm.casemgmt.api.event.CaseEventListener

      `afterCaseCancelled, afterCaseClosed, afterCaseCommentAdded, afterCaseCommentRemoved, afterCaseCommentUpdated, afterCaseDestroyed, afterDynamicProcessAdded, afterDynamicTaskAdded, beforeCaseCancelled, beforeCaseClosed, beforeCaseCommentAdded, beforeCaseCommentRemoved, beforeCaseCommentUpdated, beforeCaseDataAdded, beforeCaseDataRemoved, beforeCaseDestroyed, beforeCaseReopen, beforeCaseRoleAssignmentAdded, beforeCaseRoleAssignmentRemoved, beforeCaseStarted, beforeDynamicProcessAdded, beforeDynamicTaskAdded`

- - ### Constructor Detail

    - #### CaseInstanceAuditEventListener

          public CaseInstanceAuditEventListener​(TransactionalCommandService commandService)

  - ### Method Detail

    - #### afterCaseStarted

          public void afterCaseStarted​(CaseStartEvent event)

      Specified by:
        `afterCaseStarted` in interface `CaseEventListener`

    - #### afterCaseReopen

          public void afterCaseReopen​(CaseReopenEvent event)

      Specified by:
        `afterCaseReopen` in interface `CaseEventListener`

    - #### afterCaseRoleAssignmentAdded

          public void afterCaseRoleAssignmentAdded​(CaseRoleAssignmentEvent event)

      Specified by:
        `afterCaseRoleAssignmentAdded` in interface `CaseEventListener`

    - #### afterCaseRoleAssignmentRemoved

          public void afterCaseRoleAssignmentRemoved​(CaseRoleAssignmentEvent event)

      Specified by:
        `afterCaseRoleAssignmentRemoved` in interface `CaseEventListener`

    - #### afterCaseDataAdded

          public void afterCaseDataAdded​(CaseDataEvent event)

      Specified by:
        `afterCaseDataAdded` in interface `CaseEventListener`

    - #### afterCaseDataRemoved

          public void afterCaseDataRemoved​(CaseDataEvent event)

      Specified by:
        `afterCaseDataRemoved` in interface `CaseEventListener`

    - #### close

          public void close()

      Specified by:
        `close` in interface `org.kie.internal.runtime.Cacheable`

    - #### currentCaseData

          protected List<String> currentCaseData​(String caseId)

    - #### caseFileDataByName

          protected CaseFileDataLog caseFileDataByName​(String caseId,
                                                       String name)

    - #### updateCaseFileItems

          protected void updateCaseFileItems​(CaseEvent event,
                                             Map<String,​Object> addedData,
                                             String caseId,
                                             String caseDefinitionId,
                                             String user)