Package com.defaultcompany.external.model.stdmsg

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


   
    return wiaMsg;
  }
 
  public InitializeProcessInstanceMsg bindInitializeProcessInstanceMsg(HttpServletRequest request) {
    InitializeProcessInstanceMsg ipiMsg = new InitializeProcessInstanceMsg();
   
    this.bindCommon(request, ipiMsg);
   
    ipiMsg.setInstanceId(ServletRequestUtils.getStringParameter(request, "instanceId", null));
    ipiMsg.setEndpoint(ServletRequestUtils.getStringParameter(request, "endpoint", null));
   
    return ipiMsg;
  }
View Full Code Here


//        System.out.println(tiMsg);
       
        taskInfoList = pms.getTaskInfo(tiMsg);
       
      } else if (StdMsgContext.CMD_INITIALIZE_PROCESS_INSTANCE.equalsIgnoreCase(cmdBpm)) {
        InitializeProcessInstanceMsg ipiMsg = stdMsgContext.bindInitializeProcessInstanceMsg(request);
        System.out.println(ipiMsg);
       
        pms.initializeProcessInstance(ipiMsg);
       
      } else if (StdMsgContext.CMD_WORKITEM_ACCEPT.equalsIgnoreCase(cmdBpm)) {
View Full Code Here

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

    InitializeProcessInstanceMsg ipiMsg = new InitializeProcessInstanceMsg();

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

TOP

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

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.