Exemplo n.º 1
0
 /**
  * Returns all available process definitions
  *
  * @return
  */
 public Collection<ProcessDesc> getProcesses() {
   return runtimeDataService.getProcesses();
 }
Exemplo n.º 2
0
 /**
  * Returns all process definitions for given deployment unit (kjar)
  *
  * @param deploymentId unique identifier of unit (kjar)
  * @return
  */
 public Collection<ProcessDesc> getProcesses(String deploymentId) {
   return runtimeDataService.getProcessesByDeploymentId(deploymentId);
 }
Exemplo n.º 3
0
 /**
  * Returns all available process definitions
  *
  * @return
  */
 public ProcessInstanceDesc getProcessInstance(long processInstanceId) {
   return runtimeDataService.getProcessInstanceById(processInstanceId);
 }