/**
  * Returns all available process definitions
  *
  * @return
  */
 public Collection<ProcessDesc> getProcesses() {
   return runtimeDataService.getProcesses();
 }
 /**
  * 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);
 }
 /**
  * Returns all available process definitions
  *
  * @return
  */
 public ProcessInstanceDesc getProcessInstance(long processInstanceId) {
   return runtimeDataService.getProcessInstanceById(processInstanceId);
 }