Search in sources :

Example 1 with TaskJPAAuditService

use of org.jbpm.services.task.audit.service.TaskJPAAuditService in project jbpm by kiegroup.

the class LogCleanupCommandTest method setUp.

// ------------------------ Test Methods ------------------------
@Override
public void setUp() throws Exception {
    super.setUp();
    taskAuditService = new TaskJPAAuditService(getEmf());
    taskAuditService.clear();
    auditLogService = new JPAAuditLogService(getEmf());
    auditLogService.clear();
    emfErrors = EntityManagerFactoryManager.get().getOrCreate("org.jbpm.persistence.complete");
}
Also used : JPAAuditLogService(org.jbpm.process.audit.JPAAuditLogService) TaskJPAAuditService(org.jbpm.services.task.audit.service.TaskJPAAuditService)

Example 2 with TaskJPAAuditService

use of org.jbpm.services.task.audit.service.TaskJPAAuditService in project jbpm by kiegroup.

the class TaskLogCleanTest method setUp.

@Override
public void setUp() throws Exception {
    super.setUp();
    taskAuditService = new TaskJPAAuditService(getEmf());
    taskAuditService.clear();
}
Also used : TaskJPAAuditService(org.jbpm.services.task.audit.service.TaskJPAAuditService)

Aggregations

TaskJPAAuditService (org.jbpm.services.task.audit.service.TaskJPAAuditService)2 JPAAuditLogService (org.jbpm.process.audit.JPAAuditLogService)1