Commit 9e23eda8 authored by ssalve's avatar ssalve

Sarita: Done changes to set userInfo on 2nd JAN 2018

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@177489 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 00044d8b
package ibase.webitm.ejb.dis;
import ibase.utility.UserInfoBean;
import ibase.webitm.ejb.ValidatorEJB;
import ibase.webitm.utility.ITMException;
......@@ -10,6 +11,12 @@ import java.util.ArrayList;
public class CustomerDetails extends ValidatorEJB
{
//Added by sarita on 02nd JAN 2018 to ser userInfo [start]
public CustomerDetails(UserInfoBean userInfoBean)
{
setUserInfo(userInfoBean);
}
//Added by sarita on 02nd JAN 2018 to ser userInfo [end]
@SuppressWarnings({ "unchecked", "rawtypes" })
public ArrayList getCustomerDetails(String custCode)
{
......@@ -188,7 +195,9 @@ public class CustomerDetails extends ValidatorEJB
System.out.println("return String :" + custList);
return custList;
}
public String getCustomerImage(String custCode, String custName) throws ITMException
//Added and replace by sarita on 2nd JAN 2018
//public String getCustomerImage(String custCode, String custName) throws ITMException
public String getCustomerImage(String custCode, String custName,UserInfoBean userInfoBean) throws ITMException
{
String custImg = "";
try
......@@ -198,7 +207,9 @@ public class CustomerDetails extends ValidatorEJB
custImg = wavegenWizEJB.getCustomImagePath(custCode, custName, "customer");*/
DistUtility distUtility = new DistUtility();
custImg = distUtility.getImagePath("w_customer", custCode, custName, "customer", null);
//Added and replace by sarita on 2nd JAN 2018
//custImg = distUtility.getImagePath("w_customer", custCode, custName, "customer", null);
custImg = distUtility.getImagePath("w_customer", custCode, custName, "customer", null,userInfoBean);
System.out.println("ItemListBean.getItemListDetails()["+custImg+"]");
}
catch (Exception e)
......
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