Commit 99440989 authored by agaikwad's avatar agaikwad

Rename Component Name.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@103668 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 1c8a9034
package ibase.webitm.ejb.fin;
import java.rmi.RemoteException;
import java.text.*;
import java.sql.*;
import org.w3c.dom.*;
import javax.ejb.*;
import ibase.system.config.ConnDriver;
import ibase.utility.E12GenericUtility;
import ibase.webitm.ejb.ValidatorEJB;
import ibase.webitm.ejb.ITMDBAccessEJB;
import ibase.webitm.utility.*;
import javax.ejb.Stateless; // added for ejb3
@Stateless // added for ejb3
public class PayVoucherComIc extends ValidatorEJB implements PayVoucherComIcLocal,PayVoucherComIcRemote // SessionBean
{
/*public void ejbCreate() throws RemoteException,CreateException{
}
public void ejbRemove(){
}
public void setSessionContext(SessionContext sess){
} */
public String itemChanged(String xmlString, String xmlString1,String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException
{
String resultString = "";
Document dom = null,dom1 = null,dom2 = null;
E12GenericUtility genericUtility = new E12GenericUtility();
try{
if(xmlString != null){
dom = genericUtility.parseString(xmlString);
}
if(xmlString1 != null){
dom1 = genericUtility.parseString(xmlString1);
}
if(xmlString2 != null){
dom2 = genericUtility.parseString(xmlString2);
}
resultString = itemChanged(dom,dom1,dom2,objContext,currentColumn,editFlag,xtraParams);
}catch(ITMException e){
System.out.println("ITMException "+e);
e.printStackTrace();
throw e;
}
catch(Exception e){
System.out.println("Exception in itemchange "+e);
e.printStackTrace();
throw new ITMException(e);
}
return resultString;
}
public String itemChanged(Document dom,Document dom1,Document dom2,String objContext, String currentColumn, String editFlag, String xtraParams) throws ITMException
{
Connection conn = null;
PreparedStatement pstmt = null;
ResultSet rs = null;
String sql="";
ConnDriver connDriver = new ConnDriver();
java.util.Date currDate = new java.util.Date(System.currentTimeMillis());
String dateStr = "";
String descr = "",currcode = "",currdescr="";
double stdexrt=0;
StringBuffer valueXmlString = new StringBuffer();
String loginSite = "";
E12GenericUtility genericUtility = new E12GenericUtility();
try{
//Changes and Commented By Bhushan on 06-06-2016 :START
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
//Changes and Commented By Bhushan on 06-06-2016 :END
conn.setAutoCommit(false);
connDriver = null;
FinCommon finCommon = new FinCommon();
SimpleDateFormat sdf = new SimpleDateFormat(genericUtility.getApplDateFormat());
dateStr = sdf.format(currDate);
loginSite = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginSite");
valueXmlString = new StringBuffer("<?xml version=\"1.0\"?><Root><header><editFlag>");
valueXmlString.append(editFlag).append("</editFlag></header>");
valueXmlString.append("<Detail1>");
if(currentColumn.equalsIgnoreCase("itm_default"))
{
valueXmlString.append("<proc_date>").append(dateStr).append("</proc_date>\r\n");
valueXmlString.append("<site_code__fr>").append(loginSite).append("</site_code__fr>\r\n");
valueXmlString.append("<site_code__to>").append(loginSite).append("</site_code__to>\r\n");
valueXmlString.append("<tran_date__fr>").append(dateStr).append("</tran_date__fr>\r\n");
valueXmlString.append("<tran_date__to>").append(dateStr).append("</tran_date__to>\r\n");
valueXmlString.append("<site_code>").append(loginSite).append("</site_code>\r\n");
sql = "select descr from site where site_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,loginSite);
rs = pstmt.executeQuery();
if(rs.next())
{
descr = checknull(rs.getString("descr"));
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
System.out.println("itm default description is :"+ descr);
valueXmlString.append("<site__code_fr>").append(descr).append("</site__code_fr>\r\n");
valueXmlString.append("<site__code_to>").append(descr).append("</site__code_to>\r\n");
valueXmlString.append("<payable_site>").append(descr).append("</payable_site>\r\n");
sql = "select curr_code from finent where fin_entity in (select fin_entity from site where site_code = ?)";
System.out.println("SQL :: "+sql);
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,loginSite);
rs = pstmt.executeQuery();
if(rs.next())
{
currcode =checknull(rs.getString("curr_code"));
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
System.out.println("curr_code"+ currcode);
sql = "select std_exrt, descr from currency where curr_code = ?";
System.out.println("SQL :: "+sql);
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,currcode);
rs = pstmt.executeQuery();
if(rs.next()){
stdexrt = rs.getDouble("std_exrt");
currdescr =checknull(rs.getString("descr"));
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
String acctcode="",descr1="",remarks="";
valueXmlString.append("<curr_code>").append(currcode).append("</curr_code>\r\n");
valueXmlString.append("<curr_descr>").append(currdescr).append("</curr_descr>\r\n");
valueXmlString.append("<exch_rate>").append(stdexrt).append("</exch_rate>\r\n");
acctcode = finCommon.getFinparams("999999","DIS_EXP_RECO_FEA",conn);
valueXmlString.append("<acct_code>").append(acctcode).append("</acct_code>\r\n");
sql="select descr from accounts where acct_code = ?";
System.out.println("SQL :: "+sql);
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,acctcode);
rs = pstmt.executeQuery();
if(rs.next())
{
descr1 = checknull(rs.getString("descr"));
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
System.out.println("descr1 :: "+descr1);
valueXmlString.append("<acct_descr>").append(descr1).append("</acct_descr>\r\n");
remarks = finCommon.getFinparams("999999", "PUR_EXP_REMARKS",conn);
valueXmlString.append("<remarks>").append(remarks).append("</remarks>\r\n");
}
else if(currentColumn.equalsIgnoreCase("acct_code"))
{
String acctcode="",descracct="";
acctcode = genericUtility.getColumnValue("acct_code",dom);
sql = "select descr from accounts where acct_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,acctcode);
rs = pstmt.executeQuery();
if(rs.next())
{
descracct = checknull(rs.getString("descr"));
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
System.out.println("descracct :: "+descracct);
valueXmlString.append("<acct_descr>").append(descracct).append("</acct_descr>\r\n");
}
else if(currentColumn.equalsIgnoreCase("acct_code__adl"))
{
String acctcodeadl="", descracct1="";
acctcodeadl = genericUtility.getColumnValue("acct_code__adl",dom);
sql = "select descr from accounts where acct_code = ?";
System.out.println("SQL :: "+sql);
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,acctcodeadl);
rs = pstmt.executeQuery();
if(rs.next())
{
descracct1 = checknull(rs.getString("descr"));
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
System.out.println("descracct1 :: "+descracct1);
valueXmlString.append("<add_acct_descr>").append(descracct1).append("</add_acct_descr >\r\n");
}
else if(currentColumn.equalsIgnoreCase("supp_code"))
{
String suppcode="",suppname="";
suppcode = genericUtility.getColumnValue("supp_code",dom);
sql = "select supp_name from supplier where supp_code = ?";
System.out.println("SQL :: "+sql);
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,suppcode);
rs = pstmt.executeQuery();
if(rs.next())
{
suppname = checknull(rs.getString("supp_name"));
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
System.out.println("suppname :: "+suppname);
valueXmlString.append("<supp__name>").append(descr).append("</supp__name>\r\n");
}
else if(currentColumn.equalsIgnoreCase("curr_code"))
{
String sitecode="",trandt="",currcodebase="",currdescr1="";
double exchrate=0;
sitecode = genericUtility.getColumnValue("site_code__to",dom);
trandt = genericUtility.getColumnValue("tran_date__fr",dom);
currcodebase= genericUtility.getColumnValue("curr_code", dom);
System.out.println("Currency Code is"+ currcodebase );
/* sql="select a.curr_code from finent a, site b where b.fin_entity = a.fin_entity and b.site_code = ?";
System.out.println("SQL :: "+sql);
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,sitecode);
rs = pstmt.executeQuery();
if(rs.next())
{
currcodebase = checknull(rs.getString("curr_code"));
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
currcode = genericUtility.getColumnValue("curr_code",dom);
valueXmlString.append("<curr_code>").append(currcodebase).append("</curr_code>\r\n");*/
sql="select descr from currency where curr_code = ?";
System.out.println("SQL :: "+sql);
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,currcodebase);
rs = pstmt.executeQuery();
if(rs.next())
{
currdescr1 = checknull(rs.getString("descr"));
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
System.out.println("currdescr1 :: "+currdescr1);
valueXmlString.append("<curr_descr>").append(currdescr1).append("</curr_descr>\r\n");
}
else if(currentColumn.equalsIgnoreCase("site_code__fr"))
{
String siteCodefr="",descr11="";
siteCodefr= genericUtility.getColumnValue("site_code__fr", dom);
sql="select descr from site where site_code= ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,siteCodefr);
rs = pstmt.executeQuery();
if(rs.next())
{
descr11 = checknull(rs.getString("descr"));
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
System.out.println("descr11 :: "+descr11);
valueXmlString.append("<site__code_fr>").append(descr11).append("</site__code_fr>\r\n");
}
else if(currentColumn.equalsIgnoreCase("site_code__to"))
{
String siteCodeto="",descr12="";
siteCodeto= genericUtility.getColumnValue("site_code__to", dom);
sql="select descr from site where site_code=?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,siteCodeto);
rs = pstmt.executeQuery();
if(rs.next())
{
descr12 = checknull(rs.getString("descr"));
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
System.out.println("descr12 :: "+descr12);
valueXmlString.append("<site__code_to>").append(descr12).append("</site__code_to>\r\n");
}
else if(currentColumn.equalsIgnoreCase("supp_code__fr"))
{
String suppcode="",suppname="",chargetype="";
suppcode= genericUtility.getColumnValue("supp_code__fr", dom);
chargetype=genericUtility.getColumnValue("charge_type", dom);
if(chargetype.equalsIgnoreCase("L"))
{
sql="select supp_name from supplier where supp_code=?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,suppcode);
rs = pstmt.executeQuery();
if(rs.next())
{
suppname = checknull(rs.getString("supp_name"));
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
System.out.println("suppname :: "+suppname);
valueXmlString.append("<supp__name_fr>").append(suppname).append("</supp__name_fr>\r\n");
}
else if(chargetype.equalsIgnoreCase("F") || chargetype.equalsIgnoreCase("D"))
{
String tranname="";
sql="select tran_name from transporter where tran_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,suppcode);
rs = pstmt.executeQuery();
if(rs.next())
{
tranname = checknull(rs.getString("tran_name"));
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
System.out.println("tranname :: "+tranname);
valueXmlString.append("<supp__name_fr>").append(tranname).append("</supp__name_fr>\r\n");
}
else if(chargetype.equalsIgnoreCase("C"))
{
String tauthname="";
sql="select tauth_name from TAX_AUTHORITY where TAUTH_CODE= ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, suppcode);
rs = pstmt.executeQuery();
if(rs.next())
{
tauthname = checknull(rs.getString("tauth_name"));;
}
rs.close();
rs=null;
pstmt.close();
pstmt=null;
System.out.println("tauth_name :: "+tauthname);
valueXmlString.append("<supp__name_fr>").append(tauthname).append("</supp__name_fr>\r\n");
}
}
else if(currentColumn.equalsIgnoreCase("site_code"))
{
String siteCode="",siteDecr="",ls_currcode="",ls_currdescr="";
double lc_exchrate=0;
siteCode=getColumnValue("site_code", dom);
sql="select descr from site where site_code= ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,siteCode);
rs = pstmt.executeQuery();
if(rs.next())
{
siteDecr=checknull(rs.getString("descr"));
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
System.out.println("siteDecr :: "+siteDecr);
valueXmlString.append("<payable_site>").append(siteDecr).append("</payable_site>\r\n");
valueXmlString.append("<site__code_fr>").append(siteCode).append("</site__code_fr>\r\n");
valueXmlString.append("<site_code__to>").append(siteCode).append("</site_code__to>\r\n");
valueXmlString.append("<site__code_to>").append(siteDecr).append("</site__code_to>\r\n");
valueXmlString.append("<site__code_fr>").append(siteDecr).append("</site__code_fr>\r\n");
sql="select curr_code from finent where fin_entity in(select fin_entity from site where site_code= ?)";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,siteCode);
rs = pstmt.executeQuery();
if(rs.next())
{
ls_currcode=checknull(rs.getString("curr_code"));
}
rs.close();
rs = null;
pstmt.close();
pstmt=null;
sql="select std_exrt,descr from currency where curr_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,ls_currcode);
rs = pstmt.executeQuery();
if(rs.next())
{
lc_exchrate=rs.getDouble("std_exrt");
ls_currdescr=checknull(rs.getString("descr"));
}
rs.close();
rs = null;
pstmt.close();
pstmt=null;
valueXmlString.append("<curr_code>").append(ls_currcode).append("</curr_code>\r\n");
valueXmlString.append("<curr_descr>").append(ls_currdescr).append("</curr_descr>\r\n");
valueXmlString.append("<exch_rate>").append(lc_exchrate).append("</exch_rate>\r\n");
}
valueXmlString.append("</Detail1>");
valueXmlString.append("</Root>");
}
catch(ITMException e){
throw e;
}
catch(Exception e){
throw new ITMException(e);
}
finally{
try{
if(rs != null){
rs.close();
rs = null;
}
if(pstmt != null){
pstmt.close();
pstmt = null;
}
if(conn != null){
conn.close();
conn = null;
}
}catch(Exception e){}
}
return valueXmlString.toString();
}
/*public String wfValData(String xmlString, String xmlString1,String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException
{
Document dom = null,dom1 = null,dom2 = null;
String returnString = "";
try{
System.out.println("xmlString :"+xmlString+"\nxmlString1 : "+xmlString1+"\nxmlString2 : "+xmlString2);
if(xmlString != null){
dom = GenericUtility.getInstance().parseString(xmlString);
}
if(xmlString1 != null){
dom1 = GenericUtility.getInstance().parseString(xmlString1);
}
if(xmlString2 != null){
dom2 = GenericUtility.getInstance().parseString(xmlString2);
}
returnString = wfValData(dom,dom1,dom2,objContext,editFlag,xtraParams);
}catch(ITMException e){
System.out.println("ITMException "+e);
e.printStackTrace();
throw e;
}
catch(Exception e){
System.out.println("Exception in Validation : "+e);
e.printStackTrace();
throw new ITMException(e);
}
return returnString;
}
/*public String wfValData(Document dom,Document dom1,Document dom2,String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException
{
Connection conn = null;
PreparedStatement pstmt = null;
ResultSet rs = null;
String sql = "";
Node detail = null;
NodeList childNodes = null;
Node currNode = null;
String nodeName = "";
String columnValue = "";
int detailLength = 0;
String errCode = "",errString = "",userId = "";
String acctcode="",cctrcode="",siteCode="",suppcodefr="",chargeType="",currCode="";
int cntact=0,cntcctr=0,cntsite=0,cntcurr=0;
int cntF=0,cntL=0,cntC=0;
ITMDBAccessEJB itmDBAccess = new ITMDBAccessEJB();
SimpleDateFormat sdf = null;
try
{
conn = getConnection();
sdf = new SimpleDateFormat(GenericUtility.getInstance().getApplDateFormat());
userId = GenericUtility.getInstance().getValueFromXTRA_PARAMS(xtraParams,"termId");
detail = dom.getElementsByTagName("Detail2").item(0);
childNodes = detail.getChildNodes();
detailLength = childNodes.getLength();
for(int i = 0;i < detailLength;i++)
{
currNode = childNodes.item(i);
nodeName = currNode.getNodeName();
if(nodeName.equalsIgnoreCase("acct_code"))
{
acctcode=GenericUtility.getInstance().getColumnValue("acct_code", dom);
sql="select count(*) from accounts where acct_code=?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, acctcode);
rs = pstmt.executeQuery();
if(rs.next())
{
cntact=rs.getInt(1);
}
rs.close();
rs=null;
pstmt.close();
pstmt=null;
if(cntact==0)
{
errString = itmDBAccess.getErrorString("acct_code","ACCT01",userId);
break;
}
}
else if(nodeName.equalsIgnoreCase("cctr_code"))
{
cctrcode=GenericUtility.getInstance().getColumnValue("cctr_code", dom);
sql="select count(*) from costctr where cctr_code= ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, cctrcode);
rs = pstmt.executeQuery();
if(rs.next())
{
cntcctr=rs.getInt(1);
}
rs.close();
rs=null;
pstmt.close();
pstmt=null;
if(cntcctr == 0)
{
errString = itmDBAccess.getErrorString("cctr_code","VTCCTR",userId);
break;
}
}
else if(nodeName.equalsIgnoreCase("site_code"))
{
siteCode=GenericUtility.getInstance().getColumnValue("site_code", dom);
sql="select count(*) from site where site_code=?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, siteCode);
rs = pstmt.executeQuery();
if(rs.next())
{
cntsite=rs.getInt(1);
}
rs.close();
rs=null;
pstmt.close();
pstmt=null;
if(cntsite == 0)
{
errString = itmDBAccess.getErrorString("site_code","VMSITE1",userId);
break;
}
}
else if(nodeName.equalsIgnoreCase("supp_code__fr"))
{
suppcodefr=GenericUtility.getInstance().getColumnValue("supp_code__fr", dom);
if(chargeType.equalsIgnoreCase("F"))
{
sql="select count(*) from transporter where tran_code=?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, suppcodefr);
rs = pstmt.executeQuery();
if(rs.next())
{
cntF=rs.getInt(1);
}
rs.close();
rs=null;
pstmt.close();
pstmt=null;
if(cntF <= 0)
{
errString = itmDBAccess.getErrorString("supp_code__fr","VMSITE1",userId);
break;
}
}
else if(chargeType.equalsIgnoreCase("L"))
{
sql="select count(*) from supplier where supp_code=?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, suppcodefr);
rs = pstmt.executeQuery();
if(rs.next())
{
cntL=rs.getInt(1);
}
rs.close();
rs=null;
pstmt.close();
pstmt=null;
if(cntL <= 0)
{
errString = itmDBAccess.getErrorString("supp_code__fr","VTSUPP1",userId);
break;
}
}
else if(chargeType.equalsIgnoreCase("C"))
{
sql="select count(*) from TAX_AUTHORITY where TAUTH_CODE= ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, suppcodefr);
rs = pstmt.executeQuery();
if(rs.next())
{
cntC=rs.getInt(1);
}
rs.close();
rs=null;
pstmt.close();
pstmt=null;
if(cntC <= 0)
{
errString = itmDBAccess.getErrorString("supp_code__fr","VTTAXAUTH",userId);
break;
}
}
}
else if(nodeName.equalsIgnoreCase("curr_code"))
{
currCode=GenericUtility.getInstance().getColumnValue("curr_code", dom);
sql="select count(*) from currency where curr_code= ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, siteCode);
rs = pstmt.executeQuery();
if(rs.next())
{
cntsite=rs.getInt(1);
}
rs.close();
rs=null;
pstmt.close();
pstmt=null;
if(cntsite == 0)
{
errString = itmDBAccess.getErrorString("curr_code","VTCURR1",userId);
break;
}
}
else if(nodeName.equalsIgnoreCase("tran_date__fr") || nodeName.equalsIgnoreCase("tran_date__to"))
{
java.util.Date fromUtilDate = null, toUtilDate = null,payUtilDate = null;
String frDate = "",todate = "";
frDate = GenericUtility.getInstance().getColumnValue("tran_date__fr",dom);
todate = GenericUtility.getInstance().getColumnValue("tran_date__to",dom);
if(frDate == null || todate == null)
{
errString = itmDBAccess.getErrorString(nodeName,"VEDATE",userId);
break;
}
if(frDate!= null && frDate.indexOf("-") != -1){
frDate = frDate.replace('-','/');
}
if(todate!= null && todate.indexOf("-") != -1){
todate = todate.replace('-','/');
}
fromUtilDate = sdf.parse(frDate.substring(0,8));
toUtilDate = sdf.parse(todate.substring(0,8));
if (fromUtilDate.after(toUtilDate))
{
errString = itmDBAccess.getErrorString(nodeName,"VFRTODATE",userId);
break;
}
}
}
}
catch(ITMException e)
{
throw e;
}
catch(Exception e)
{
throw new ITMException(e);
}
return errString;
}*/
private String checknull(String string)
{
if (string == null)
{
string = "";
}
return string;
}
}
package ibase.webitm.ejb.fin;
import java.rmi.RemoteException;
import org.w3c.dom.*;
//import javax.ejb.EJBObject;
import ibase.webitm.ejb.ValidatorLocal;
import ibase.webitm.utility.ITMException;
import javax.ejb.Local; // added for ejb3
@Local // added for ejb3
public interface PayVoucherComIcLocal extends ValidatorLocal////,EJBObject
{
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;
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;
}
package ibase.webitm.ejb.fin;
import java.rmi.RemoteException;
import org.w3c.dom.*;
import javax.ejb.Remote; // added for ejb3
//import javax.ejb.EJBObject;
import ibase.webitm.ejb.ValidatorRemote;
import ibase.webitm.utility.ITMException;
@Remote // added for ejb3
public interface PayVoucherComIcRemote extends ValidatorRemote //,EJBObject
{
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;
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;
}
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