|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RuntimeReadOnlyAPI
Getters for tasks and variables. User's Todo and Work lists operations.
Method Summary | |
---|---|
java.util.Collection<org.ow2.bonita.services.record.TaskRecord> |
getTaskList(org.ow2.bonita.util.Constants.TaskState taskState)
Obtain the user tasks with state either READY or EXECUTING or SUSPENDED for the given instance. |
java.util.Collection<org.ow2.bonita.services.record.TaskRecord> |
getTaskList(java.lang.String instanceId,
org.ow2.bonita.util.Constants.TaskState taskState)
Obtain the user tasks with state either READY or EXECUTING or SUSPENDED for the given instance. |
java.lang.Object |
getVariable(java.lang.String instanceId,
java.lang.String variableId)
Obtain a process variable for the given instance and variable . |
java.lang.Object |
getVariable(java.lang.String instanceId,
java.lang.String activityId,
java.lang.String variableId)
Obtain a variable for the given activity and instance. |
java.util.Map<java.lang.String,java.lang.Object> |
getVariableDefinitions(java.lang.String processId)
Obtain the variable definitions of the process for the given process. |
java.util.Map<java.lang.String,java.lang.Object> |
getVariableDefinitions(java.lang.String processId,
java.lang.String activityId)
Obtain variable definitions (including global process and local activity variables)for the given process and activity. |
java.util.Map<java.lang.String,java.lang.Object> |
getVariables(java.lang.String instanceId)
Obtain the process variables for the given instance. |
java.util.Map<java.lang.String,java.lang.Object> |
getVariables(java.lang.String instanceId,
java.lang.String activityId)
Obtain the activity variables (including global process and local activity variables) for the given instance and activity. |
Method Detail |
---|
java.util.Collection<org.ow2.bonita.services.record.TaskRecord> getTaskList(java.lang.String instanceId, org.ow2.bonita.util.Constants.TaskState taskState) throws InstanceNotFoundException
instanceId
- the instance id.taskState
- the state of the task.
InstanceNotFoundException
- if no instance record is found with the given instance id.
BonitaInternalException
- if an other exception occurs.java.util.Collection<org.ow2.bonita.services.record.TaskRecord> getTaskList(org.ow2.bonita.util.Constants.TaskState taskState)
taskState
- the state of the task.
BonitaInternalException
- if an other exception occurs.java.lang.Object getVariable(java.lang.String instanceId, java.lang.String activityId, java.lang.String variableId) throws InstanceNotFoundException, ActivityNotFoundException, VariableNotFoundException
instanceId
- the instance id.activityId
- the activity id.variableId
- the variable id.
InstanceNotFoundException
- if no instance record is found with the given instance id.
ActivityNotFoundException
- if no activity record is found with the given activity id.
VariableNotFoundException
- if no variable is found with the given id.
BonitaInternalException
- if an other exception occurs.java.util.Map<java.lang.String,java.lang.Object> getVariables(java.lang.String instanceId, java.lang.String activityId) throws ActivityNotFoundException
instanceId
- the instance id.activityId
- the activity id.
ActivityNotFoundException
- if no activity record is found with the given activity id.
BonitaInternalException
- if an other exception occurs.java.lang.Object getVariable(java.lang.String instanceId, java.lang.String variableId) throws InstanceNotFoundException, VariableNotFoundException
instanceId
- the instance id.variableId
- the variable id.
InstanceNotFoundException
- if no instance record is found with the given instance id.
VariableNotFoundException
- if no variable is found with the given id.
BonitaInternalException
- if an other exception occurs.java.util.Map<java.lang.String,java.lang.Object> getVariables(java.lang.String instanceId) throws InstanceNotFoundException
instanceId
- the instance id.
InstanceNotFoundException
- if no instance record is found with the given instance id.
BonitaInternalException
- if an other exception occurs.java.util.Map<java.lang.String,java.lang.Object> getVariableDefinitions(java.lang.String processId, java.lang.String activityId) throws ProcessNotFoundException, ActivityNotFoundException
processId
- the process Id.activityId
- the activity id.
ProcessNotFoundException
- if no process record is found with the given process id.
ActivityNotFoundException
- if no activity record is found with the given activity id.
BonitaInternalException
- if an other exception occurs.java.util.Map<java.lang.String,java.lang.Object> getVariableDefinitions(java.lang.String processId) throws ProcessNotFoundException
processId
- the process Id.
ProcessNotFoundException
- if no process record is found with the given process id.
BonitaInternalException
- if an other exception occurs.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |