Commit 7f7029d2 authored by manohar's avatar manohar

This commit was generated by cvs2svn to compensate for changes in r366,

which included commits to RCS files with non-trunk default branches.

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@91431 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 8cb16534
#!/bin/bash
export JAVA_HOME=/usr/java/jdk1.6.0_18
export PATH=$JAVA_HOME/bin:$PATH
export LIBPATH=/home/manohar/software/baseproject/ejb3/lib
export CLASSPATH=$JAVA_HOME/jre/lib/rt.jar
export CLASSPATH=$CLASSPATH:$LIBPATH/mail.jar:$LIBPATH/poi-3.1-FINAL-20080629.jar:$LIBPATH/poi-contrib-3.1-FINAL-20080629.jar:$LIBPATH/poi-scratchpad-3.1-FINAL-20080629.jar:$LIBPATH/jaxrpc.jar:$LIBPATH/ibase-common.jar:$LIBPATH/ibase-webitm.jar:$LIBPATH/ibase-scheduler.jar:$LIBPATH/jboss-javaee.jar:$LIBPATH/jboss-ejb3-common-client.jar:$LIBPATH/jboss-ejb3-core-client.jar:$LIBPATH/log4j.jar:$LIBPATH/ibase-webitm-adm.jar:$LIBPATH/ibase-webitm-dis.jar:$LIBPATH/ibase-webitm-fin.jar:$LIBPATH/ibase-webitm-mfg.jar:$LIBPATH/ibase-webitm-sys.jar:$LIBPATH/webitm4-stubs.jar:$LIBPATH/servlet-api.jar:$LIBPATH/xerces.jar:$LIBPATH/axis.jar:$LIBPATH/easclient.jar:$LIBPATH/classes12.jar
$JAVA_HOME/bin/javac -deprecation -d classes ibase/webitm/ejb/eou/*.java
cd classes
jar -cvfM ../ibase3-webitm-eou2-1-0.jar ibase/webitm/ejb/eou/*.class
This diff is collapsed.
package ibase.webitm.ejb.eou;
import ibase.webitm.ejb.*;
import java.rmi.RemoteException;
import javax.ejb.CreateException;
import ibase.webitm.utility.ITMException;
import org.w3c.dom.*;
import ibase.webitm.ejb.ActionHandlerLocal;
//import javax.ejb.EJBHome;
import javax.ejb.Local;//added for ejb3
//public interface BondHome extends ValidatorHome,EJBHome
@Local
public interface BondLocal extends ValidatorLocal
{
public String wfValData() throws RemoteException,ITMException;
public String wfValData(String xmlString, String xmlString1,String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String wfValData(Document dom, Document dom1,Document dom2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged() throws RemoteException,ITMException;
public String itemChanged(String xmlString, String xmlString1,String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged(Document dom, Document dom1,Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
}
package ibase.webitm.ejb.eou;
import java.rmi.RemoteException;
import org.w3c.dom.*;
//import javax.ejb.EJBObject;
import javax.ejb.Remote;//added for ejb3
import ibase.webitm.ejb.*;
import ibase.webitm.utility.ITMException;
import ibase.webitm.ejb.ActionHandlerRemote;
@Remote
//public interface Bond extends Validator,EJBObject
public interface BondRemote extends ValidatorRemote
{
public String wfValData() throws RemoteException,ITMException;
public String wfValData(String xmlString, String xmlString1,String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String wfValData(Document dom, Document dom1,Document dom2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged() throws RemoteException,ITMException;
public String itemChanged(String xmlString, String xmlString1,String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged(Document dom, Document dom1,Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
}
This diff is collapsed.
package ibase.webitm.ejb.eou;
import ibase.webitm.ejb.*;
import java.rmi.RemoteException;
import javax.ejb.CreateException;
import javax.ejb.Local;//added for ejb3
import ibase.webitm.utility.ITMException;
import ibase.webitm.ejb.ActionHandlerLocal;
import org.w3c.dom.*;
@Local
//public interface CTFORMHome extends ValidatorHome,EJBHome
public interface CTFORMLocal extends ValidatorLocal
{
public String wfValData() throws RemoteException,ITMException;
public String wfValData(String xmlString, String xmlString1,String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String wfValData(Document dom, Document dom1,Document dom2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged() throws RemoteException,ITMException;
public String itemChanged(String xmlString, String xmlString1,String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged(Document dom, Document dom1,Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
}
package ibase.webitm.ejb.eou;
import java.rmi.RemoteException;
import org.w3c.dom.*;
import javax.ejb.Remote;//added for ejb3
import ibase.webitm.ejb.*;
import ibase.webitm.utility.ITMException;
import ibase.webitm.ejb.ValidatorRemote;
@Remote
//public interface CTFORM extends Validator,EJBObject
public interface CTFORMRemote extends ValidatorRemote
{
public String wfValData() throws RemoteException,ITMException;
public String wfValData(String xmlString, String xmlString1,String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String wfValData(Document dom, Document dom1,Document dom2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged() throws RemoteException,ITMException;
public String itemChanged(String xmlString, String xmlString1,String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged(Document dom, Document dom1,Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
}
package ibase.webitm.ejb.eou;
import ibase.webitm.utility.*;
import ibase.utility.CommonConstants;
import ibase.webitm.ejb.*;
import ibase.system.config.*;
import java.rmi.RemoteException;
import java.util.*;
import java.text.*;
import java.sql.*;
import javax.ejb.*;
import javax.naming.InitialContext;
import ibase.system.config.AppConnectParm;
import javax.ejb.Stateless;//added for ejb3
@Stateless
//import ibase.webitm.ejb.MasterStateful;
//import ibase.webitm.ejb.MasterStatefulHome;
//public class CloseCTEJB extends ActionHandlerEJB implements SessionBean
public class CloseCT extends ActionHandlerEJB implements CloseCTLocal, CloseCTRemote
{
GenericUtility genericUtility = GenericUtility.getInstance();
String errorString = null;
/*
public void ejbCreate() throws RemoteException, CreateException
{
System.out.println("Create Method Called....");
}
public void ejbRemove()
{
}
public void ejbActivate()
{
}
public void ejbPassivate()
{
}
*/
public String actionHandler() throws RemoteException,ITMException
{
System.out.println("actionHandler() Method Called....");
return "";
}
public String actionHandler(String xmlString, String xtraParams, String objContext) throws RemoteException,ITMException
{
String retString = null;
System.out.println("Xtra Params : " + xtraParams);
//genericUtility = GenericUtility.getInstance();
try
{
retString = actionConfirm(xmlString, xtraParams);
}
catch(Exception e)
{
System.out.println("Exception :actionHandler(String xmlString):" + e.getMessage() + ":");
e.printStackTrace();
throw new ITMException(e);
}
System.out.println("returning from actionHandler"+retString);
return (retString);
}
private String actionConfirm(String tranID, String xtraParams) throws RemoteException,ITMException, Exception
{
Connection conn = null;
PreparedStatement pstmt = null;
PreparedStatement Dtlpstmt = null;
ResultSet rs = null;
ResultSet Dtlrs = null;
ITMDBAccessEJB itmDBAccessEJB = new ITMDBAccessEJB();
ConnDriver connDriver = new ConnDriver();
String userId ="",loginSite ="",empCode="";
userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginCode");
loginSite = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginSiteCode");
empCode = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginEmpCode");
System.out.println("empCode.......... !"+empCode);
String sql = "";
String retString = "";
int count =0,i=0,upd=0;
System.out.println("tranID ...."+tranID );
ArrayList arrayList =new ArrayList();
ArrayList itemList =new ArrayList();
ArrayList arrayListItem =new ArrayList();
HashMap hm =new HashMap();
HashMap currentMap =new HashMap();
HashMap itemLiscontracmap =new HashMap();
String lsConf = "Y";
String itemCode ="",siteCode ="",unit ="",phyAttrib1="",phyAttrib2 ="",phyAttrib3 ="",phyAttrib4 ="",phyAttrib5 ="",phyAttrib6 ="";
String suppSour="",itemCodenew="",returnString="",item_type="",item_ser="";
String contract="",errorCode ="";
HashMap stkUpdMap = null;
double quantity = 0.0;
double qtyTotal = 0;
double qtySamDbSum = 0.0,qtyUsed =0 ,qty =0;
Timestamp tranDate = null;
double ConvQty = 0, finalTot = 0,ConvQtyTot = 0;
String lotSl = "",lineNo = "",locCode= "",lotNo = "",qtySample = "",convQty = "",unitStd = "",qtyStd = "",remarks = "";
String errString = "",qorderNo = "",status = "",confirmed = "";
try
{
conn = connDriver.getConnectDB("DriverITM");
conn.setAutoCommit(false);
Timestamp currDate = null;
String currAppdate = null;
currDate = new java.sql.Timestamp(System.currentTimeMillis()) ;
System.out.println("\n today date----" + currDate);
userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginEmpCode");
currAppdate = new SimpleDateFormat(genericUtility.getApplDateFormat()).format(currDate).toString();
System.out.println("\n today currDate in apl----" + currAppdate);
currAppdate = genericUtility.getValidDateString(currAppdate,genericUtility.getApplDateFormat(),genericUtility.getDBDateFormat());
System.out.println("\n today currDate in DB----" + currAppdate);
currDate = Timestamp.valueOf(currAppdate + " 00:00:00.00");
System.out.println("\n today currDate in timestamp----" + currDate);
sql = "select status,confirmed from ct3form_hdr where tran_id = '" + tranID +"'";
pstmt = conn.prepareStatement(sql);
rs = pstmt.executeQuery();
while(rs.next() )
{
status = rs.getString(1);
confirmed = rs.getString(2);
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
if((!status.equalsIgnoreCase("C") || !status.equalsIgnoreCase("X")) && confirmed.equalsIgnoreCase("Y") )
{
sql = "select qty_used,quantity from ct3form_det where tran_id = '" + tranID +"'";
pstmt = conn.prepareStatement(sql);
rs = pstmt.executeQuery();
while(rs.next() )
{
qtyUsed = rs.getDouble(1);
qty = rs.getDouble(2);
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
if( qtyUsed == 0)
{
sql = " update ct3form_hdr "
+ " set status = 'X',"
+ " status_date = ? "
+ " where tran_id = '" + tranID + "'";
System.out.println("sql update status:- " + sql);
pstmt = conn.prepareStatement(sql);
pstmt.setTimestamp(1,currDate);
pstmt.executeUpdate();
}
else if( qtyUsed < qty)
{
sql = " update ct3form_hdr "
+ " set status = 'C',"
+ " status_date = ? "
+ " where tran_id = '" + tranID + "'";
System.out.println("sql update status:- " + sql);
pstmt = conn.prepareStatement(sql);
pstmt.setTimestamp(1,currDate);
pstmt.executeUpdate();
}
errString = itmDBAccessEJB.getErrorString("","CTCLOSUCC","BASE");
System.out.println("case !status.equalsIgnoreCase(C) && confirmed.equalsIgnoreCase(Y)");
}
else if(status.equalsIgnoreCase("C") && !confirmed.equalsIgnoreCase("Y") )
{
errString = itmDBAccessEJB.getErrorString("","VTCX","BASE");
System.out.println("case status.equalsIgnoreCase(C) && !confirmed.equalsIgnoreCase(Y)");
}
else if(!status.equalsIgnoreCase("C") && !confirmed.equalsIgnoreCase("Y") )
{
errString = itmDBAccessEJB.getErrorString("","CLOCTN","BASE");
System.out.println("case !status.equalsIgnoreCase(C) && !confirmed.equalsIgnoreCase(Y)");
}
}
catch(Exception e)
{
System.out.println("ConfirmMPSOrderEJB..."+e.getMessage());
e.printStackTrace();
try
{
conn.rollback();
}
catch(Exception e1)
{
System.out.println("ConfirmMPSOrderEJB..."+e1.getMessage());
e1.printStackTrace();
}
}
finally
{
try
{
conn.commit();
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(conn != null)
{
conn.close();
conn = null;
}
if(Dtlrs != null )Dtlrs.close();
Dtlrs = null;
if(Dtlpstmt != null) Dtlpstmt.close();
Dtlpstmt = null;
}
catch(Exception e)
{
System.out.println("Exception ConfirmMPSOrderEJB....... :\n"+e.getMessage());
}
}
System.out.println("retString ::" + errString);
return errString ;
}// end actConfirm
}
package ibase.webitm.ejb.eou;
import java.rmi.RemoteException;
import javax.ejb.CreateException;
import javax.ejb.Local;//added for ejb3
import ibase.webitm.utility.ITMException;
import org.w3c.dom.*;
import ibase.webitm.ejb.ActionHandlerLocal;
//import ibase.webitm.ejb.ActionHandler;
@Local
//public interface CloseCTHome extends ActionHandlerHome,EJBHome
public interface CloseCTLocal extends ActionHandlerLocal
{
public String actionHandler() throws RemoteException,ITMException;
public String actionHandler(String xmlString, String xtraParams, String objContext) throws RemoteException,ITMException;
}
\ No newline at end of file
package ibase.webitm.ejb.eou;
import java.rmi.RemoteException;
//import javax.ejb.EJBObject;
import javax.ejb.Remote;//added for ejb3
import ibase.webitm.utility.ITMException;
import ibase.webitm.ejb.ActionHandlerRemote;
//import ibase.webitm.ejb.ActionHandler;
@Remote
//public interface CloseCT extends ActionHandler,EJBObject
public interface CloseCTRemote extends ActionHandlerRemote
{
public String actionHandler() throws RemoteException,ITMException;
public String actionHandler(String xmlString, String xtraParams, String objContext) throws RemoteException,ITMException;
}
\ No newline at end of file
package ibase.webitm.ejb.eou;
import ibase.webitm.utility.*;
import ibase.utility.CommonConstants;
import ibase.webitm.ejb.*;
import ibase.system.config.*;
import java.rmi.RemoteException;
import java.util.*;
import java.text.*;
import java.sql.*;
import javax.ejb.*;
import javax.naming.InitialContext;
import ibase.system.config.AppConnectParm;
//import ibase.webitm.ejb.MasterStateful;
//import ibase.webitm.ejb.MasterStatefulHome;
import javax.ejb.Stateless;//added for ejb3
@Stateless
//public class ConfirmBondEJB extends ActionHandlerEJB implements SessionBean
public class ConfirmBond extends ActionHandlerEJB implements ConfirmBondLocal,ConfirmBondRemote
{
GenericUtility genericUtility = GenericUtility.getInstance();
String errorString = null;
/*
public void ejbCreate() throws RemoteException, CreateException
{
System.out.println("Create Method Called....");
}
public void ejbRemove()
{
}
public void ejbActivate()
{
}
public void ejbPassivate()
{
}
*/
public String actionHandler() throws RemoteException,ITMException
{
System.out.println("actionHandler() Method Called....");
return "";
}
public String actionHandler(String xmlString, String xtraParams, String objContext) throws RemoteException,ITMException
{
String retString = null;
System.out.println("Xtra Params : " + xtraParams);
//genericUtility = GenericUtility.getInstance();
try
{
retString = actionConfirm(xmlString, xtraParams);
}
catch(Exception e)
{
System.out.println("Exception :actionHandler(String xmlString):" + e.getMessage() + ":");
e.printStackTrace();
throw new ITMException(e);
}
System.out.println("returning from actionHandler"+retString);
return (retString);
}
private String actionConfirm(String tranID, String xtraParams) throws RemoteException,ITMException, Exception
{
Connection conn = null;
PreparedStatement pstmt = null;
PreparedStatement Dtlpstmt = null;
ResultSet rs = null;
ResultSet Dtlrs = null;
ITMDBAccessEJB itmDBAccessEJB = new ITMDBAccessEJB();
ConnDriver connDriver = new ConnDriver();
String userId ="",loginSite ="",empCode="";
userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginCode");
loginSite = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginSiteCode");
empCode = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginEmpCode");
System.out.println("empCode.......... !"+empCode);
String sql = "";
String retString = "";
int count =0,i=0,upd=0;
System.out.println("tranID ...."+tranID );
ArrayList arrayList =new ArrayList();
ArrayList itemList =new ArrayList();
ArrayList arrayListItem =new ArrayList();
HashMap hm =new HashMap();
HashMap currentMap =new HashMap();
HashMap itemLiscontracmap =new HashMap();
String lsConf = "Y";
String itemCode ="",siteCode ="",unit ="",phyAttrib1="",phyAttrib2 ="",phyAttrib3 ="",phyAttrib4 ="",phyAttrib5 ="",phyAttrib6 ="";
String suppSour="",itemCodenew="",returnString="",item_type="",item_ser="";
String contract="",errorCode ="";
HashMap stkUpdMap = null;
double quantity = 0.0;
double qtyTotal = 0;
double qtySamDbSum = 0.0;
Timestamp tranDate = null;
double ConvQty = 0, finalTot = 0,ConvQtyTot = 0;
String qty = "",lotSl = "",lineNo = "",locCode= "",lotNo = "",qtySample = "",convQty = "",unitStd = "",qtyStd = "",remarks = "";
String errString = "",qorderNo = "",confirmed = "";
try
{
conn = connDriver.getConnectDB("DriverITM");
conn.setAutoCommit(false);
Timestamp currDate = null;
String currAppdate = null;
currDate = new java.sql.Timestamp(System.currentTimeMillis()) ;
System.out.println("\n today date----" + currDate);
userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginEmpCode");
currAppdate = new SimpleDateFormat(genericUtility.getApplDateFormat()).format(currDate).toString();
System.out.println("\n today currDate in apl----" + currAppdate);
currAppdate = genericUtility.getValidDateString(currAppdate,genericUtility.getApplDateFormat(),genericUtility.getDBDateFormat());
System.out.println("\n today currDate in DB----" + currAppdate);
currDate = Timestamp.valueOf(currAppdate + " 00:00:00.00");
System.out.println("\n today currDate in timestamp----" + currDate);
sql = "select confirmed from b17_bond where bond_no = '" + tranID +"'";
pstmt = conn.prepareStatement(sql);
rs = pstmt.executeQuery();
while(rs.next() )
{
confirmed = rs.getString(1);
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
if(!confirmed.equalsIgnoreCase("Y") )
{
sql = " update b17_bond "
+ " set confirmed = 'Y',"
+ " conf_date = ? ,"
+ " emp_code__aprv ='" + userId + "'"
+ " where bond_no = '" + tranID+ "'";
System.out.println("\n sql for update----" + sql);
pstmt = conn.prepareStatement(sql);
pstmt.setTimestamp(1, currDate);
pstmt.executeUpdate();
pstmt.close();
pstmt = null;
errString = itmDBAccessEJB.getErrorString("","CONBNDSUCC","BASE");
}
else
{
errString = itmDBAccessEJB.getErrorString("","VTRCONF1","BASE");
}
}
catch(Exception e)
{
System.out.println("ConfirmMPSOrderEJB..."+e.getMessage());
e.printStackTrace();
try
{
conn.rollback();
}
catch(Exception e1)
{
System.out.println("ConfirmMPSOrderEJB..."+e1.getMessage());
e1.printStackTrace();
}
}
finally
{
try
{
conn.commit();
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(conn != null)
{
conn.close();
conn = null;
}
if(Dtlrs != null )Dtlrs.close();
Dtlrs = null;
if(Dtlpstmt != null) Dtlpstmt.close();
Dtlpstmt = null;
}
catch(Exception e)
{
System.out.println("Exception ConfirmMPSOrderEJB....... :\n"+e.getMessage());
}
}
System.out.println("retString ::" + errString);
return errString ;
}// end actConfirm
}
package ibase.webitm.ejb.eou;
import java.rmi.RemoteException;
import javax.ejb.CreateException;
import javax.ejb.Local;//added for ejb3
import ibase.webitm.utility.ITMException;
import org.w3c.dom.*;
import ibase.webitm.ejb.ActionHandlerLocal;
//import ibase.webitm.ejb.ActionHandler;
@Local
//public interface ConfirmBond extends ActionHandlerHome,EJBHome
public interface ConfirmBondLocal extends ActionHandlerLocal
{
public String actionHandler() throws RemoteException,ITMException;
public String actionHandler(String xmlString, String xtraParams, String objContext) throws RemoteException,ITMException;
}
\ No newline at end of file
package ibase.webitm.ejb.eou;
import java.rmi.RemoteException;
//import javax.ejb.EJBObject;
import javax.ejb.Remote;//added for ejb3
import ibase.webitm.utility.ITMException;
import ibase.webitm.ejb.ActionHandlerRemote;
//import ibase.webitm.ejb.ActionHandler;
@Remote
//public interface ConfirmBond extends ActionHandler,EJBObject
public interface ConfirmBondRemote extends ActionHandlerRemote
{
public String actionHandler() throws RemoteException,ITMException;
public String actionHandler(String xmlString, String xtraParams, String objContext) throws RemoteException,ITMException;
}
\ No newline at end of file
package ibase.webitm.ejb.eou;
import ibase.webitm.utility.*;
import ibase.utility.CommonConstants;
import ibase.webitm.ejb.*;
import ibase.system.config.*;
import java.rmi.RemoteException;
import java.util.*;
import java.text.*;
import java.sql.*;
import javax.ejb.*;
import javax.naming.InitialContext;
import ibase.system.config.AppConnectParm;
//import ibase.webitm.ejb.MasterStateful;
//import ibase.webitm.ejb.MasterStatefulHome;
import javax.ejb.Stateless;//added for ejb3
@Stateless
public class ConfirmCTFORM extends ActionHandlerEJB implements ConfirmCTFORMLocal,ConfirmCTFORMRemote
{
GenericUtility genericUtility = GenericUtility.getInstance();
String errorString = null;
/*
public void ejbCreate() throws RemoteException, CreateException
{
System.out.println("Create Method Called....");
}
public void ejbRemove()
{
}
public void ejbActivate()
{
}
public void ejbPassivate()
{
}
*/
public String actionHandler() throws RemoteException,ITMException
{
System.out.println("actionHandler() Method Called....");
return "";
}
public String actionHandler(String xmlString, String xtraParams, String objContext) throws RemoteException,ITMException
{
String retString = null;
System.out.println("Xtra Params : " + xtraParams);
//genericUtility = GenericUtility.getInstance();
try
{
retString = actionConfirm(xmlString, xtraParams);
}
catch(Exception e)
{
System.out.println("Exception :actionHandler(String xmlString):" + e.getMessage() + ":");
e.printStackTrace();
throw new ITMException(e);
}
System.out.println("returning from actionHandler"+retString);
return (retString);
}
private String actionConfirm(String tranID, String xtraParams) throws RemoteException,ITMException, Exception
{
Connection conn = null;
PreparedStatement pstmt = null;
PreparedStatement Dtlpstmt = null,psmt = null,updPsmt = null;
ResultSet rs = null;
ResultSet Dtlrs = null;
ITMDBAccessEJB itmDBAccessEJB = new ITMDBAccessEJB();
ConnDriver connDriver = new ConnDriver();
String userId ="",loginSite ="",empCode="";
userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginCode");
loginSite = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginSiteCode");
empCode = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginEmpCode");
System.out.println("empCode.......... !"+empCode);
String sql = "";
String retString = "";
int count =0,i=0,upd=0;
System.out.println("tranID ...."+tranID );
ArrayList arrayList =new ArrayList();
ArrayList itemList =new ArrayList();
ArrayList arrayListItem =new ArrayList();
HashMap hm =new HashMap();
HashMap currentMap =new HashMap();
HashMap itemLiscontracmap =new HashMap();
String lsConf = "Y";
String itemCode ="",siteCode ="",unit ="",phyAttrib1="",phyAttrib2 ="",phyAttrib3 ="",phyAttrib4 ="",phyAttrib5 ="",phyAttrib6 ="";
String suppSour="",itemCodenew="",returnString="",item_type="",item_ser="";
String contract="",errorCode ="";
HashMap stkUpdMap = null;
double quantity = 0.0;
double qtyTotal = 0;
double qtySamDbSum = 0.0;
Timestamp tranDate = null;
double ConvQty = 0, finalTot = 0,ConvQtyTot = 0;
String qty = "",lotSl = "",lineNo = "",locCode= "",lotNo = "",qtySample = "",convQty = "",unitStd = "",qtyStd = "",remarks = "";
String errString = "",qorderNo = "",qry = "",tranId = "",confirmed = "";
try
{
conn = connDriver.getConnectDB("DriverITM");
conn.setAutoCommit(false);
Timestamp currDate = null;
String currAppdate = null;
currDate = new java.sql.Timestamp(System.currentTimeMillis()) ;
System.out.println("\n today date----" + currDate);
userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginEmpCode");
currAppdate = new SimpleDateFormat(genericUtility.getApplDateFormat()).format(currDate).toString();
System.out.println("\n today currDate in apl----" + currAppdate);
currAppdate = genericUtility.getValidDateString(currAppdate,genericUtility.getApplDateFormat(),genericUtility.getDBDateFormat());
System.out.println("\n today currDate in DB----" + currAppdate);
currDate = Timestamp.valueOf(currAppdate + " 00:00:00.00");
System.out.println("\n today currDate in timestamp----" + currDate);
sql = "select h.confirmed,sum(d.quantity) "
+ " from ct3form_hdr h,ct3form_det d "
+ " where h.tran_id = d.tran_id "
+ " and h.tran_id = '" + tranID +"'"
+ " group by h.confirmed,d.quantity ";
System.out.println("sql----" + sql);
pstmt = conn.prepareStatement(sql);
rs = pstmt.executeQuery();
while(rs.next() )
{
confirmed = rs.getString(1);
quantity = rs.getDouble(2);
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
if(!confirmed.equalsIgnoreCase("Y") && quantity > 0 )
{
sql = " update ct3form_hdr "
+ " set confirmed = 'Y',"
+ " conf_date = ? ,"
+ " emp_code__aprv ='" + userId + "'"
+ " where tran_id = '" + tranID+ "'";
System.out.println("\n sql for update----" + sql);
pstmt = conn.prepareStatement(sql);
pstmt.setTimestamp(1, currDate);
pstmt.executeUpdate();
pstmt.close();
pstmt = null;
errString = itmDBAccessEJB.getErrorString("","CONCTSUCC","BASE");
}
else
{
errString = itmDBAccessEJB.getErrorString("","VTRCONF1","BASE");
}
}
catch(Exception e)
{
System.out.println("ConfirmMPSOrderEJB..."+e.getMessage());
e.printStackTrace();
try
{
conn.rollback();
}
catch(Exception e1)
{
System.out.println("ConfirmMPSOrderEJB..."+e1.getMessage());
e1.printStackTrace();
}
}
finally
{
try
{
conn.commit();
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(conn != null)
{
conn.close();
conn = null;
}
if(Dtlrs != null )Dtlrs.close();
Dtlrs = null;
if(Dtlpstmt != null) Dtlpstmt.close();
Dtlpstmt = null;
}
catch(Exception e)
{
System.out.println("Exception ConfirmMPSOrderEJB....... :\n"+e.getMessage());
}
}
System.out.println("retString ::" + errString);
return errString ;
}// end actConfirm
}
package ibase.webitm.ejb.eou;
import java.rmi.RemoteException;
import javax.ejb.CreateException;
import javax.ejb.Local;// added for ejb3
import ibase.webitm.utility.ITMException;
import org.w3c.dom.*;
import ibase.webitm.ejb.ActionHandlerLocal;
//import ibase.webitm.ejb.ActionHandler;
@Local
//public interface ConfirmCTFORMHome extends ActionHandlerHome,EJBHome
public interface ConfirmCTFORMLocal extends ActionHandlerLocal
{
public String actionHandler() throws RemoteException,ITMException;
public String actionHandler(String xmlString, String xtraParams, String objContext) throws RemoteException,ITMException;
}
\ No newline at end of file
package ibase.webitm.ejb.eou;
import java.rmi.RemoteException;
//import javax.ejb.EJBObject;
import javax.ejb.Remote;//added for ejb3
import ibase.webitm.utility.ITMException;
import ibase.webitm.ejb.ActionHandlerRemote;
//import ibase.webitm.ejb.ActionHandler;
@Remote
//public interface ConfirmCTFORM extends ActionHandler,EJBObject
public interface ConfirmCTFORMRemote extends ActionHandlerRemote
{
public String actionHandler() throws RemoteException,ITMException;
public String actionHandler(String xmlString, String xtraParams, String objContext) throws RemoteException,ITMException;
}
\ No newline at end of file
package ibase.webitm.ejb.eou;
import ibase.webitm.utility.*;
import ibase.utility.CommonConstants;
import ibase.webitm.ejb.*;
import ibase.system.config.*;
import java.rmi.RemoteException;
import java.util.*;
import java.text.*;
import java.sql.*;
import javax.ejb.*;
import javax.naming.InitialContext;
import ibase.system.config.AppConnectParm;
import ibase.webitm.utility.ITMException;
import org.w3c.dom.*;
//import ibase.webitm.ejb.MasterStateful;
//import ibase.webitm.ejb.MasterStatefulHome;
@Stateless // added for ejb3
//public class ConfirmLopEJB extends ActionHandlerEJB implements SessionBean
public class ConfirmLop extends ActionHandlerEJB implements ConfirmLopLocal,ConfirmLopRemote
{
GenericUtility genericUtility = GenericUtility.getInstance();
String errorString = null;
/*
public void ejbCreate() throws RemoteException, CreateException
{
System.out.println("Create Method Called....");
}
public void ejbRemove()
{
}
public void ejbActivate()
{
}
public void ejbPassivate()
{
}
*/
public String actionHandler() throws RemoteException,ITMException
{
System.out.println("actionHandler() Method Called....");
return "";
}
public String actionHandler(String xmlString, String xtraParams, String objContext) throws RemoteException,ITMException
{
String retString = null;
System.out.println("Xtra Params : " + xtraParams);
//genericUtility = GenericUtility.getInstance();
try
{
retString = actionConfirm(xmlString, xtraParams);
}
catch(Exception e)
{
System.out.println("Exception :actionHandler(String xmlString):" + e.getMessage() + ":");
e.printStackTrace();
throw new ITMException(e);
}
System.out.println("returning from actionHandler"+retString);
return (retString);
}
private String actionConfirm(String tranID, String xtraParams) throws RemoteException,ITMException, Exception
{
Connection conn = null;
PreparedStatement pstmt = null;
PreparedStatement Dtlpstmt = null;
ResultSet rs = null;
ResultSet Dtlrs = null;
ITMDBAccessEJB itmDBAccessEJB = new ITMDBAccessEJB();
ConnDriver connDriver = new ConnDriver();
String userId ="",loginSite ="",empCode="";
userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginCode");
loginSite = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginSiteCode");
empCode = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginEmpCode");
System.out.println("empCode.......... !"+empCode);
String sql = "";
String retString = "";
int count =0,i=0,upd=0;
System.out.println("tranID ...."+tranID );
ArrayList arrayList =new ArrayList();
ArrayList itemList =new ArrayList();
ArrayList arrayListItem =new ArrayList();
HashMap hm =new HashMap();
HashMap currentMap =new HashMap();
HashMap itemLiscontracmap =new HashMap();
String lsConf = "Y";
String itemCode ="",siteCode ="",unit ="",phyAttrib1="",phyAttrib2 ="",phyAttrib3 ="",phyAttrib4 ="",phyAttrib5 ="",phyAttrib6 ="";
String suppSour="",itemCodenew="",returnString="",item_type="",item_ser="";
String contract="",errorCode ="";
HashMap stkUpdMap = null;
double quantity = 0.0;
double qtyTotal = 0;
double qtySamDbSum = 0.0;
Timestamp tranDate = null;
double ConvQty = 0, finalTot = 0,ConvQtyTot = 0;
String qty = "",lotSl = "",lineNo = "",locCode= "",lotNo = "",qtySample = "",convQty = "",unitStd = "",qtyStd = "",remarks = "";
String errString = "",qorderNo = "",confirmed = "";
try
{
conn = connDriver.getConnectDB("DriverITM");
conn.setAutoCommit(false);
Timestamp currDate = null;
String currAppdate = null;
currDate = new java.sql.Timestamp(System.currentTimeMillis()) ;
System.out.println("\n today date----" + currDate);
userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginEmpCode");
currAppdate = new SimpleDateFormat(genericUtility.getApplDateFormat()).format(currDate).toString();
System.out.println("\n today currDate in apl----" + currAppdate);
currAppdate = genericUtility.getValidDateString(currAppdate,genericUtility.getApplDateFormat(),genericUtility.getDBDateFormat());
System.out.println("\n today currDate in DB----" + currAppdate);
currDate = Timestamp.valueOf(currAppdate + " 00:00:00.00");
System.out.println("\n today currDate in timestamp----" + currDate);
sql = "select confirmed from lop_hdr where lop_ref_no = '" + tranID +"'";
pstmt = conn.prepareStatement(sql);
rs = pstmt.executeQuery();
while(rs.next() )
{
confirmed = rs.getString(1);
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
if(confirmed == null || confirmed.trim().length() == 0 || !confirmed.equalsIgnoreCase("Y") )
{
sql = " update lop_hdr "
+ " set confirmed = 'Y',"
+ " conf_date = ? ,"
+ " emp_code__aprv ='" + userId + "'"
+ " where lop_ref_no = '" + tranID+ "'";
System.out.println("\n sql for update----" + sql);
pstmt = conn.prepareStatement(sql);
pstmt.setTimestamp(1, currDate);
pstmt.executeUpdate();
pstmt.close();
pstmt = null;
errString = itmDBAccessEJB.getErrorString("","CONLOPSUCC","BASE");
}
else
{
errString = itmDBAccessEJB.getErrorString("","VTRCONF1","BASE");
}
}
catch(Exception e)
{
System.out.println("ConfirmMPSOrderEJB..."+e.getMessage());
e.printStackTrace();
try
{
conn.rollback();
}
catch(Exception e1)
{
System.out.println("ConfirmMPSOrderEJB..."+e1.getMessage());
e1.printStackTrace();
}
}
finally
{
try
{
conn.commit();
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(conn != null)
{
conn.close();
conn = null;
}
if(Dtlrs != null )Dtlrs.close();
Dtlrs = null;
if(Dtlpstmt != null) Dtlpstmt.close();
Dtlpstmt = null;
}
catch(Exception e)
{
System.out.println("Exception ConfirmMPSOrderEJB....... :\n"+e.getMessage());
}
}
System.out.println("retString ::" + errString);
return errString ;
}// end actConfirm
}
This diff is collapsed.
package ibase.webitm.ejb.eou;
import java.rmi.RemoteException;
import javax.ejb.CreateException;
import javax.ejb.Local; // added for ejb3
import ibase.webitm.ejb.ActionHandlerLocal;
//import ibase.webitm.ejb.ActionHandler;
import ibase.webitm.utility.ITMException;
//import org.w3c.dom.*;
@Local
//public interface ConfirmLopAmdHome extends ActionHandlerHome,EJBHome
public interface ConfirmLopAmdLocal extends ActionHandlerLocal
{
public String actionHandler() throws RemoteException,ITMException;
public String actionHandler(String xmlString, String xtraParams, String objContext) throws RemoteException,ITMException;
}
\ No newline at end of file
package ibase.webitm.ejb.eou;
import java.rmi.RemoteException;
import javax.ejb.Remote; //added for ejb3
import ibase.webitm.utility.ITMException;
import ibase.webitm.ejb.ActionHandlerRemote;
@Remote
//public interface ConfirmLopAmd extends ActionHandler,EJBObject
public interface ConfirmLopAmdRemote extends ActionHandlerRemote
{
public String actionHandler() throws RemoteException,ITMException;
public String actionHandler(String xmlString, String xtraParams, String objContext) throws RemoteException,ITMException;
}
\ No newline at end of file
package ibase.webitm.ejb.eou;
import java.rmi.RemoteException;
import javax.ejb.CreateException;
import javax.ejb.Local; //added for ejb3
import ibase.webitm.ejb.ActionHandlerLocal;
import ibase.webitm.utility.ITMException;
//import org.w3c.dom.*;
//import ibase.webitm.ejb.ActionHandler;
@Local
//public interface ConfirmLopHome extends ActionHandlerHome,EJBHome
public interface ConfirmLopLocal extends ActionHandlerLocal
{
public String actionHandler() throws RemoteException,ITMException;
public String actionHandler(String xmlString, String xtraParams, String objContext) throws RemoteException,ITMException;
}
\ No newline at end of file
package ibase.webitm.ejb.eou;
import java.rmi.RemoteException;
import javax.ejb.Remote; // added for ejb3
import ibase.webitm.utility.ITMException;
import ibase.webitm.ejb.ActionHandlerRemote;
@Remote
//public interface ConfirmLop extends ActionHandler,EJBObject
public interface ConfirmLopRemote extends ActionHandlerRemote
{
public String actionHandler() throws RemoteException,ITMException;
public String actionHandler(String xmlString, String xtraParams, String objContext) throws RemoteException,ITMException;
}
\ No newline at end of file
package ibase.webitm.ejb.eou;
import ibase.webitm.utility.*;
import ibase.utility.CommonConstants;
import ibase.webitm.ejb.*;
import ibase.system.config.*;
import java.rmi.RemoteException;
import java.util.*;
import java.text.*;
import java.sql.*;
import javax.ejb.*;
import javax.naming.InitialContext;
import ibase.system.config.AppConnectParm;
//import ibase.webitm.ejb.MasterStateful;
//import ibase.webitm.ejb.MasterStatefulHome;
@Stateless //added for ejb3
//public class ConfirmProofOfExpEJB extends ActionHandlerEJB implements SessionBean
public class ConfirmProofOfExp extends ActionHandlerEJB implements ConfirmProofOfExpLocal,ConfirmProofOfExpRemote
{
GenericUtility genericUtility = GenericUtility.getInstance();
String errorString = null;
/*
public void ejbCreate() throws RemoteException, CreateException
{
System.out.println("Create Method Called....");
}
public void ejbRemove()
{
}
public void ejbActivate()
{
}
public void ejbPassivate()
{
}*/
public String actionHandler() throws RemoteException,ITMException
{
System.out.println("actionHandler() Method Called....");
return "";
}
public String actionHandler(String xmlString, String xtraParams, String objContext) throws RemoteException,ITMException
{
String retString = null;
System.out.println("Xtra Params : " + xtraParams);
//genericUtility = GenericUtility.getInstance();
try
{
retString = actionConfirm(xmlString, xtraParams);
}
catch(Exception e)
{
System.out.println("Exception :actionHandler(String xmlString):" + e.getMessage() + ":");
e.printStackTrace();
throw new ITMException(e);
}
System.out.println("returning from actionHandler"+retString);
return (retString);
}
private String actionConfirm(String tranID, String xtraParams) throws RemoteException,ITMException, Exception
{
Connection conn = null;
PreparedStatement pstmt = null;
PreparedStatement Dtlpstmt = null;
ResultSet rs = null;
ResultSet Dtlrs = null;
ITMDBAccessEJB itmDBAccessEJB = new ITMDBAccessEJB();
ConnDriver connDriver = new ConnDriver();
String userId ="",loginSite ="",empCode="";
userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginCode");
loginSite = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginSiteCode");
empCode = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginEmpCode");
System.out.println("empCode.......... !"+empCode);
String sql = "";
String retString = "";
int count =0,i=0,upd=0;
System.out.println("tranID ...."+tranID );
ArrayList arrayList =new ArrayList();
ArrayList itemList =new ArrayList();
ArrayList arrayListItem =new ArrayList();
HashMap hm =new HashMap();
HashMap currentMap =new HashMap();
HashMap itemLiscontracmap =new HashMap();
String lsConf = "Y";
String itemCode ="",siteCode ="",unit ="",phyAttrib1="",phyAttrib2 ="",phyAttrib3 ="",phyAttrib4 ="",phyAttrib5 ="",phyAttrib6 ="";
String suppSour="",itemCodenew="",returnString="",item_type="",item_ser="";
String contract="",errorCode ="";
HashMap stkUpdMap = null;
double quantity = 0.0;
double qtyTotal = 0;
double qtySamDbSum = 0.0;
Timestamp tranDate = null;
double ConvQty = 0, finalTot = 0,ConvQtyTot = 0;
String qty = "",lotSl = "",lineNo = "",locCode= "",lotNo = "",qtySample = "",convQty = "",unitStd = "",qtyStd = "",remarks = "";
String errString = "",qorderNo = "",confirmed = "";
try
{
conn = connDriver.getConnectDB("DriverITM");
conn.setAutoCommit(false);
Timestamp currDate = null;
String currAppdate = null;
currDate = new java.sql.Timestamp(System.currentTimeMillis()) ;
System.out.println("\n today date----" + currDate);
userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginEmpCode");
currAppdate = new SimpleDateFormat(genericUtility.getApplDateFormat()).format(currDate).toString();
System.out.println("\n today currDate in apl----" + currAppdate);
currAppdate = genericUtility.getValidDateString(currAppdate,genericUtility.getApplDateFormat(),genericUtility.getDBDateFormat());
System.out.println("\n today currDate in DB----" + currAppdate);
currDate = Timestamp.valueOf(currAppdate + " 00:00:00.00");
System.out.println("\n today currDate in timestamp----" + currDate);
sql = "select confirmed from proof_of_exp_hdr where tran_id = '" + tranID +"'";
pstmt = conn.prepareStatement(sql);
rs = pstmt.executeQuery();
while(rs.next() )
{
confirmed = rs.getString(1);
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
if(!confirmed.equalsIgnoreCase("Y") )
{
sql = " update proof_of_exp_hdr "
+ " set confirmed = 'Y',"
+ " conf_date = ? ,"
+ " emp_code__aprv ='" + userId + "'"
+ " where tran_id = '" + tranID+ "'";
System.out.println("\n sql for update----" + sql);
pstmt = conn.prepareStatement(sql);
pstmt.setTimestamp(1, currDate);
pstmt.executeUpdate();
pstmt.close();
pstmt = null;
errString = itmDBAccessEJB.getErrorString("","CONPRFSUCC","BASE");
}
else
{
errString = itmDBAccessEJB.getErrorString("","VTRCONF1","BASE");
}
}
catch(Exception e)
{
System.out.println("ConfirmMPSOrderEJB..."+e.getMessage());
e.printStackTrace();
try
{
conn.rollback();
}
catch(Exception e1)
{
System.out.println("ConfirmMPSOrderEJB..."+e1.getMessage());
e1.printStackTrace();
}
}
finally
{
try
{
conn.commit();
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(conn != null)
{
conn.close();
conn = null;
}
if(Dtlrs != null )Dtlrs.close();
Dtlrs = null;
if(Dtlpstmt != null) Dtlpstmt.close();
Dtlpstmt = null;
}
catch(Exception e)
{
System.out.println("Exception ConfirmMPSOrderEJB....... :\n"+e.getMessage());
}
}
System.out.println("retString ::" + errString);
return errString ;
}// end actConfirm
}
package ibase.webitm.ejb.eou;
import java.rmi.RemoteException;
import javax.ejb.CreateException;
import javax.ejb.Local;//added for ejb3
import ibase.webitm.utility.ITMException;
import org.w3c.dom.*;
import ibase.webitm.ejb.ActionHandlerLocal;
//import ibase.webitm.ejb.ActionHandler;
@Local
//public interface ConfirmProofOfExpHome extends ActionHandlerHome,EJBHome
public interface ConfirmProofOfExpLocal extends ActionHandlerLocal
{
public String actionHandler() throws RemoteException,ITMException;
public String actionHandler(String xmlString, String xtraParams, String objContext) throws RemoteException,ITMException;
}
\ No newline at end of file
package ibase.webitm.ejb.eou;
import java.rmi.RemoteException;
import javax.ejb.Remote;//added for ejb3
import ibase.webitm.utility.ITMException;
import ibase.webitm.ejb.ActionHandlerRemote;
//import ibase.webitm.ejb.ActionHandler;
@Remote
//public interface ConfirmProofOfExp extends ActionHandler,EJBObject
public interface ConfirmProofOfExpRemote extends ActionHandlerRemote
{
public String actionHandler() throws RemoteException,ITMException;
public String actionHandler(String xmlString, String xtraParams, String objContext) throws RemoteException,ITMException;
}
\ No newline at end of file
This diff is collapsed.
package ibase.webitm.ejb.eou;
import ibase.webitm.ejb.*;
import java.rmi.RemoteException;
import javax.ejb.CreateException;
import javax.ejb.Local; //added for ejb3
import ibase.webitm.utility.ITMException;
import ibase.webitm.ejb.ActionHandlerLocal;
import org.w3c.dom.*;
@Local
//public interface LOPHome extends ValidatorHome,EJBHome
public interface LOPLocal extends ValidatorLocal
{
public String wfValData() throws RemoteException,ITMException;
public String wfValData(String xmlString, String xmlString1,String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String wfValData(Document dom, Document dom1,Document dom2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged() throws RemoteException,ITMException;
public String itemChanged(String xmlString, String xmlString1,String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged(Document dom, Document dom1,Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
}
\ No newline at end of file
package ibase.webitm.ejb.eou;
import java.rmi.RemoteException;
import org.w3c.dom.*;
import javax.ejb.Remote; // added for ejb3
import ibase.webitm.ejb.*;
import ibase.webitm.utility.ITMException;
import ibase.webitm.ejb.ValidatorRemote;
@Remote
//public interface LOP extends Validator,EJBObject
public interface LOPRemote extends ValidatorRemote
{
public String wfValData() throws RemoteException,ITMException;
public String wfValData(String xmlString, String xmlString1,String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String wfValData(Document dom, Document dom1,Document dom2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged() throws RemoteException,ITMException;
public String itemChanged(String xmlString, String xmlString1,String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged(Document dom, Document dom1,Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
}
This diff is collapsed.
package ibase.webitm.ejb.eou;
import ibase.webitm.ejb.*;
import java.rmi.RemoteException;
import javax.ejb.CreateException;
import javax.ejb.Local; // added for ejb3
import ibase.webitm.ejb.ValidatorLocal;
import ibase.webitm.utility.ITMException;
import org.w3c.dom.*;
@Local
//public interface LopAmdHome extends ValidatorHome,EJBHome
public interface LopAmdLocal extends ValidatorLocal
{
public String wfValData() throws RemoteException,ITMException;
public String wfValData(String xmlString, String xmlString1,String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String wfValData(Document dom, Document dom1,Document dom2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged() throws RemoteException,ITMException;
public String itemChanged(String xmlString, String xmlString1,String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged(Document dom, Document dom1,Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
}
\ No newline at end of file
package ibase.webitm.ejb.eou;
import java.rmi.RemoteException;
import org.w3c.dom.*;
import javax.ejb.Remote; // added for ejb3
import ibase.webitm.ejb.*;
import ibase.webitm.utility.ITMException;
import ibase.webitm.ejb.ValidatorRemote;
@Remote
//public interface LopAmd extends Validator,EJBObject
public interface LopAmdRemote extends ValidatorRemote
{
public String wfValData() throws RemoteException,ITMException;
public String wfValData(String xmlString, String xmlString1,String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String wfValData(Document dom, Document dom1,Document dom2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged() throws RemoteException,ITMException;
public String itemChanged(String xmlString, String xmlString1,String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged(Document dom, Document dom1,Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
}
This diff is collapsed.
package ibase.webitm.ejb.eou;
import ibase.webitm.ejb.*;
import java.rmi.RemoteException;
import javax.ejb.CreateException;
import javax.ejb.Local; //added for ejb3
import ibase.webitm.utility.ITMException;
import org.w3c.dom.*;
import ibase.webitm.ejb.ActionHandlerLocal;
@Local
//public interface ProofOfExpHome extends ValidatorHome,EJBHome
public interface ProofOfExpLocal extends ValidatorLocal
{
public String wfValData() throws RemoteException,ITMException;
public String wfValData(String xmlString, String xmlString1,String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String wfValData(Document dom, Document dom1,Document dom2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged() throws RemoteException,ITMException;
public String itemChanged(String xmlString, String xmlString1,String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged(Document dom, Document dom1,Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
}
\ No newline at end of file
package ibase.webitm.ejb.eou;
import java.rmi.RemoteException;
import org.w3c.dom.*;
import javax.ejb.Remote; // added for ejb3
import ibase.webitm.ejb.*;
import ibase.webitm.utility.ITMException;
import ibase.webitm.ejb.ValidatorRemote;
@Remote
//public interface ProofOfExp extends Validator,EJBObject
public interface ProofOfExpRemote extends ValidatorRemote
{
public String wfValData() throws RemoteException,ITMException;
public String wfValData(String xmlString, String xmlString1,String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String wfValData(Document dom, Document dom1,Document dom2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged() throws RemoteException,ITMException;
public String itemChanged(String xmlString, String xmlString1,String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged(Document dom, Document dom1,Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
}
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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