/* (non-Javadoc)
  * @see com.nms.activiti.app.WorkflowMain#transferTask(java.lang.String, java.lang.String)
  */
 @POST
 @Path("/transferTask")
 public boolean transferTask(String taskID, String userID) {
   return workflowMgr.transferTask(taskID, userID);
 }
 /* (non-Javadoc)
  * @see com.nms.activiti.app.WorkflowMain#completeTask(java.lang.String)
  */
 @POST
 @Path("/completeTask")
 public boolean completeTask(String taskID) {
   return workflowMgr.completeTask(taskID);
 }
 /* (non-Javadoc)
  * @see com.nms.activiti.app.WorkflowMain#claimTask(java.lang.String, java.lang.String)
  */
 @GET
 @Path("/claimTask")
 public boolean claimTask(String userID, String taskID) {
   return workflowMgr.claimTask(userID, taskID);
 }
 /* (non-Javadoc)
  * @see com.nms.activiti.app.WorkflowMain#getTaskList(java.lang.String, java.lang.String)
  */
 @GET
 @Path("/getGroupTasks")
 @Produces({MediaType.APPLICATION_JSON})
 public List<CommonWorkflowTask> getTaskListForGroup(@QueryParam("groupID") String groupID) {
   return workflowMgr.getTaskListForGroup(groupID);
 }
 /* (non-Javadoc)
  * @see com.nms.activiti.app.WorkflowMain#createProcessInstance(java.lang.String)
  */
 @POST
 @Path("/startTask")
 public boolean createProcessInstance(String workFlowName) {
   return workflowMgr.createProcessInstance(workFlowName);
 }
 /* Deploys the given workflow definintion xml file.
  * @see com.nms.activiti.app.WorkflowMain#deployProcess(java.lang.String, java.io.InputStream)
  */
 @POST
 @Path("/deployProcess")
 public boolean deployProcess(String resourceName, InputStream iStream) {
   return workflowMgr.deployProcess(resourceName, iStream);
 }