jBPM :: Audit 6.1.0-SNAPSHOT

org.jbpm.process.audit
Class CommandBasedAuditLogService

java.lang.Object
  extended by org.jbpm.process.audit.CommandBasedAuditLogService
All Implemented Interfaces:
AuditLogService, org.kie.api.runtime.manager.audit.AuditService

public class CommandBasedAuditLogService
extends Object
implements AuditLogService


Constructor Summary
CommandBasedAuditLogService(org.kie.api.runtime.CommandExecutor executor)
           
 
Method Summary
 void clear()
           
 void dispose()
           
 List<ProcessInstanceLog> findActiveProcessInstances(String processId)
           
 List<NodeInstanceLog> findNodeInstances(long processInstanceId)
           
 List<NodeInstanceLog> findNodeInstances(long processInstanceId, String nodeId)
           
 ProcessInstanceLog findProcessInstance(long processInstanceId)
           
 List<ProcessInstanceLog> findProcessInstances()
          Service methods
 List<ProcessInstanceLog> findProcessInstances(String processId)
           
 List<ProcessInstanceLog> findSubProcessInstances(long processInstanceId)
           
 List<VariableInstanceLog> findVariableInstances(long processInstanceId)
           
 List<VariableInstanceLog> findVariableInstances(long processInstanceId, String variableId)
           
 List<VariableInstanceLog> findVariableInstancesByName(String variableId, boolean activeProcesses)
           
 List<VariableInstanceLog> findVariableInstancesByNameAndValue(String variableId, String value, boolean activeProcesses)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandBasedAuditLogService

public CommandBasedAuditLogService(org.kie.api.runtime.CommandExecutor executor)
Method Detail

findProcessInstances

public List<ProcessInstanceLog> findProcessInstances()
Description copied from interface: AuditLogService
Service methods

Specified by:
findProcessInstances in interface AuditLogService
Specified by:
findProcessInstances in interface org.kie.api.runtime.manager.audit.AuditService

findProcessInstances

public List<ProcessInstanceLog> findProcessInstances(String processId)
Specified by:
findProcessInstances in interface AuditLogService
Specified by:
findProcessInstances in interface org.kie.api.runtime.manager.audit.AuditService

findActiveProcessInstances

public List<ProcessInstanceLog> findActiveProcessInstances(String processId)
Specified by:
findActiveProcessInstances in interface AuditLogService
Specified by:
findActiveProcessInstances in interface org.kie.api.runtime.manager.audit.AuditService

findProcessInstance

public ProcessInstanceLog findProcessInstance(long processInstanceId)
Specified by:
findProcessInstance in interface AuditLogService
Specified by:
findProcessInstance in interface org.kie.api.runtime.manager.audit.AuditService

findSubProcessInstances

public List<ProcessInstanceLog> findSubProcessInstances(long processInstanceId)
Specified by:
findSubProcessInstances in interface AuditLogService
Specified by:
findSubProcessInstances in interface org.kie.api.runtime.manager.audit.AuditService

findNodeInstances

public List<NodeInstanceLog> findNodeInstances(long processInstanceId)
Specified by:
findNodeInstances in interface AuditLogService
Specified by:
findNodeInstances in interface org.kie.api.runtime.manager.audit.AuditService

findNodeInstances

public List<NodeInstanceLog> findNodeInstances(long processInstanceId,
                                               String nodeId)
Specified by:
findNodeInstances in interface AuditLogService
Specified by:
findNodeInstances in interface org.kie.api.runtime.manager.audit.AuditService

findVariableInstances

public List<VariableInstanceLog> findVariableInstances(long processInstanceId)
Specified by:
findVariableInstances in interface AuditLogService
Specified by:
findVariableInstances in interface org.kie.api.runtime.manager.audit.AuditService

findVariableInstances

public List<VariableInstanceLog> findVariableInstances(long processInstanceId,
                                                       String variableId)
Specified by:
findVariableInstances in interface AuditLogService
Specified by:
findVariableInstances in interface org.kie.api.runtime.manager.audit.AuditService

findVariableInstancesByName

public List<VariableInstanceLog> findVariableInstancesByName(String variableId,
                                                             boolean activeProcesses)
Specified by:
findVariableInstancesByName in interface AuditLogService
Specified by:
findVariableInstancesByName in interface org.kie.api.runtime.manager.audit.AuditService

findVariableInstancesByNameAndValue

public List<VariableInstanceLog> findVariableInstancesByNameAndValue(String variableId,
                                                                     String value,
                                                                     boolean activeProcesses)
Specified by:
findVariableInstancesByNameAndValue in interface AuditLogService
Specified by:
findVariableInstancesByNameAndValue in interface org.kie.api.runtime.manager.audit.AuditService

clear

public void clear()
Specified by:
clear in interface org.kie.api.runtime.manager.audit.AuditService

dispose

public void dispose()
Specified by:
dispose in interface org.kie.api.runtime.manager.audit.AuditService

jBPM :: Audit 6.1.0-SNAPSHOT

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.