Package com.defaultcompany.external.model.stdmsg

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


   
    return alcMsg;
  }
 
  public DelegateWorkItemMsg bindDelegateWorkItemMsg(HttpServletRequest request) {
    DelegateWorkItemMsg dwMsg = new DelegateWorkItemMsg();
   
    this.bindCommon(request, dwMsg);
   
    dwMsg.setInstanceId(ServletRequestUtils.getStringParameter(request, "instanceId", null));
    dwMsg.setTracingTag(ServletRequestUtils.getStringParameter(request, "tracingTag", null));
    dwMsg.setEndpoints(ServletRequestUtils.getStringParameter(request, "endpoint", null));
   
    return dwMsg;
  }
View Full Code Here


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

    DelegateWorkItemMsg dwMsg = new DelegateWorkItemMsg();

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

        System.out.println(wiaMsg);
       
        pms.workItemAccept(wiaMsg);
       
      } else if (StdMsgContext.CMD_DELEGATE_WORKITEM.equalsIgnoreCase(cmdBpm)) {
        DelegateWorkItemMsg dwMsg = stdMsgContext.bindDelegateWorkItemMsg(request);
        System.out.println(dwMsg);
       
        pms.delegateWorkItem(dwMsg);
       
      }
View Full Code Here

TOP

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

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.