Package com.defaultcompany.external.model.stdmsg

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


    baseStdMsg.setProcessVariables(ServletRequestUtils.getStringParameter(request, "procVal", null));
    baseStdMsg.setRoles(ServletRequestUtils.getStringParameter(request, "procRole", null));
  }
 
  public WorkItemAcceptMsg bindWorkItemAcceptMsg(HttpServletRequest request) {
    WorkItemAcceptMsg wiaMsg = new WorkItemAcceptMsg();
   
    this.bindCommon(request, wiaMsg);
   
    wiaMsg.setInstanceId(ServletRequestUtils.getStringParameter(request, "instanceId", null));
    wiaMsg.setTracingTag(ServletRequestUtils.getStringParameter(request, "tracingTag", null));
    wiaMsg.setEndpoint(ServletRequestUtils.getStringParameter(request, "endpoint", null));
   
    return wiaMsg;
  }
View Full Code Here


        System.out.println(ipiMsg);
       
        pms.initializeProcessInstance(ipiMsg);
       
      } else if (StdMsgContext.CMD_WORKITEM_ACCEPT.equalsIgnoreCase(cmdBpm)) {
        WorkItemAcceptMsg wiaMsg = stdMsgContext.bindWorkItemAcceptMsg(request);
        System.out.println(wiaMsg);
       
        pms.workItemAccept(wiaMsg);
       
      } else if (StdMsgContext.CMD_DELEGATE_WORKITEM.equalsIgnoreCase(cmdBpm)) {
View Full Code Here

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

    WorkItemAcceptMsg wiaMsg = new WorkItemAcceptMsg();

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

TOP

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

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.