Commit dee04f0e authored by bpandey's avatar bpandey

chages as per client requirement


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@95862 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 072e4975
package ibase.dashboard.scm.ejb; package ibase.dashboard.scm.ejb;
import java.rmi.RemoteException; import java.rmi.RemoteException;
import java.sql.Connection; import java.sql.Connection;
import java.sql.PreparedStatement; import java.sql.PreparedStatement;
import java.sql.ResultSet; import java.sql.ResultSet;
import ibase.system.config.ConnDriver; import ibase.system.config.ConnDriver;
import ibase.webitm.ejb.ValidatorEJB; import ibase.webitm.ejb.ValidatorEJB;
import ibase.webitm.utility.ITMException; import ibase.webitm.utility.ITMException;
import javax.ejb.Stateless; import javax.ejb.Stateless;
/** /**
......
package ibase.dashboard.ejb; package ibase.dashboard.scm.ejb;
import java.rmi.RemoteException; import java.rmi.RemoteException;
import ibase.webitm.ejb.ValidatorLocal; import ibase.webitm.ejb.ValidatorLocal;
import ibase.webitm.utility.ITMException; import ibase.webitm.utility.ITMException;
import javax.ejb.Local; import javax.ejb.Local;
import org.json.simple.JSONObject; import org.json.simple.JSONObject;
...@@ -11,7 +10,6 @@ import org.json.simple.JSONObject; ...@@ -11,7 +10,6 @@ import org.json.simple.JSONObject;
@Local @Local
public interface SalesPerformanceLocal extends ValidatorLocal public interface SalesPerformanceLocal extends ValidatorLocal
{ {
public JSONObject getMetaData(String fileName) throws RemoteException, ITMException;
public JSONObject getGridData(String dataSourceName,String month) throws RemoteException, ITMException; public JSONObject getGridData(String dataSourceName,String month) throws RemoteException, ITMException;
public JSONObject getSalesGraphData(String dataSourceName,String month) throws RemoteException, ITMException; public JSONObject getSalesGraphData(String dataSourceName,String month) throws RemoteException, ITMException;
public JSONObject getProfitGraphData(String dataSourceName,String month) throws RemoteException, ITMException; public JSONObject getProfitGraphData(String dataSourceName,String month) throws RemoteException, ITMException;
......
package ibase.dashboard.ejb; package ibase.dashboard.scm.ejb;
import java.rmi.RemoteException; import java.rmi.RemoteException;
import ibase.webitm.ejb.ValidatorRemote; import ibase.webitm.ejb.ValidatorRemote;
import ibase.webitm.utility.ITMException; import ibase.webitm.utility.ITMException;
import javax.ejb.Remote; import javax.ejb.Remote;
...@@ -9,7 +8,6 @@ import org.json.simple.JSONObject; ...@@ -9,7 +8,6 @@ import org.json.simple.JSONObject;
@Remote @Remote
public interface SalesPerformanceRemote extends ValidatorRemote public interface SalesPerformanceRemote extends ValidatorRemote
{ {
public JSONObject getMetaData(String fileName) throws RemoteException, ITMException ;
public JSONObject getGridData(String dataSourceName,String month) throws RemoteException, ITMException; public JSONObject getGridData(String dataSourceName,String month) throws RemoteException, ITMException;
public JSONObject getSalesGraphData(String dataSourceName,String month) throws RemoteException, ITMException; public JSONObject getSalesGraphData(String dataSourceName,String month) throws RemoteException, ITMException;
public JSONObject getProfitGraphData(String dataSourceName ,String month) throws RemoteException, ITMException; public JSONObject getProfitGraphData(String dataSourceName ,String month) throws RemoteException, ITMException;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
package ibase.dashboard.ejb; package ibase.dashboard.scm.ejb;
import ibase.webitm.ejb.ValidatorLocal; import ibase.webitm.ejb.ValidatorLocal;
import ibase.webitm.utility.ITMException; import ibase.webitm.utility.ITMException;
import java.rmi.RemoteException; import java.rmi.RemoteException;
import javax.ejb.Local; import javax.ejb.Local;
import org.json.simple.JSONObject; import org.json.simple.JSONObject;
@Local @Local
...@@ -18,6 +15,10 @@ public interface SalesPerformanceTwoLocal extends ValidatorLocal ...@@ -18,6 +15,10 @@ public interface SalesPerformanceTwoLocal extends ValidatorLocal
public JSONObject getGIPAINDivisionBrandData(String dataSourceName, String month, String topNos) throws RemoteException, ITMException; public JSONObject getGIPAINDivisionBrandData(String dataSourceName, String month, String topNos) throws RemoteException, ITMException;
public JSONObject getGYNAECDivisionBrandData(String dataSourceName, String month, String topNos) throws RemoteException, ITMException; public JSONObject getGYNAECDivisionBrandData(String dataSourceName, String month, String topNos) throws RemoteException, ITMException;
public JSONObject getOPTHALDivisionBrandData(String dataSourceName, String month, String topNos) throws RemoteException, ITMException; public JSONObject getOPTHALDivisionBrandData(String dataSourceName, String month, String topNos) throws RemoteException, ITMException;
public JSONObject getSPLCAREDivisionBrandData(String dataSourceName, String month, String topNos) throws RemoteException, ITMException; public JSONObject getOtherDivisionBrandData(String dataSourceName, String month, String topNos) throws RemoteException, ITMException;
public JSONObject getURODivisionBrandData(String dataSourceName, String month, String topNos) throws RemoteException, ITMException;
public JSONObject getONCODivisionBrandData(String dataSourceName, String month, String topNos) throws RemoteException, ITMException;
public JSONObject getDERMADivisionBrandData(String dataSourceName, String month, String topNos) throws RemoteException, ITMException;
public JSONObject getRESPDivisionBrandData(String dataSourceName, String month, String topNos) throws RemoteException, ITMException;
} }
package ibase.dashboard.ejb; package ibase.dashboard.scm.ejb;
import java.rmi.RemoteException; import java.rmi.RemoteException;
import ibase.webitm.ejb.ValidatorRemote; import ibase.webitm.ejb.ValidatorRemote;
import ibase.webitm.utility.ITMException; import ibase.webitm.utility.ITMException;
import javax.ejb.Remote; import javax.ejb.Remote;
import org.json.simple.JSONObject; import org.json.simple.JSONObject;
@Remote @Remote
public interface SalesPerformanceTwoRemote extends ValidatorRemote public interface SalesPerformanceTwoRemote extends ValidatorRemote
{ {
...@@ -15,6 +14,10 @@ public interface SalesPerformanceTwoRemote extends ValidatorRemote ...@@ -15,6 +14,10 @@ public interface SalesPerformanceTwoRemote extends ValidatorRemote
public JSONObject getGIPAINDivisionBrandData(String dataSourceName, String month, String topNos) throws RemoteException, ITMException; public JSONObject getGIPAINDivisionBrandData(String dataSourceName, String month, String topNos) throws RemoteException, ITMException;
public JSONObject getGYNAECDivisionBrandData(String dataSourceName, String month, String topNos) throws RemoteException, ITMException; public JSONObject getGYNAECDivisionBrandData(String dataSourceName, String month, String topNos) throws RemoteException, ITMException;
public JSONObject getOPTHALDivisionBrandData(String dataSourceName, String month, String topNos) throws RemoteException, ITMException; public JSONObject getOPTHALDivisionBrandData(String dataSourceName, String month, String topNos) throws RemoteException, ITMException;
public JSONObject getSPLCAREDivisionBrandData(String dataSourceName, String month, String topNos) throws RemoteException, ITMException; public JSONObject getOtherDivisionBrandData(String dataSourceName, String month, String topNos) throws RemoteException, ITMException;
public JSONObject getURODivisionBrandData(String dataSourceName, String month, String topNos) throws RemoteException, ITMException;
public JSONObject getONCODivisionBrandData(String dataSourceName, String month, String topNos) throws RemoteException, ITMException;
public JSONObject getDERMADivisionBrandData(String dataSourceName, String month, String topNos) throws RemoteException, ITMException;
public JSONObject getRESPDivisionBrandData(String dataSourceName, String month, String topNos) 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