Package com.defaultcompany.external.model.stdmsg

Examples of com.defaultcompany.external.model.stdmsg.ProcessStopMsg


   
    return psMsg;
  }
 
  public ProcessStopMsg bindProcessStopMsg(HttpServletRequest request) {
    ProcessStopMsg psMsg = new ProcessStopMsg();
   
    this.bindCommon(request, psMsg);
   
    psMsg.setInstanceId(ServletRequestUtils.getStringParameter(request, "instanceId", null));
    psMsg.setInstanceStatus(ServletRequestUtils.getStringParameter(request, "instanceStatus", null));
   
    return psMsg;
  }
View Full Code Here


  @SuppressWarnings("unchecked")
  @Override
  protected Element invokeInternal(Element requestElement) throws Exception {
    Element commonElement = requestElement.getChild("common", WORKFLOW_NAMESPACE);

    ProcessStopMsg psMsg = new ProcessStopMsg();

    psMsg.setExternalKey(commonElement.getChildText("externalKey", WORKFLOW_NAMESPACE));
    psMsg.setProcessVariablesByElementList(commonElement.getChildren("processVariable", WORKFLOW_NAMESPACE));
    psMsg.setRolesByElementList(commonElement.getChildren("role", WORKFLOW_NAMESPACE));
   
    psMsg.setInstanceId(requestElement.getChildText("instanceId", WORKFLOW_NAMESPACE));
    psMsg.setInstanceStatus(requestElement.getChildText("instanceStatus", WORKFLOW_NAMESPACE));
   
    System.out.println(psMsg);
   
    String status = null;
    List<TaskInfo> taskInfoList = null;
View Full Code Here

       
        returnEndpoint = acMsg.getEndpoint();
        returnInstanceId = acMsg.getInstanceId();
       
      } else if (StdMsgContext.CMD_PROCESS_STOP.equalsIgnoreCase(cmdBpm)) {
        ProcessStopMsg psMsg = stdMsgContext.bindProcessStopMsg(request);
        System.out.println(psMsg);
       
        pms.processStop(psMsg);
       
      } else if (StdMsgContext.CMD_APPROVAL_DRAFT.equalsIgnoreCase(cmdBpm)) {
View Full Code Here

TOP

Related Classes of com.defaultcompany.external.model.stdmsg.ProcessStopMsg

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.