Commit d29faff0 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@177490 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 9e23eda8
package ibase.webitm.ejb.dis;
import ibase.utility.CommonConstants;
import ibase.utility.UserInfoBean;
import ibase.webitm.ejb.ValidatorEJB;
import ibase.webitm.utility.ITMException;
......@@ -19,8 +20,9 @@ import javax.imageio.ImageIO;
public class DistUtility extends ValidatorEJB
{
public String getImagePath(String tranWindow, String tranId, String altColVal, String folderName, Connection conn) throws ITMException
//Added and replace by sarita on 2nd JAN 2018
//public String getImagePath(String tranWindow, String tranId, String altColVal, String folderName, Connection conn) throws ITMException
public String getImagePath(String tranWindow, String tranId, String altColVal, String folderName, Connection conn,UserInfoBean userInfo) throws ITMException
{
System.out.println("Common utility to get image path");
String retImgPath = "", refSer = "", docId = "", docType = "", objName = "";
......@@ -33,6 +35,8 @@ public class DistUtility extends ValidatorEJB
{
if (conn == null)
{
//Added by sarita on 2nd JAN 2018
setUserInfo(userInfo);
conn = getConnection();
}
......
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