protected <T> T doRestTaskOperationWithTaskId(Long taskId, TaskCommand<T> cmd) {
   return processRequestBean.doRestTaskOperation(taskId, null, null, null, cmd);
 }
 protected <T> T doRestTaskOperationWithDeploymentId(String deploymentId, TaskCommand<T> cmd) {
   return processRequestBean.doRestTaskOperation(null, deploymentId, null, null, cmd);
 }
 // TODO: shouldn't this also take a process runtime id for per-process runtimes?
 public <T> T doRestTaskOperation(TaskCommand<T> cmd) {
   return processRequestBean.doRestTaskOperation(null, null, null, null, cmd);
 }