
package ibase.dashboard.ejb;
import java.rmi.RemoteException;
import ibase.webitm.ejb.ValidatorLocal;
import ibase.webitm.utility.ITMException;

import javax.ejb.Local;

import org.json.simple.JSONObject;

@Local
public interface SalesPerformanceLocal extends ValidatorLocal 
{
	public JSONObject getMetaData() throws RemoteException, ITMException;
	public JSONObject getGridData(String dataSourceName,String year,String month) throws RemoteException, ITMException;
	public JSONObject getSalesGraphData(String dataSourceName,String year,String month) throws RemoteException, ITMException;
	public JSONObject getProfitGraphData(String dataSourceName,String year,String month) throws RemoteException, ITMException;
	public JSONObject getExpenseGraphData(String dataSourceName,String year,String month) throws RemoteException, ITMException;

}
