|
KIE API 6.2.0.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AuditService
AuditService provides access to active and already completed process (and its components) data. Delivers data about:
UnsupportedOperationException
Method Summary | |
---|---|
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)
Returns all node instances that were already triggered for given process instance id and node identifier |
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 |
Method Detail |
---|
List<? extends ProcessInstanceLog> findProcessInstances()
List<? extends ProcessInstanceLog> findProcessInstances(String processId)
processId
- identifier of the process definition
List<? extends ProcessInstanceLog> findActiveProcessInstances(String processId)
processId
- identifier of the process definition
ProcessInstanceLog findProcessInstance(long processInstanceId)
processInstanceId
- unique identifier of process instance
List<? extends ProcessInstanceLog> findSubProcessInstances(long processInstanceId)
processInstanceId
- identifier of the parent process instance id
List<? extends NodeInstanceLog> findNodeInstances(long processInstanceId)
processInstanceId
- unique identifier of process instance
List<? 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 used
List<? extends VariableInstanceLog> findVariableInstances(long processInstanceId)
processInstanceId
- unique identifier of process instance
List<? extends VariableInstanceLog> findVariableInstances(long processInstanceId, String variableId)
processInstanceId
- unique identifier of process instancevariableId
- variable name
List<? extends VariableInstanceLog> findVariableInstancesByName(String variableId, boolean onlyActiveProcesses)
variableId
- variable nameonlyActiveProcesses
- indicates if only active process instances should be considered or both active and completed
List<? 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 completed
void clear()
void dispose()
AuditService
is completed and can be disposed (release resources)
|
KIE API 6.2.0.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |