|
jBPM distribution 6.2.0.CR1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jbpm.process.audit.CommandBasedAuditLogService
public class CommandBasedAuditLogService
| Constructor Summary | |
|---|---|
CommandBasedAuditLogService(CommandExecutor executor)
|
|
| 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<ProcessInstanceLog> |
findActiveProcessInstances(String processId)
Returns all active process instances for given process id |
List<NodeInstanceLog> |
findNodeInstances(long processInstanceId)
Returns all node instances that were already triggered for given process instance id |
List<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<ProcessInstanceLog> |
findProcessInstances()
Service methods |
List<ProcessInstanceLog> |
findProcessInstances(String processId)
Returns all known process instances for given process id |
List<ProcessInstanceLog> |
findSubProcessInstances(long processInstanceId)
Returns all known subprocess instance logs for given process instance id - considered parent process instance id |
List<VariableInstanceLog> |
findVariableInstances(long processInstanceId)
Returns all variable logs for given process instance id |
List<VariableInstanceLog> |
findVariableInstances(long processInstanceId,
String variableId)
Returns all variable logs for given process instance id and variable identifier |
List<VariableInstanceLog> |
findVariableInstancesByName(String variableId,
boolean activeProcesses)
Returns all variable logs that are identified by variable id regardless of what process instance they belong to |
List<VariableInstanceLog> |
findVariableInstancesByNameAndValue(String variableId,
String value,
boolean activeProcesses)
Returns all variable logs that are identified by variable id and has given value regardless of what process instance they belong to |
org.kie.internal.runtime.manager.audit.query.NodeInstanceLogQueryBuilder |
nodeInstanceLogQuery()
Creates a "query builder" instance that allows the user to specify the specific query criteria to retrieve NodeInstanceLog instances. |
org.kie.internal.runtime.manager.audit.query.ProcessInstanceLogQueryBuilder |
processInstanceLogQuery()
Creates a "query builder" instance that allows the user to specify the specific query criteria to retrieve ProcessInstanceLog instances. |
List<NodeInstanceLog> |
queryNodeInstanceLogs(org.kie.internal.query.data.QueryData queryData)
|
List<ProcessInstanceLog> |
queryProcessInstanceLogs(org.kie.internal.query.data.QueryData queryData)
|
List<VariableInstanceLog> |
queryVariableInstanceLogs(org.kie.internal.query.data.QueryData queryData)
|
org.kie.internal.runtime.manager.audit.query.VariableInstanceLogQueryBuilder |
variableInstanceLogQuery()
Creates a "query builder" instance that allows the user to specify the specific query criteria to retrieve VariableInstanceLog instances. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CommandBasedAuditLogService(CommandExecutor executor)
| Method Detail |
|---|
public List<ProcessInstanceLog> findProcessInstances()
AuditLogService
findProcessInstances in interface AuditLogServicefindProcessInstances in interface AuditServicepublic List<ProcessInstanceLog> findProcessInstances(String processId)
AuditService
findProcessInstances in interface AuditLogServicefindProcessInstances in interface AuditServiceprocessId - identifier of the process definition
public List<ProcessInstanceLog> findActiveProcessInstances(String processId)
AuditService
findActiveProcessInstances in interface AuditLogServicefindActiveProcessInstances in interface AuditServiceprocessId - identifier of the process definition
public ProcessInstanceLog findProcessInstance(long processInstanceId)
AuditService
findProcessInstance in interface AuditLogServicefindProcessInstance in interface AuditServiceprocessInstanceId - unique identifier of process instance
public List<ProcessInstanceLog> findSubProcessInstances(long processInstanceId)
AuditService
findSubProcessInstances in interface AuditLogServicefindSubProcessInstances in interface AuditServiceprocessInstanceId - identifier of the parent process instance id
public List<NodeInstanceLog> findNodeInstances(long processInstanceId)
AuditService
findNodeInstances in interface AuditLogServicefindNodeInstances in interface AuditServiceprocessInstanceId - unique identifier of process instance
public List<NodeInstanceLog> findNodeInstances(long processInstanceId,
String nodeId)
AuditService
findNodeInstances in interface AuditLogServicefindNodeInstances in interface AuditServiceprocessInstanceId - 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
public List<VariableInstanceLog> findVariableInstances(long processInstanceId)
AuditService
findVariableInstances in interface AuditLogServicefindVariableInstances in interface AuditServiceprocessInstanceId - unique identifier of process instance
public List<VariableInstanceLog> findVariableInstances(long processInstanceId,
String variableId)
AuditService
findVariableInstances in interface AuditLogServicefindVariableInstances in interface AuditServiceprocessInstanceId - unique identifier of process instancevariableId - variable name
public List<VariableInstanceLog> findVariableInstancesByName(String variableId,
boolean activeProcesses)
AuditService
findVariableInstancesByName in interface AuditLogServicefindVariableInstancesByName in interface AuditServicevariableId - variable nameactiveProcesses - indicates if only active process instances should be considered or both active and completed
public List<VariableInstanceLog> findVariableInstancesByNameAndValue(String variableId,
String value,
boolean activeProcesses)
AuditService
findVariableInstancesByNameAndValue in interface AuditLogServicefindVariableInstancesByNameAndValue in interface AuditServicevariableId - variable namevalue - value of the variableactiveProcesses - indicates if only active process instances should be considered or both active and completed
public org.kie.internal.runtime.manager.audit.query.NodeInstanceLogQueryBuilder nodeInstanceLogQuery()
AuditLogServiceNodeInstanceLog instances.
nodeInstanceLogQuery in interface AuditLogServiceNodeInstanceLogQueryBuilder instancepublic org.kie.internal.runtime.manager.audit.query.VariableInstanceLogQueryBuilder variableInstanceLogQuery()
AuditLogServiceVariableInstanceLog instances.
variableInstanceLogQuery in interface AuditLogServiceVariableInstanceLogQueryBuilder instancepublic org.kie.internal.runtime.manager.audit.query.ProcessInstanceLogQueryBuilder processInstanceLogQuery()
AuditLogServiceProcessInstanceLog instances.
processInstanceLogQuery in interface AuditLogServiceProcessInstanceLogQueryBuilder instancepublic List<NodeInstanceLog> queryNodeInstanceLogs(org.kie.internal.query.data.QueryData queryData)
queryNodeInstanceLogs in interface AuditLogServicepublic List<VariableInstanceLog> queryVariableInstanceLogs(org.kie.internal.query.data.QueryData queryData)
queryVariableInstanceLogs in interface AuditLogServicepublic List<ProcessInstanceLog> queryProcessInstanceLogs(org.kie.internal.query.data.QueryData queryData)
queryProcessInstanceLogs in interface AuditLogServicepublic void clear()
AuditService
clear in interface AuditServicepublic void dispose()
AuditServiceAuditService is completed and can be disposed (release resources)
dispose in interface AuditService
|
jBPM distribution 6.2.0.CR1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||