Commit 367283a9 authored by bpandey's avatar bpandey

added new method


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@93750 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 478eb3ef
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
package ibase.dashboard.mfg.bean; package ibase.dashboard.mfg.bean;
import java.rmi.RemoteException; import java.rmi.RemoteException;
//import ibase.dashboard.mfg.ejb.MachineUtlDetailsRemote;
import ibase.dashboard.mfg.ejb.ProductionVsBudgetReportRemote; import ibase.dashboard.mfg.ejb.ProductionVsBudgetReportRemote;
import ibase.system.config.AppConnectParm; import ibase.system.config.AppConnectParm;
import ibase.webitm.utility.ITMException; import ibase.webitm.utility.ITMException;
...@@ -38,12 +40,12 @@ public class ProductionVsBudgetReportBean ...@@ -38,12 +40,12 @@ public class ProductionVsBudgetReportBean
} }
public String getProductionBudget(String frmDate,String toDate) throws RemoteException, ITMException public String getProductionBudget(String frmDate,String toDate,String geoLoc,String unitForm) throws RemoteException, ITMException
{ {
String xmlString=""; String xmlString="";
try try
{ {
xmlString= budgetReportRemote.getProductionBudget(frmDate, toDate); xmlString= budgetReportRemote.getProductionBudget(frmDate, toDate,geoLoc,unitForm);
} }
catch (Exception e) catch (Exception e)
{ {
...@@ -53,4 +55,49 @@ public class ProductionVsBudgetReportBean ...@@ -53,4 +55,49 @@ public class ProductionVsBudgetReportBean
return xmlString; return xmlString;
} }
public String getGeoLoCodeXmlData() throws RemoteException, ITMException
{
String xmlDataString="";
try
{
xmlDataString= budgetReportRemote.getGeoLoCodeXmlData();
}
catch (Exception e)
{
System.out.println("ibase.dashboard.mfg.bean :ProductionVsBudgetReportBean "+e.getMessage());
e.printStackTrace();
}
return xmlDataString;
}
public String getUnitFormXmlData() throws RemoteException, ITMException
{
String xmlDataString="";
try
{
xmlDataString= budgetReportRemote.getUnitFormXmlData();
}
catch (Exception e)
{
System.out.println("ibase.dashboard.mfg.bean :ProductionVsBudgetReportBean "+e.getMessage());
e.printStackTrace();
}
return xmlDataString;
}
public String getInitGeoLocation() throws RemoteException, ITMException
{
return budgetReportRemote.getInitGeoLocation();
}
public String getInitUnitForm() throws RemoteException, ITMException
{
return budgetReportRemote.getInitUnitForm();
}
} }
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