Commit a12b0808 authored by vvengurlekar's avatar vvengurlekar

FullFinalIC.java

FullFinalICLocal.java
FullFinalICRemote.java -validation and itemchange for full and final


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@187341 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 5ae19494
package ibase.webitm.ejb.adm;
import java.rmi.RemoteException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import javax.ejb.Stateless; // added for ejb3
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import ibase.utility.E12GenericUtility;
import ibase.webitm.ejb.ValidatorEJB;
import ibase.webitm.utility.ITMException;
@Stateless
public class FullFinalIC extends ValidatorEJB implements FullFinalICLocal,FullFinalICRemote
{
E12GenericUtility genericUtility = new E12GenericUtility();
public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException
{
Document dom = null;
Document dom1 = null;
Document dom2 = null;
String retString = "";
try
{
if(xmlString != null && xmlString.trim().length() > 0)
{
dom = genericUtility.parseString(xmlString);
}
if(xmlString1 != null && xmlString1.trim().length() > 0)
{
dom1 = genericUtility.parseString(xmlString1);
}
if(xmlString2 != null && xmlString2.trim().length() > 0)
{
dom2 = genericUtility.parseString(xmlString2);
}
retString = wfValData(dom,dom1,dom2,objContext,editFlag,xtraParams);
System.out.println("retString:::"+retString);
}
catch(Exception e)
{
System.out.println("::: FullFinalIC ::"+ e.getMessage());
e.getMessage();
}
return retString;
}
public String wfValData(Document dom, Document dom1, Document dom2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException
{
E12GenericUtility genericUtility = new E12GenericUtility();
int childNodeLength = 0;
int currentFormNo=0;
int ctr=0,cnt=0, cnt1=0;
Connection conn = null;
PreparedStatement pstmt = null;
ResultSet rs = null ;
PreparedStatement pstmt1 = null;
ResultSet rs1 = null ;
NodeList parentNodeList = null;
Node parentNode = null;
NodeList childNodeList = null;
Node childNode = null;
String childNodeName = "";
String userId="";
String sql = "";
String errCode = "";
ArrayList<String> errList = new ArrayList<String>();
ArrayList<String> errFields = new ArrayList<String>();
String empCode = "",resiDate = "", tranID = "", adCode = "", adCodeDefault = "", applicableInFfs = "", refNo = "", refSer = "";
String errorType = "",errString="";
StringBuffer errStringXml = new StringBuffer("<?xml version = \"1.0\"?> \r\n <Root> <Errors>");
try
{
conn = getConnection();
userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode");
if(objContext != null && objContext.trim().length() > 0)
{
currentFormNo = Integer.parseInt(objContext);
System.out.println("currentFormNo:::"+currentFormNo);
switch(currentFormNo)
{
case 1:
{
parentNodeList = dom.getElementsByTagName("Detail1");
parentNode = parentNodeList.item(0);
childNodeList = parentNode.getChildNodes();
childNodeLength = childNodeList.getLength();
for(ctr = 0; ctr < childNodeLength; ctr++)
{
childNode = childNodeList.item(ctr);
childNodeName = childNode.getNodeName();
System.out.println(">>>>>> childNodeName: "+childNodeName);
if("emp_code".equalsIgnoreCase(childNodeName))
{
System.out.println("@@@@@ Employee code validation executed");
empCode = checkNull(genericUtility.getColumnValue("emp_code",dom));
System.out.println("empCode >>>>> "+empCode+"["+empCode.length()+"]");
if(empCode == null || empCode.trim().length() == 0)
{
errCode = "VMEMP1";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
}
else
{
sql = "select count(*) as cnt from employee where emp_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,empCode);
rs = pstmt.executeQuery();
if(rs.next())
{
cnt = Integer.parseInt(rs.getString("cnt"));
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(cnt == 0)
{
errCode = "VMEMP1";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
}
else
{
sql = "select status, resi_date from employee where emp_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,empCode);
rs = pstmt.executeQuery();
if(rs.next())
{
resiDate = rs.getString("resi_date");
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(resiDate == null || resiDate.trim().length() == 0)
{
errCode = "VTEMP2";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
}
else
{
tranID = checkNull(genericUtility.getColumnValue("tran_id",dom));
if(tranID == null || tranID.trim().length() == 0)
{
sql = "select count(*) as cnt from fullfinal_hdr where emp_code ? and confirmed <> 'X'";
pstmt1 = conn.prepareStatement(sql);
pstmt1.setString(1,empCode);
rs1 = pstmt1.executeQuery();
cnt = 0;
if(rs1.next())
{
cnt = Integer.parseInt(rs1.getString("cnt"));
}
if(rs1 != null)
{
rs1.close();
rs1 = null;
}
if(pstmt1 != null)
{
pstmt1.close();
pstmt1 = null;
}
if(cnt > 0)
{
errCode = "VTEMP1";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
}
}
else
{
sql = "select count(*) as cnt from fullfinal_hdr where emp_code ? and tran_id <> ? and confirmed <> 'X'";
pstmt1 = conn.prepareStatement(sql);
pstmt1.setString(1,empCode);
pstmt1.setString(2,tranID);
rs1 = pstmt1.executeQuery();
cnt = 0;
if(rs1.next())
{
cnt = Integer.parseInt(rs1.getString("cnt"));
}
if(rs1 != null)
{
rs1.close();
rs1 = null;
}
if(pstmt1 != null)
{
pstmt1.close();
pstmt1 = null;
}
if(cnt > 0)
{
errCode = "VTEMP1";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
}
}
}
}
}
}
}
}
break;
case 2 :
{
System.out.println("Validation for Detail 2 Full Final..........");
parentNodeList = dom.getElementsByTagName("Detail2");
parentNode = parentNodeList.item(0);
childNodeList = parentNode.getChildNodes();
childNodeLength = childNodeList.getLength();
for(ctr = 0; ctr < childNodeLength; ctr++)
{
childNode = childNodeList.item(ctr);
System.out.println("childNode"+childNode);
if( childNode.getNodeType() != Node.ELEMENT_NODE )
{
continue;
}
childNodeName = childNode.getNodeName();
System.out.println(">>>>>> childNodeName: "+childNodeName);
if("ad_code".equalsIgnoreCase(childNodeName))
{
adCode = checkNull(genericUtility.getColumnValue("ad_code",dom));
if(adCode != null && adCode.trim().length()>0)
{
sql = "select count(*) as cnt1 from allwdedn where ad_code = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,adCode);
rs = pstmt.executeQuery();
if(rs.next())
{
cnt1 = Integer.parseInt(rs.getString("cnt1"));
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(cnt1 == 0)
{
errCode = "VMAD1";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
}
else
{
adCodeDefault = checkNull(genericUtility.getColumnValue("default_adcode",dom));
if(adCodeDefault == null || !(adCode.equalsIgnoreCase(adCodeDefault)))
{
sql = "select applicable_in_ffs from allwdedn where ad_code = ? ";
pstmt1 = conn.prepareStatement(sql);
pstmt1.setString(1,adCode);
rs1 = pstmt1.executeQuery();
if(rs1.next())
{
applicableInFfs = rs1.getString("applicable_in_ffs");
}
if(rs1 != null)
{
rs1.close();
rs1 = null;
}
if(pstmt1 != null)
{
pstmt1.close();
pstmt1 = null;
}
if(applicableInFfs == null || applicableInFfs.trim().length() == 0)
{
errCode = "VTADNOTAPP";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
}
}
}
}
else
{
refNo = checkNull(genericUtility.getColumnValue("ref_no",dom));
refSer = checkNull(genericUtility.getColumnValue("ref_ser",dom));
if((refNo == null || refNo.trim().length() == 0) && (refSer == null || refSer.trim().length() == 0))
{
errCode = "VTFFSREF";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
}
}
}
}
}
break;
}
int errListSize = errList.size();
System.out.println("errListSize::::::::::"+errListSize);
int count = 0;
String errFldName = null;
if (errList != null && errListSize > 0)
{
for (count = 0; count < errListSize; count++)
{
errCode = errList.get(count);
errFldName = errFields.get(count);
System.out.println(" testing :errCode .:" + errCode);
errString = getErrorString(errFldName, errCode, userId);
System.out.println("errString>>>>>>>>>"+errString);
errorType = errorType(conn, errCode);
if (errString.length() > 0)
{
String bifurErrString = errString.substring(errString.indexOf("<Errors>") + 8, errString.indexOf("<trace>"));
bifurErrString = bifurErrString + errString.substring(errString.indexOf("</trace>") + 8, errString.indexOf("</Errors>"));
errStringXml.append(bifurErrString);
errString = "";
}
if (errorType.equalsIgnoreCase("E"))
{
break;
}
}
errList.clear();
errList = null;
errFields.clear();
errFields = null;
errStringXml.append("</Errors> </Root> \r\n");
}
else
{
errStringXml = new StringBuffer("");
}
}
}
catch(Exception e)
{
System.out.println("::: FullFinalIC ::"+ e.getMessage());
throw new ITMException(e);
}
finally
{
try
{
if (conn != null)
{
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(rs1 != null)
{
rs1.close();
rs1 = null;
}
if(pstmt1 != null)
{
pstmt1.close();
pstmt1 = null;
}
conn.close();
conn = null;
}
}
catch (Exception d)
{
d.printStackTrace();
throw new ITMException(d);
}
}
errString = errStringXml.toString();
System.out.println("testing : final errString : " + errString);
return errString;
}
public String itemChanged(String xmlString, String xmlString1, String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException
{
Document dom = null;
Document domhr = null;
Document domAll = null;
String retString="";
try
{
System.out.println("************** Inside itemChanged method ****************");
System.out.println("xmlString: "+xmlString+" \nxmlString1: "+xmlString1+" \nxmlString2: "+xmlString2+" \nxtraParams: "+xtraParams);
if(xmlString != null && xmlString.trim().length() > 0)
{
dom = genericUtility.parseString(xmlString);
}
if(xmlString1 != null && xmlString1.trim().length() > 0)
{
domhr = genericUtility.parseString(xmlString1);
}
if(xmlString2 != null && xmlString2.trim().length() > 0)
{
domAll = genericUtility.parseString(xmlString2);
}
retString = itemChanged(dom,domhr,domAll,objContext,currentColumn,editFlag,xtraParams);
System.out.println("retString::::::::::"+retString);
}
catch(Exception e)
{
System.out.println(":::" + getClass().getSimpleName() + "::"+ e.getMessage());
e.getMessage();
}
return retString;
}
public String itemChanged(Document dom, Document dom1, Document dom2,String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException
{
Connection conn = null;
PreparedStatement pstmt = null;
ResultSet rs = null ;
int childNodeListLength = 0;
String empCode = "", fName = "", lName = "", paySite = "", finEntity = "", currCode = "";
String adCode = "", acctCodeSal ="", descr ="", acctDescr = "", cctrCode = "";
java.sql.Date relieveDate = null;
String relieveDateStr = "";
double amount = 0, exchRate = 0, totAmt = 0.0, itAmt = 0.0;
String sql = "";
int currentFormNo=0,ctr=0;
StringBuffer valueXmlString = new StringBuffer();
NodeList parentNodeList = null;
NodeList childNodeList = null;
Node parentNode = null;
Node childNode = null;
String childNodeName = null, columnValue = "", loginSiteCode = "";
SimpleDateFormat sdf = null;
try
{
conn = getConnection();
sdf = new SimpleDateFormat(genericUtility.getApplDateFormat());
if(objContext != null && objContext.trim().length()>0)
{
currentFormNo = Integer.parseInt(objContext);
}
loginSiteCode = this.genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginSiteCode");
System.out.println("[FullFinalIC] [itemChanged] :currentFormNo ....." +currentFormNo+" currentColumn: "+currentColumn);
valueXmlString = new StringBuffer("<?xml version=\"1.0\"?><Root><header><editFlag>");
valueXmlString.append(editFlag).append("</editFlag></header>");
switch(currentFormNo)
{
case 1:
parentNodeList = dom.getElementsByTagName("Detail1");
parentNode = parentNodeList.item(0);
childNodeList = parentNode.getChildNodes();
valueXmlString.append("<Detail1>");
childNodeListLength = childNodeList.getLength();
do
{
childNode = childNodeList.item(ctr);
childNodeName = childNode.getNodeName();
ctr++;
}
while ((ctr < childNodeListLength) && (!childNodeName.equals(currentColumn)));
if (currentColumn.trim().equalsIgnoreCase("itm_default"))
{
valueXmlString.append("<tran_date protect=\"1\" ><![CDATA[").append(sdf.format(new java.util.Date())).append("]]></tran_date>\r\n");
valueXmlString.append("<pay_site protect=\"1\" ><![CDATA[").append(loginSiteCode).append("]]></pay_site>\r\n");
valueXmlString.append("<total_amt protect=\"1\" ><![CDATA[").append(totAmt).append("]]></total_amt>\r\n");
valueXmlString.append("<amount protect=\"1\" ><![CDATA[").append(amount).append("]]></amount>\r\n");
valueXmlString.append("<it_amt protect=\"1\" ><![CDATA[").append(itAmt).append("]]></it_amt>\r\n");
}
else if (currentColumn.trim().equalsIgnoreCase("emp_code"))
{
empCode = checkNull(this.genericUtility.getColumnValue("emp_code", dom));
System.out.println("empCode: " + empCode);
if (empCode.trim().length() > 0)
{
sql = "select emp_fname,emp_lname,relieve_date,pay_site from employee where emp_code = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, empCode);
rs = pstmt.executeQuery();
if (rs.next())
{
fName = checkNull(rs.getString("emp_fname"));
lName = checkNull(rs.getString("emp_lname"));
relieveDate = rs.getDate("relieve_date");
paySite = checkNull(rs.getString("pay_site"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
sql = "select fin_entity from site where site_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, paySite);
rs = pstmt.executeQuery();
if (rs.next())
{
finEntity = checkNull(rs.getString("fin_entity"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
sql = "select curr_code from finent where fin_entity = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, finEntity);
rs = pstmt.executeQuery();
if (rs.next())
{
currCode = checkNull(rs.getString("curr_code"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if (relieveDate != null)
{
relieveDateStr = this.genericUtility.getValidDateString(relieveDate.toString(), this.genericUtility.getDBDateFormat(), this.genericUtility.getApplDateFormat());
}
else
{
relieveDateStr = "";
}
valueXmlString.append("<emp_fname>").append("<![CDATA[" + fName + "]]>").append("</emp_fname>");
valueXmlString.append("<emp_lname>").append("<![CDATA[" + lName + "]]>").append("</emp_lname>");
valueXmlString.append("<relieve_date>").append("<![CDATA[" + relieveDateStr + "]]>").append("</relieve_date>");
valueXmlString.append("<pay_site>").append("<![CDATA[" + paySite + "]]>").append("</pay_site>");
valueXmlString.append("<curr_code>").append("<![CDATA[" + currCode + "]]>").append("</curr_code>");
}
else
{
System.out.println("IN Else block");
valueXmlString.append("<emp_fname>").append("<![CDATA[]]>").append("</emp_fname>");
valueXmlString.append("<emp_lname>").append("<![CDATA[]]>").append("</emp_lname>");
valueXmlString.append("<relieve_date>").append("<![CDATA[]]>").append("</relieve_date>");
valueXmlString.append("<pay_site>").append("<![CDATA[]]>").append("</pay_site>");
valueXmlString.append("<curr_code>").append("<![CDATA[]]>").append("</curr_code>");
}
}
valueXmlString.append("</Detail1>");
break;
case 2:
parentNodeList = dom.getElementsByTagName("Detail2");
parentNode = parentNodeList.item(0);
childNodeList = parentNode.getChildNodes();
ctr = 0;
childNodeListLength = childNodeList.getLength();
do
{
childNode = childNodeList.item(ctr);
childNodeName = childNode.getNodeName();
if (childNodeName.equals(currentColumn))
{
if (childNode.getFirstChild() != null)
{
columnValue = childNode.getFirstChild().getNodeValue().trim();
}
}
ctr++;
}
while ((ctr < childNodeListLength) && (!childNodeName.equals(currentColumn)));
valueXmlString.append("<Detail2>\r\n");
if (currentColumn.equalsIgnoreCase("itm_default"))
{
System.out.println("ItemChange2 of:::::" + currentColumn);
currCode = checkNull(this.genericUtility.getColumnValue("curr_code", dom1));
valueXmlString.append("<curr_code>").append("<![CDATA[" + currCode + "]]>").append("</curr_code>\r\n");
valueXmlString.append("<exch_rate>").append("<![CDATA[1]]>").append("</exch_rate>\r\n");
valueXmlString.append("<daily_exchrate>").append("<![CDATA[1]]>").append("</daily_exchrate>\r\n");
}
else if (currentColumn.equalsIgnoreCase("ad_code"))
{
System.out.println("ItemChange2 of:::::" + currentColumn);
adCode = this.genericUtility.getColumnValue("ad_code", dom);
sql = "select descr, acct_code__sal from allwdedn where ad_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, adCode);
rs = pstmt.executeQuery();
if (rs.next())
{
descr = checkNull(rs.getString("descr"));
acctCodeSal = checkNull(rs.getString("acct_code__sal"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
valueXmlString.append("<descr>").append("<![CDATA[" + descr + "]]>").append("</descr>\r\n");
valueXmlString.append("<acct_code>").append("<![CDATA[" + acctCodeSal + "]]>").append("</acct_code>\r\n");
sql = "select descr from accounts where acct_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, acctCodeSal);
rs = pstmt.executeQuery();
if (rs.next())
{
acctDescr = checkNull(rs.getString("descr"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
valueXmlString.append("<accounts_descr>").append("<![CDATA[" + acctDescr + "]]>").append("</accounts_descr>\r\n");
empCode = checkNull(this.genericUtility.getColumnValue("emp_code", dom1));
System.out.println("Value of adCode:::::[" + adCode + "] empCode====>[" + empCode + "]");
sql = "select cctr_code__sal from employee where emp_code = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, empCode);
rs = pstmt.executeQuery();
if (rs.next())
{
cctrCode = checkNull(rs.getString("cctr_code__sal"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
valueXmlString.append("<cctr_code>").append("<![CDATA[" + cctrCode + "]]>").append("</cctr_code>\r\n");
}
else if (currentColumn.equalsIgnoreCase("amount"))
{
System.out.println("ItemChange2 of:::::" + currentColumn);
amount = Double.parseDouble(checkDouble(this.genericUtility.getColumnValue("amount", dom)));
exchRate = Double.parseDouble(checkDouble(this.genericUtility.getColumnValue("exch_rate", dom)));
amount *= exchRate;
System.out.println("Net Amount:::::" + amount);
valueXmlString.append("<net_amt>").append("<![CDATA[" + amount + "]]>").append("</net_amt>\r\n");
}
valueXmlString.append("</Detail2>\r\n");
}
valueXmlString.append("</Root>");
}
catch(Exception e)
{
System.out.println("::: FullFinalIC ::"+ e.getMessage());
throw new ITMException(e);
}
finally
{
try
{
if (conn != null)
{
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
conn.close();
conn = null;
}
}
catch(Exception e)
{
System.out.println("Exception in EJB[FullFinalIC]::itemChanged::["+ e.getMessage() + "]");
}
}
return valueXmlString.toString();
}
private String errorType(Connection conn, String errorCode) throws ITMException
{
String msgType = "";
PreparedStatement pstmt = null;
ResultSet rs = null;
try
{
String sql = "SELECT MSG_TYPE FROM MESSAGES WHERE MSG_NO = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, errorCode);
rs = pstmt.executeQuery();
if (rs.next())
{
msgType = rs.getString("MSG_TYPE");
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
}
catch (Exception ex)
{
ex.printStackTrace();
throw new ITMException(ex);
}
finally
{
try
{
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
}
catch (Exception e)
{
e.printStackTrace();
throw new ITMException(e);
}
}
return msgType;
}
private String checkNull(String input)
{
return input == null ? "" : input;
}
private String checkDouble(String input)
{
if(input == null || input.trim().length() == 0)
{
return "0";
}
else
{
return input.trim();
}
}
}
\ No newline at end of file
package ibase.webitm.ejb.adm;
import java.rmi.RemoteException;
import ibase.webitm.ejb.ValidatorLocal;
import ibase.webitm.utility.ITMException;
import javax.ejb.Local;
import org.w3c.dom.Document;
@Local
public interface FullFinalICLocal extends ValidatorLocal {
@Override
public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException, ITMException;
@Override
public String wfValData(Document dom, Document dom1, Document dom2, String objContext, String editFlag, String xtraParams) throws RemoteException, ITMException;
@Override
public String itemChanged() throws RemoteException, ITMException;
@Override
public String itemChanged(String xmlString, String xmlString1, String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException, ITMException;
@Override
public String itemChanged(Document dom, Document dom1, Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException, ITMException;
}
package ibase.webitm.ejb.adm;
import java.rmi.RemoteException;
import java.sql.Connection;
import ibase.webitm.ejb.ValidatorRemote;
import ibase.webitm.utility.ITMException;
import javax.ejb.Remote;
import org.w3c.dom.Document;
@Remote
public interface FullFinalICRemote extends ValidatorRemote {
@Override
public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException, ITMException;
@Override
public String wfValData(Document dom, Document dom1, Document dom2, String objContext, String editFlag, String xtraParams) throws RemoteException, ITMException;
@Override
public String itemChanged(String xmlString, String xmlString1, String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException, ITMException;
@Override
public String itemChanged(Document dom, Document dom1, Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException, ITMException;
@Override
public String postSave(String arg0, String arg1, String arg2) throws RemoteException, ITMException;
@Override
public String postSave(String arg0, String arg1, String arg2, Connection arg3) 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