Commit 79e1210a authored by piyush's avatar piyush

Changed done in BackGroundLog.java & PerkProcessWizardBean.java

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@217399 ce508802-f39f-4f6c-b175-0d175dae99d5
parent d254ed81
...@@ -10,14 +10,14 @@ import org.json.JSONObject; ...@@ -10,14 +10,14 @@ import org.json.JSONObject;
import ibase.system.config.ConnDriver; import ibase.system.config.ConnDriver;
import ibase.utility.E12GenericUtility; import ibase.utility.E12GenericUtility;
import ibase.utility.UserInfoBean; import ibase.utility.UserInfoBean;
import ibase.webitm.utility.GenericUtility;
import ibase.webitm.utility.ITMException; import ibase.webitm.utility.ITMException;
import org.json.JSONArray; import org.json.JSONArray;
//Created By sanket J on 14/05/2018 for Background process from metis //Created By sanket J on 14/05/2018 for Background process from metis
public class BackgroundLog public class BackgroundLog
{ {
//private ibase.utility.UserInfoBean userInfo = null; //private ibase.utility.UserInfoBean userInfo = null;
GenericUtility genericUtility = GenericUtility.getInstance(); // GenericUtility genericUtility = GenericUtility.getInstance();
E12GenericUtility genericUtility = new E12GenericUtility();
//Modified by Ahmed on 24-May-2018[start] //Modified by Ahmed on 24-May-2018[start]
public String getBackgroundHeader(String objName, String createDate) throws Exception public String getBackgroundHeader(String objName, String createDate) throws Exception
......
package ibase.webitm.bean.adm; package ibase.webitm.bean.adm;
import ibase.utility.UserInfoBean; import ibase.utility.UserInfoBean;
import ibase.webitm.utility.GenericUtility; import ibase.utility.E12GenericUtility;
import ibase.webitm.utility.ITMException; import ibase.webitm.utility.ITMException;
import ibase.system.config.ConnDriver; import ibase.system.config.ConnDriver;
import ibase.utility.CommonConstants; import ibase.utility.CommonConstants;
...@@ -84,6 +84,7 @@ public class PerkProcessWizardBean ...@@ -84,6 +84,7 @@ public class PerkProcessWizardBean
String preFormDet =""; String preFormDet ="";
String xmlName =""; String xmlName ="";
String xslFileName =""; String xslFileName ="";
E12GenericUtility genericUtility = new E12GenericUtility();
try try
{ {
...@@ -101,7 +102,8 @@ public class PerkProcessWizardBean ...@@ -101,7 +102,8 @@ public class PerkProcessWizardBean
xslFileName = getXSLFileName(xmlName + "_" +this.user_lang + "_" + this.user_country + ".xsl",xmlName+ "_" + "en" + "_" + "US" +"_"+"A"+ ".xsl" ); xslFileName = getXSLFileName(xmlName + "_" +this.user_lang + "_" + this.user_country + ".xsl",xmlName+ "_" + "en" + "_" + "US" +"_"+"A"+ ".xsl" );
itemData = (new ibase.webitm.utility.GenericUtility() ).transformToString( xslFileName, "<Root>"+selectedData+"</Root>", CommonConstants.APPLICATION_CONTEXT + File.separator + "temp", "Output", ".html" ); //itemData = (new ibase.webitm.utility.GenericUtility() ).transformToString( xslFileName, "<Root>"+selectedData+"</Root>", CommonConstants.APPLICATION_CONTEXT + File.separator + "temp", "Output", ".html" );
itemData = genericUtility.transformToString( xslFileName, "<Root>"+selectedData+"</Root>", CommonConstants.APPLICATION_CONTEXT + File.separator + "temp", "Output", ".html" );
} }
else else
{ {
...@@ -113,7 +115,8 @@ public class PerkProcessWizardBean ...@@ -113,7 +115,8 @@ public class PerkProcessWizardBean
{ {
selectedData = ""; selectedData = "";
} }
itemData = (new ibase.webitm.utility.GenericUtility() ).transformToString( xslFileName, "<Root>"+selectedData+"</Root>", CommonConstants.APPLICATION_CONTEXT + File.separator + "temp", "Output", ".html" ); //itemData = (new ibase.webitm.utility.GenericUtility() ).transformToString( xslFileName, "<Root>"+selectedData+"</Root>", CommonConstants.APPLICATION_CONTEXT + File.separator + "temp", "Output", ".html" );
itemData = genericUtility.transformToString( xslFileName, "<Root>"+selectedData+"</Root>", CommonConstants.APPLICATION_CONTEXT + File.separator + "temp", "Output", ".html" );
} }
/* else /* else
{ {
......
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