class AsyncCaseInstanceAuditEventProducer implements CaseEventListener, Cacheable {

    @Override
    public void afterCaseDataAdded(CaseDataEvent event) {
        List<CaseFileData> logs = updateCaseFileItems(event, event.getData(), event.getCaseId(), event.getDefinitionId(), event.getUser());
        
        if (logs != null && !logs.isEmpty()) {
            sendMessage(AFTER_CASE_DATA_ADDED_EVENT_TYPE, new AuditCaseInstanceData(event.getCaseId(), logs, null), 4);
        }
    }

    public  AsyncCaseInstanceAuditEventProducer();

}