public interface AuditService
UnsupportedOperationException| Modifier and Type | Method and Description | 
|---|---|
void | 
clear()
Removes all entries from audit data store 
 | 
void | 
dispose()
Indicates that work with this instance of  
AuditService is completed and can be disposed (release resources) | 
List<? extends ProcessInstanceLog> | 
findActiveProcessInstances(String processId)
Returns all active process instances for given process id 
 | 
List<? extends NodeInstanceLog> | 
findNodeInstances(long processInstanceId)
Returns all node instances that were already triggered for given process instance id 
 | 
List<? extends NodeInstanceLog> | 
findNodeInstances(long processInstanceId,
                 String nodeId)  | 
ProcessInstanceLog | 
findProcessInstance(long processInstanceId)
Returns process instance log for given process instance id 
 | 
List<? extends ProcessInstanceLog> | 
findProcessInstances()
Returns all known process instances currently available to the audit service 
 | 
List<? extends ProcessInstanceLog> | 
findProcessInstances(String processId)
Returns all known process instances for given process id 
 | 
List<? extends ProcessInstanceLog> | 
findSubProcessInstances(long processInstanceId)
Returns all known subprocess instance logs for given process instance id - considered parent process instance id 
 | 
List<? extends VariableInstanceLog> | 
findVariableInstances(long processInstanceId)
Returns all variable logs for given process instance id 
 | 
List<? extends VariableInstanceLog> | 
findVariableInstances(long processInstanceId,
                     String variableId)
Returns all variable logs for given process instance id and variable identifier 
 | 
List<? extends VariableInstanceLog> | 
findVariableInstancesByName(String variableId,
                           boolean onlyActiveProcesses)
Returns all variable logs that are identified by variable id regardless of what process instance they belong to 
 | 
List<? extends VariableInstanceLog> | 
findVariableInstancesByNameAndValue(String variableId,
                                   String value,
                                   boolean onlyActiveProcesses)
Returns all variable logs that are identified by variable id and has given value
 regardless of what process instance they belong to 
 | 
List<? extends ProcessInstanceLog> findProcessInstances()
List<? extends ProcessInstanceLog> findProcessInstances(String processId)
processId - identifier of the process definitionList<? extends ProcessInstanceLog> findActiveProcessInstances(String processId)
processId - identifier of the process definitionProcessInstanceLog findProcessInstance(long processInstanceId)
processInstanceId - unique identifier of process instanceList<? extends ProcessInstanceLog> findSubProcessInstances(long processInstanceId)
processInstanceId - identifier of the parent process instance idList<? extends NodeInstanceLog> findNodeInstances(long processInstanceId)
processInstanceId - unique identifier of process instanceList<? extends NodeInstanceLog> findNodeInstances(long processInstanceId, String nodeId)
processInstanceId - unique identifier of process instancenodeId - node identifier - by default it should be unique id (from process definition)
        but if not available regular node id shall be usedList<? extends VariableInstanceLog> findVariableInstances(long processInstanceId)
processInstanceId - unique identifier of process instanceList<? extends VariableInstanceLog> findVariableInstances(long processInstanceId, String variableId)
processInstanceId - unique identifier of process instancevariableId - variable nameList<? extends VariableInstanceLog> findVariableInstancesByName(String variableId, boolean onlyActiveProcesses)
variableId - variable nameonlyActiveProcesses - indicates if only active process instances should be considered or both active and completedList<? extends VariableInstanceLog> findVariableInstancesByNameAndValue(String variableId, String value, boolean onlyActiveProcesses)
variableId - variable namevalue - value of the variableonlyActiveProcesses - indicates if only active process instances should be considered or both active and completedvoid clear()
void dispose()
AuditService is completed and can be disposed (release resources)Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.