Package com.defaultcompany.external.model.stdmsg

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


   
    return acMsg;
  }
 
  public ApprovalLineChangeMsg bindApprovalLineChangeMsg(HttpServletRequest request) {
    ApprovalLineChangeMsg alcMsg = new ApprovalLineChangeMsg();
   
    this.bindCommon(request, alcMsg);
   
    alcMsg.setInstanceId(ServletRequestUtils.getStringParameter(request, "instanceId", null));
    alcMsg.setApprovalKey(ServletRequestUtils.getStringParameter(request, "approvalKey", null));
   
    return alcMsg;
  }
View Full Code Here


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

    ApprovalLineChangeMsg alcMsg = new ApprovalLineChangeMsg();
    alcMsg.setExternalKey(commonElement.getChildText("externalKey", WORKFLOW_NAMESPACE));
    alcMsg.setProcessVariablesByElementList(commonElement.getChildren("processVariable", WORKFLOW_NAMESPACE));
    alcMsg.setRolesByElementList(commonElement.getChildren("role", WORKFLOW_NAMESPACE));

    alcMsg.setApprovalKey(requestElement.getChildText("approvalKey", WORKFLOW_NAMESPACE));
    alcMsg.setInstanceId(requestElement.getChildText("instanceId", WORKFLOW_NAMESPACE));
   
    System.out.println(alcMsg);
   
    String status = null;
    List<TaskInfo> taskInfoList = null;
View Full Code Here

       
        returnEndpoint = aacMsg.getEndpoint();
        returnInstanceId = aacMsg.getInstanceId();

      } else if (StdMsgContext.CMD_APPROVAL_LINE_CHANGE.equalsIgnoreCase(cmdBpm))  {
        ApprovalLineChangeMsg alcMsg = stdMsgContext.bindApprovalLineChangeMsg(request);
        System.out.println(alcMsg);
       
        pms.approvalLineChange(alcMsg);
     
      } else if (StdMsgContext.CMD_TASK_INFO.equalsIgnoreCase(cmdBpm)) {
View Full Code Here

TOP

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

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.