Commit bb2bd91c authored by vbhosale's avatar vbhosale

changed return type from json object to json array , html code removed from ejb

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@193063 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 4edb5efa
package ibase.dashboard.scm.ejb; package ibase.dashboard.scm.ejb;
import java.rmi.RemoteException; import java.rmi.RemoteException;
import javax.ejb.Local;
import org.json.simple.JSONArray;
import org.json.simple.JSONObject; import org.json.simple.JSONObject;
import ibase.webitm.ejb.ValidatorLocal; import ibase.webitm.ejb.ValidatorLocal;
import ibase.webitm.utility.ITMException; import ibase.webitm.utility.ITMException;
@Local
public interface ShortageInventoryLocal extends ValidatorLocal public interface ShortageInventoryLocal extends ValidatorLocal
{ {
//return type changed from json object to json array by Vinay
public String getAngShortageInventory(String dataSourceName , String siteCode , String finYear , String fromDate, String toDate) throws RemoteException, ITMException;
public JSONObject getShortageInventory(String dataSourceName , String siteCode , String finYear) throws RemoteException, ITMException; public JSONObject getShortageInventory(String dataSourceName , String siteCode , String finYear) throws RemoteException, ITMException;
} }
package ibase.dashboard.scm.ejb; package ibase.dashboard.scm.ejb;
import java.rmi.RemoteException; import java.rmi.RemoteException;
import javax.ejb.Remote;
import org.json.simple.JSONArray;
import org.json.simple.JSONObject; import org.json.simple.JSONObject;
import ibase.webitm.ejb.ValidatorRemote; import ibase.webitm.ejb.ValidatorRemote;
import ibase.webitm.utility.ITMException; import ibase.webitm.utility.ITMException;
@Remote
public interface ShortageInventoryRemote extends ValidatorRemote public interface ShortageInventoryRemote extends ValidatorRemote
{ {
//return type changed from json object to json array by Vinay
public String getAngShortageInventory(String dataSourceName , String siteCode , String finYear , String fromDate, String toDate) throws RemoteException, ITMException;
public JSONObject getShortageInventory(String dataSourceName , String siteCode , String finYear) throws RemoteException, ITMException; public JSONObject getShortageInventory(String dataSourceName , String siteCode , String finYear) 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