|
jBPM distribution 6.2.0.CR4 | |||||||||
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()
|
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.NodeInstanceLogDeleteBuilder |
nodeInstanceLogDelete()
|
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.ProcessInstanceLogDeleteBuilder |
processInstanceLogDelete()
|
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.VariableInstanceLogDeleteBuilder |
variableInstanceLogDelete()
|
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 AuditLogService
findProcessInstances
in interface AuditService
public List<ProcessInstanceLog> findActiveProcessInstances()
findActiveProcessInstances
in interface AuditLogService
public List<ProcessInstanceLog> findProcessInstances(String processId)
AuditService
findProcessInstances
in interface AuditLogService
findProcessInstances
in interface AuditService
processId
- identifier of the process definition
public List<ProcessInstanceLog> findActiveProcessInstances(String processId)
AuditService
findActiveProcessInstances
in interface AuditLogService
findActiveProcessInstances
in interface AuditService
processId
- identifier of the process definition
public ProcessInstanceLog findProcessInstance(long processInstanceId)
AuditService
findProcessInstance
in interface AuditLogService
findProcessInstance
in interface AuditService
processInstanceId
- unique identifier of process instance
public List<ProcessInstanceLog> findSubProcessInstances(long processInstanceId)
AuditService
findSubProcessInstances
in interface AuditLogService
findSubProcessInstances
in interface AuditService
processInstanceId
- identifier of the parent process instance id
public List<NodeInstanceLog> findNodeInstances(long processInstanceId)
AuditService
findNodeInstances
in interface AuditLogService
findNodeInstances
in interface AuditService
processInstanceId
- unique identifier of process instance
public List<NodeInstanceLog> findNodeInstances(long processInstanceId, String nodeId)
AuditService
findNodeInstances
in interface AuditLogService
findNodeInstances
in interface AuditService
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
public List<VariableInstanceLog> findVariableInstances(long processInstanceId)
AuditService
findVariableInstances
in interface AuditLogService
findVariableInstances
in interface AuditService
processInstanceId
- unique identifier of process instance
public List<VariableInstanceLog> findVariableInstances(long processInstanceId, String variableId)
AuditService
findVariableInstances
in interface AuditLogService
findVariableInstances
in interface AuditService
processInstanceId
- unique identifier of process instancevariableId
- variable name
public List<VariableInstanceLog> findVariableInstancesByName(String variableId, boolean activeProcesses)
AuditService
findVariableInstancesByName
in interface AuditLogService
findVariableInstancesByName
in interface AuditService
variableId
- 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 AuditLogService
findVariableInstancesByNameAndValue
in interface AuditService
variableId
- 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()
AuditLogService
NodeInstanceLog
instances.
nodeInstanceLogQuery
in interface AuditLogService
NodeInstanceLogQueryBuilder
instancepublic org.kie.internal.runtime.manager.audit.query.VariableInstanceLogQueryBuilder variableInstanceLogQuery()
AuditLogService
VariableInstanceLog
instances.
variableInstanceLogQuery
in interface AuditLogService
VariableInstanceLogQueryBuilder
instancepublic org.kie.internal.runtime.manager.audit.query.ProcessInstanceLogQueryBuilder processInstanceLogQuery()
AuditLogService
ProcessInstanceLog
instances.
processInstanceLogQuery
in interface AuditLogService
ProcessInstanceLogQueryBuilder
instancepublic org.kie.internal.runtime.manager.audit.query.ProcessInstanceLogDeleteBuilder processInstanceLogDelete()
processInstanceLogDelete
in interface AuditLogService
public org.kie.internal.runtime.manager.audit.query.NodeInstanceLogDeleteBuilder nodeInstanceLogDelete()
nodeInstanceLogDelete
in interface AuditLogService
public org.kie.internal.runtime.manager.audit.query.VariableInstanceLogDeleteBuilder variableInstanceLogDelete()
variableInstanceLogDelete
in interface AuditLogService
public List<NodeInstanceLog> queryNodeInstanceLogs(org.kie.internal.query.data.QueryData queryData)
queryNodeInstanceLogs
in interface AuditLogService
public List<VariableInstanceLog> queryVariableInstanceLogs(org.kie.internal.query.data.QueryData queryData)
queryVariableInstanceLogs
in interface AuditLogService
public List<ProcessInstanceLog> queryProcessInstanceLogs(org.kie.internal.query.data.QueryData queryData)
queryProcessInstanceLogs
in interface AuditLogService
public void clear()
AuditService
clear
in interface AuditService
public void dispose()
AuditService
AuditService
is completed and can be disposed (release resources)
dispose
in interface AuditService
|
jBPM distribution 6.2.0.CR4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |