Commit 9d059a8b authored by ngadkari's avatar ngadkari

declare variables and missing import statement

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@196110 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 94347a3f
......@@ -86,7 +86,7 @@ public class POBSRWizIC extends ValidatorEJB
String siteCode = ""; String priceListHdr = ""; String priceListGrp = "";
String scTele1 = ""; String scTele2 = ""; String retTele1 = ""; String retTele2 = "";
int cnt = 0;
int ctr = 0;
int ctr = 0,childNodeListLength=0;
NodeList parentNodeList = null;
NodeList childNodeList = null;
......@@ -130,7 +130,7 @@ public class POBSRWizIC extends ValidatorEJB
parentNodeList = dom.getElementsByTagName("Detail1");
parentNode = parentNodeList.item(0);
childNodeList = parentNode.getChildNodes();
int childNodeListLength = childNodeList.getLength();
childNodeListLength = childNodeList.getLength();
ArrayList filter = new ArrayList();
filter.add(0, "item_ser");
filter.add(1, "order_type");
......@@ -330,7 +330,7 @@ public class POBSRWizIC extends ValidatorEJB
parentNodeList = dom.getElementsByTagName("Detail2");
parentNode = parentNodeList.item(0);
childNodeList = parentNode.getChildNodes();
int childNodeListLength = childNodeList.getLength();
childNodeListLength = childNodeList.getLength();
System.out.println("@@@@@@@@@@@@childNodeListLength[" + childNodeListLength + "]");
for (ctr = 0; ctr < childNodeListLength; ctr++)
{
......
......@@ -2,6 +2,7 @@ package ibase.webitm.ejb.dis.adv;
import ibase.system.config.AppConnectParm;
import ibase.system.config.ConnDriver;
import ibase.utility.UserInfoBean;
import ibase.webitm.ejb.dis.DistCommon;
import ibase.webitm.utility.ITMException;
import java.io.PrintStream;
......@@ -168,7 +169,8 @@ public class POBSRWizWfConf
acp = new AppConnectParm();
ctx = new InitialContext(acp.getProperty());
pobWizSrConfLocal = (POBWizSRConfLocal)ctx.lookup("ibase/POBWizSRConf/local");
//retString = pobWizSrConfLocal.pobsrConfirm(tranId, xtraParams, "Y");
POBWizSRConfLocal pobWizConfLocal = null;
//retString = pobWizSrConfLocal.pobsrConfirm(tranId, xtraParams, "Y");
retString = pobWizConfLocal.pobConfirm(tranId, xtraParams, "Y",userInfoStr);
System.out.println(">>>>In Check POBWizSRWfConf return from confirm:" + retString);
......
......@@ -3,6 +3,7 @@ package ibase.webitm.ejb.dis.adv;
import ibase.system.config.AppConnectParm;
import ibase.system.config.ConnDriver;
import ibase.utility.E12GenericUtility;
import ibase.utility.UserInfoBean;
import ibase.webitm.ejb.ActionHandlerEJB;
import ibase.webitm.ejb.ITMDBAccessEJB;
import ibase.webitm.ejb.MasterStatefulLocal;
......@@ -30,8 +31,7 @@ import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
@Stateless
public class POBWizSRConf extends ActionHandlerEJB
implements POBWizSRConfLocal, POBWizSRConfRemote
public class POBWizSRConf extends ActionHandlerEJB implements POBWizSRConfLocal, POBWizSRConfRemote
{
public String pobConfirm(String tranId, String xtraParams, String forcedFlag) throws RemoteException, ITMException
......@@ -88,7 +88,8 @@ public class POBWizSRConf extends ActionHandlerEJB
{
ConnDriver connDriver = null;
connDriver = new ConnDriver();
//conn = connDriver.getConnectDB("DriverITM");
String transDB = null;
//conn = connDriver.getConnectDB("DriverITM");
if(userInfoStr != null && userInfoStr.trim().length() > 0)
{
UserInfoBean userInfo = new UserInfoBean(userInfoStr);
......@@ -714,7 +715,7 @@ public class POBWizSRConf extends ActionHandlerEJB
pStmt = null;
}
String entityCodeInit = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginEmpCode");
retString = xml2dbObj.invokeWorkflowExternal(domAll, entityCodeInit, wrkflwInit, objName, refSer, tranId);
retString = xml2dbObj.invokeWorkflowExternal(domAll, entityCodeInit, wrkflwInit, objName, refSer, tranId, conn);
System.out.println(">>>retString From xml2dbObj.invokeWorkflowExternal:" + retString);
}
catch (Exception ex)
......@@ -762,4 +763,11 @@ public class POBWizSRConf extends ActionHandlerEJB
}
return "success";
}
@Override
public String pobConfirm(String tranId, String xtraParams, String forcedFlag, String userInfoStr)
throws RemoteException, ITMException {
// TODO Auto-generated method stub
return null;
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment