Commit 47c64328 authored by manohar's avatar manohar

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

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

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@91067 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 2dd2c97e
/* This EJB is Cteated it incorporate the Pre Save logic from ue_save Of Window(w_ad_change)
* Gulzar 25/01/07
*/
package ibase.webitm.ejb.adm;
import java.rmi.RemoteException;
import java.sql.*;
import javax.ejb.*;
import org.w3c.dom.*;
import ibase.webitm.utility.ITMException;
import ibase.webitm.ejb.*;
import ibase.webitm.utility.GenericUtility;
import javax.ejb.Stateless; // added for ejb3
@Stateless
public class AdChangePrs extends ValidatorEJB implements AdChangePrsLocal, AdChangePrsRemote
//public class AdChangePrs extends ValidatorEJB implements SessionBean // implements for ejb3
{
// implements for ejb3
/*
public void ejbCreate() throws RemoteException, CreateException
{
}
public void ejbRemove()
{
}
public void ejbActivate()
{
}
public void ejbPassivate()
{
}*/
public String preSaveRec() throws RemoteException,ITMException
{
return "";
}
public String preSaveRec(String xmlString1,String domId,String objContext,String editFlag, String xtraParams, Connection conn)throws RemoteException,ITMException
{
System.out.println("AdChangePrsEJB called...........");
String retString = "";
Document dom = null;
try
{
if (xmlString1 != null && xmlString1.trim().length() > 0)
{
dom = GenericUtility.getInstance().parseString(xmlString1);
retString = executepreSaveRec(dom,domId,objContext,editFlag,xtraParams,conn);
}
}
catch(Exception e)
{
System.out.println("Exception :AdChangePrsEJB :preSaveRec() :" + e.getMessage() + ":");
e.printStackTrace();
throw new ITMException(e);
}
return retString;
}
private String executepreSaveRec(Document dom, String domID,String objContext,String editFlag, String xtraParams, Connection conn)throws RemoteException,ITMException
{
Statement stmt = null;
PreparedStatement pstmt = null;
ResultSet rs = null;
String empCode = "", adCode = "", effDate = "", expDate = "", periodFrom = "", periodTo = "";
String sqlStr = "", amt = "", keyString = "", errorCode = "";
String updateStatus = "", userId = "", retString = "";
double originalAmt = 0d, amount = 0d;
boolean empStatus = false;
int count = 0;
java.sql.Timestamp effectiveDate = null, expiryDate = null;
Node currDetail = null;
try
{
conn.setAutoCommit(false);
GenericUtility genericUtility = GenericUtility.getInstance();
userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"userId");
AdmCommon admCommon = new AdmCommon();
System.out.println("dom.............:: "+ dom);
System.out.println("domID.............:: "+ domID);
currDetail = getCurrentDetailFromDom(dom,domID);
updateStatus = getCurrentUpdateFlag(currDetail);
System.out.println("updateStatus......:: "+ updateStatus);
if (currDetail != null)
{
if(updateStatus.equalsIgnoreCase("A") || updateStatus.equalsIgnoreCase("E"))
{
if(updateStatus.equals("A"))
{
empCode = genericUtility.getColumnValueFromNode("emp_code",currDetail);
adCode = genericUtility.getColumnValueFromNode("ad_code",currDetail);
effDate = genericUtility.getColumnValueFromNode("eff_date",currDetail);
empStatus = admCommon.empPrevRec(empCode, adCode, effDate, conn);
}
if(empStatus)
{
expDate = genericUtility.getColumnValueFromNode("exp_date",currDetail);
amt = genericUtility.getColumnValueFromNode("amount",currDetail);
if (amt != null)
{
amount = Double.parseDouble(amt);
}
effectiveDate = java.sql.Timestamp.valueOf(genericUtility.getValidDateTimeString(effDate,genericUtility.getApplDateFormat(),genericUtility.getDBDateFormat()));
expiryDate = java.sql.Timestamp.valueOf(genericUtility.getValidDateTimeString(expDate,genericUtility.getApplDateFormat(),genericUtility.getDBDateFormat()));
System.out.println("effectiveDate...:: " + effectiveDate);
System.out.println("expiryDate...:: " + expiryDate);
sqlStr = "SELECT CODE FROM PERIOD WHERE FR_DATE <= ? AND TO_DATE >= ? " ;
System.out.println("sqlStr.....::[1]:: " + sqlStr);
pstmt = conn.prepareStatement(sqlStr);
pstmt.setTimestamp(1,effectiveDate);
pstmt.setTimestamp(2,effectiveDate);
rs = pstmt.executeQuery();
if (rs.next())
{
periodFrom = rs.getString("CODE");
}
System.out.println("periodFrom:: " + periodFrom);
rs.close();
rs = null;
pstmt.close();
pstmt = null;
sqlStr = "SELECT CODE FROM PERIOD WHERE FR_DATE <= ? AND TO_DATE >= ? " ;
System.out.println("sqlStr.....::[2]:: " + sqlStr);
pstmt = conn.prepareStatement(sqlStr);
pstmt.setTimestamp(1,expiryDate);
pstmt.setTimestamp(2,expiryDate);
rs = pstmt.executeQuery();
if (rs.next())
{
periodTo = rs.getString("CODE");
}
System.out.println("periodTo:: " + periodTo);
rs.close();
rs = null;
keyString = empCode + "|" + adCode + "|" + effectiveDate + "|" + expiryDate;
sqlStr = "SELECT BASIC FROM EMPLOYEE WHERE EMP_CODE = '"+empCode+"'" ;
System.out.println("sqlStr.....::[3]:: " + sqlStr);
stmt = conn.createStatement();
rs = stmt.executeQuery(sqlStr);
if (rs.next())
{
originalAmt = rs.getDouble("BASIC");
}
rs.close();
rs = null;
errorCode = admCommon.payarrToProcUpdation(periodFrom, periodTo, empCode, empCode, "AR", "W_AD_CHANGE", keyString, adCode, amount - originalAmt, effDate, expDate, xtraParams, conn);
if (errorCode.trim().length() > 0)
{
conn.rollback();
retString = getErrorString("",errorCode,userId);
System.out.println("Ret String: " + retString);
}
else if (errorCode.trim().length() == 0)
{
conn.commit();
}
}//End Of if(empStatus)
}
else if (updateStatus.equalsIgnoreCase("D"))
{
empCode = genericUtility.getColumnValueFromNode("emp_code",currDetail);
adCode = genericUtility.getColumnValueFromNode("ad_code",currDetail);
sqlStr = "SELECT COUNT(*) AS COUNT FROM PAYROLLDET WHERE EMP_CODE = '"+empCode+"' and ad_code = '"+adCode+"'";
System.out.println("sqlStr.........:: " + sqlStr);
stmt = conn.createStatement();
rs = stmt.executeQuery(sqlStr);
if (rs.next())
{
count = rs.getInt("COUNT");
}
if (count != 0)
{
errorCode = "VTPAYFND";
retString = getErrorString("",errorCode,userId);
System.out.println("Ret String: " + retString);
}
}
}//End Of if(currDetail)
}//End Of Try Block
catch (SQLException sqe)
{
System.out.println("The SQLException occurs in [AdChangePrsEJB] :: [executepreSaveRec] :"+sqe);
sqe.printStackTrace();
try
{
conn.rollback();
}
catch(Exception sqe1){}
throw new ITMException(sqe);
}
catch(Exception e)
{
System.out.println("The Exception occurs in [AdChangePrsEJB] :: [executepreSaveRec] :"+e);
e.printStackTrace();
try
{
conn.rollback();
}
catch(Exception e1){}
throw new ITMException(e);
}
finally
{
try
{
System.out.println("Closing stmt and pstmt In [executepreSaveRec]......");
if (rs != null)
{
rs.close();
rs = null;
}
if(stmt != null)
{
stmt.close();
stmt = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
}
catch(Exception e)
{
System.err.println("Exception :[AdChangePrsEJB] :: [executepreSaveRec] :\n"+e.getMessage());
e.printStackTrace();
throw new ITMException(e);
}
}
return retString;
}
private Node getCurrentDetailFromDom(Document dom,String domId)
{
NodeList detailList = null;
Node currDetail = null,reqDetail = null;
String currDomId = "";
int detailListLength = 0;
detailList = dom.getElementsByTagName("Detail1");
detailListLength = detailList.getLength();
for (int ctr = 0;ctr < detailListLength;ctr++)
{
currDetail = detailList.item(ctr);
currDomId = currDetail.getAttributes().getNamedItem("domID").getNodeValue();
if (currDomId.equals(domId))
{
reqDetail = currDetail;
break;
}
}
return reqDetail;
}
private String getCurrentUpdateFlag(Node currDetail)
{
NodeList currDetailList = null;
String updateStatus = "",nodeName = "";
int currDetailListLength = 0;
currDetailList = currDetail.getChildNodes();
currDetailListLength = currDetailList.getLength();
for (int i=0;i< currDetailListLength;i++)
{
nodeName = currDetailList.item(i).getNodeName();
if (nodeName.equalsIgnoreCase("Attribute"))
{
updateStatus = currDetailList.item(i).getAttributes().getNamedItem("updateFlag").getNodeValue();
break;
}
}
return updateStatus;
}
}
\ No newline at end of file
/* This EJB is Cteated it incorporate the Pre Save logic from ue_save Of Window(w_ad_change)
* Gulzar 25/01/07
*/
package ibase.webitm.ejb.adm;
import java.rmi.RemoteException;
//import javax.ejb.EJBObject;
import ibase.webitm.ejb.ValidatorLocal;
import ibase.webitm.utility.ITMException;
import java.sql.Connection;
import javax.ejb.Local;
@Local
public interface AdChangePrsLocal extends ValidatorLocal //, EJBObject
{
public String preSaveRec()throws RemoteException,ITMException;
public String preSaveRec(String xmlString1,String domID,String objContext,String editFlag, String xtraParams, Connection conn)throws RemoteException,ITMException;
}
/* This EJB is Cteated it incorporate the Pre Save logic from ue_save Of Window(w_ad_change)
* Gulzar 25/01/07
*/
package ibase.webitm.ejb.adm;
import java.rmi.RemoteException;
//import javax.ejb.EJBObject;
import ibase.webitm.ejb.ValidatorRemote;
import ibase.webitm.utility.ITMException;
import java.sql.Connection;
import javax.ejb.Remote;
@Remote
public interface AdChangePrsRemote extends ValidatorRemote //, EJBObject
{
public String preSaveRec()throws RemoteException,ITMException;
public String preSaveRec(String xmlString1,String domID,String objContext,String editFlag, String xtraParams, Connection conn)throws RemoteException,ITMException;
}
This diff is collapsed.
This diff is collapsed.
package ibase.webitm.ejb.adm;
import java.rmi.RemoteException;
//import javax.ejb.EJBObject;
import org.w3c.dom.*;
import ibase.webitm.utility.ITMException;
import javax.ejb.Local;
@Local
public interface AttdProcessLocal extends ibase.webitm.ejb.ProcessLocal //,EJBObject
{
public String process() throws RemoteException,ITMException;
public String process(String xmlString, String xmlString2, String windowName, String xtraParams) throws RemoteException,ITMException;
public String process(Document dom, Document dom2, String windowName, String xtraParams) throws RemoteException,ITMException;
}
\ No newline at end of file
package ibase.webitm.ejb.adm;
import java.rmi.RemoteException;
//import javax.ejb.EJBObject;
import org.w3c.dom.*;
import ibase.webitm.utility.ITMException;
import javax.ejb.Remote; // for ejb3
@Remote // for ejb3
public interface AttdProcessRemote extends ibase.webitm.ejb.ProcessRemote //,EJBObject
{
public String process() throws RemoteException,ITMException;
public String process(String xmlString, String xmlString2, String windowName, String xtraParams) throws RemoteException,ITMException;
public String process(Document dom, Document dom2, String windowName, String xtraParams) throws RemoteException,ITMException;
}
\ No newline at end of file
This diff is collapsed.
package ibase.webitm.ejb.adm;
import ibase.webitm.ejb.*;
import java.rmi.RemoteException;
//import javax.ejb.EJBObject;
import org.w3c.dom.*;
import ibase.webitm.utility.ITMException;
import javax.ejb.Local;
@Local
public interface AttendanceAttdDednLocal 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;
}
package ibase.webitm.ejb.adm;
import ibase.webitm.ejb.*;
import java.rmi.RemoteException;
//import javax.ejb.EJBObject;
import org.w3c.dom.*;
import ibase.webitm.utility.ITMException;
import javax.ejb.Remote;
@Remote
public interface AttendanceAttdDednRemote 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;
}
This diff is collapsed.
package ibase.webitm.ejb.adm;
import ibase.webitm.ejb.*;
import java.rmi.RemoteException;
//import javax.ejb.EJBObject;
import org.w3c.dom.*;
import ibase.webitm.utility.ITMException;
import javax.ejb.Local; // added for ejb3
@Local // added for ejb3
public interface AttendancePrcLocal extends ValidatorLocal //,EJBObject
{
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.adm;
import ibase.webitm.ejb.*;
import java.rmi.RemoteException;
//import javax.ejb.EJBObject;
import org.w3c.dom.*;
import ibase.webitm.utility.ITMException;
import javax.ejb.Remote; // added for ejb3
@Remote // added for ejb3
public interface AttendancePrcRemote extends ValidatorRemote //,EJBObject
{
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.adm;
import ibase.webitm.ejb.*;
import java.rmi.RemoteException;
//import javax.ejb.EJBObject;
import ibase.webitm.utility.ITMException;
import javax.ejb.Local; // added for ejb3
@Local // added for ejb3
public interface AttendanceTraceLocal 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 wfValData() throws RemoteException,ITMException;
public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
}
package ibase.webitm.ejb.adm;
import ibase.webitm.ejb.*;
import java.rmi.RemoteException;
//import javax.ejb.EJBObject;
import ibase.webitm.utility.ITMException;
import javax.ejb.Remote; // added for ejb3
@Remote // added for ejb3
public interface AttendanceTraceRemote 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 wfValData() throws RemoteException,ITMException;
public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
}
This diff is collapsed.
package ibase.webitm.ejb.adm;
import ibase.webitm.ejb.*;
import java.rmi.RemoteException;
//import javax.ejb.EJBObject;
import org.w3c.dom.*;
import ibase.webitm.utility.ITMException;
import javax.ejb.Local; // added for ejb3
@Local // added for ejb3
public interface AttendanceWorkBalLocal extends ValidatorLocal //,EJBObject
{
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.adm;
import ibase.webitm.ejb.*;
import java.rmi.RemoteException;
//import javax.ejb.EJBObject;
import org.w3c.dom.*;
import ibase.webitm.utility.ITMException;
import javax.ejb.Remote; // added for ejb3
@Remote // added for ejb3
public interface AttendanceWorkBalRemote extends ValidatorRemote //,EJBObject
{
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.adm;
import java.sql.Timestamp;
import java.util.HashMap;
class Customer
{
private String empCode;
private double Amount;
private String acctCode;
private String cctrCode;
private String adCode ;
private Timestamp startDate ;
private Timestamp endDate ;
private double loanAdjamt ;
private double balAmt ;
private String tranId ;
private String loanNo;
private String refNo;
private String postYN ;
private String cadre;
private String grade ;
private String deptCode ;
private String design;
private String payTable ;
private String siteEmp;
private String siteWrk ;
private String siteCodePay ;
private Timestamp payrollDate;
//TRAN_ID__PAYR
// full and final
public void setTarnId(String tranId)
{
this.tranId = tranId;
}
public String getTarnId()
{
return this.tranId;
}
public void setLoanNo(String loanNo)
{
this.loanNo = loanNo;
}
public String getLoanNo()
{
return this.loanNo;
}
public void setRefNo(String refNo)
{
this.refNo = refNo;
}
public String getRefNo()
{
return this.refNo;
}
//perk claim && full and final
public void setStartDate(Timestamp startDate)
{
this.startDate = startDate;
}
public Timestamp getStartDate()
{
return this.startDate;
}
public void setEndDate(Timestamp endDate)
{
this.endDate = endDate;
}
public Timestamp getEndDate()
{
return this.endDate;
}
public void setBalAmt(double Amount)
{
this.balAmt=balAmt;
}
public double getBalAmt()
{
return this.balAmt;
}
public void setLoanAdjAmt(double loanAdjamt)
{
this.loanAdjamt=loanAdjamt;
}
public double getLoanAdjAmt()
{
return this.loanAdjamt;
}
//end
public void setAdCode(String adCode)
{
this.adCode=adCode.trim();
}
public String getAdCode()
{
return this.adCode;
}
public void setEmpCode(String empCode)
{
this.empCode=empCode.trim();
}
public String getEmpCode()
{
return this.empCode;
}
public void setAmount(double Amount)
{
this.Amount=Amount;
}
public double getAmount()
{
return this.Amount;
}
public void setAcctCode(String acctCodeSal)
{
this.acctCode=acctCodeSal;
}
public String getAcctCode()
{
return this.acctCode;
}
public void setCctrCode(String cctrCodeSal)
{
this.cctrCode = cctrCodeSal;
}
public String getCctrCode()
{
return this.cctrCode;
}
//latter adeed
public void setCrade(String cadre)
{
this.cadre = cadre;
}
public String getCrade()
{
return this.cadre;
}
public void setGrade(String grade)
{
this.grade = grade;
}
public String getGrade()
{
return this.grade;
}
public void setDeptCode(String deptCode)
{
this.deptCode = deptCode;
}
public String getDeptCode()
{
return this.deptCode;
}
public void setDesignation(String design)
{
this.design = design;
}
public String getDesignation()
{
return this.design;
}
public void setPayTable(String payTable)
{
this.payTable = payTable;
}
public String getPayTable()
{
return this.payTable;
}
public void setSiteEmp(String siteEmp)
{
this.siteEmp = siteEmp;
}
public String getSiteEmp()
{
return this.siteEmp;
}
public void setSiteWork(String siteWrk)
{
this.siteWrk = siteWrk;
}
public String getSiteWork()
{
return this.siteWrk;
}
public void setSiteCodePay(String siteCodePay)
{
this.siteCodePay = siteCodePay;
}
public String getSiteCodePay()
{
return this.siteCodePay;
}
public void setPayrollDate(Timestamp payrollDate)
{
this.payrollDate = payrollDate;
}
public Timestamp getPayrollDate()
{
return this.payrollDate;
}
//detail
public void setPostYN(String postYN)
{
this.postYN = postYN;
}
public String getPostYN()
{
return this.postYN;
}
//end
}
\ No newline at end of file
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.
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.
package ibase.webitm.ejb.adm;import java.rmi.RemoteException;//import javax.ejb.EJBObject; import org.w3c.dom.*; import ibase.webitm.utility.ITMException; import ibase.webitm.ejb.*; import javax.ejb.Local; // added for ejb3 @Local // added for ejb3 public interface ShiftPatternLocal 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; }
\ No newline at end of file
package ibase.webitm.ejb.adm;
import java.rmi.RemoteException;//import javax.ejb.EJBObject; import org.w3c.dom.*; import ibase.webitm.utility.ITMException; import ibase.webitm.ejb.*; import javax.ejb.Remote; // added for ejb3 @Remote // added for ejb3 public interface ShiftPatternRemote 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; }
\ No newline at end of file
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.
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