Commit 98b7be56 authored by jshaikh's avatar jshaikh

Changes in workflow component

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@177936 ce508802-f39f-4f6c-b175-0d175dae99d5
parent be4b812e
......@@ -15,14 +15,17 @@ import javax.ejb.Stateless;
@Stateless
public class PorderConfWF implements PorderConfWFRemote, PorderConfWFLocal {
public String confirm(String purcOrder, String xtraParams, String forcedFlag) throws RemoteException, ITMException {
public String confirm(String purcOrder, String xtraParams, String forcedFlag, String userInfoStr) throws RemoteException, ITMException {
System.out.println("PorderConfWF confirm method called>>>>>>>>>>>>>>>>>>>");
String retString = "N", errString = "";
PorderConf porderConf = null;
try {
UserInfoBean userInfo = new UserInfoBean(userInfoStr);
porderConf = new PorderConf();
porderConf.setUserInfo(userInfo);
errString = porderConf.confirm(purcOrder, xtraParams, forcedFlag);
if(errString != null && errString.trim().length() > 0)
{
if(errString.indexOf("VTCNFSUCC") > -1)
......
......@@ -6,5 +6,5 @@ import javax.ejb.Local;
@Local
public interface PorderConfWFLocal {
public String confirm(String purcOrder, String xtraParams, String forcedFlag) throws RemoteException, ITMException;
public String confirm(String purcOrder, String xtraParams, String forcedFlag, String userInfoStr) throws RemoteException, ITMException;
}
......@@ -6,5 +6,5 @@ import javax.ejb.Remote;
@Remote
public interface PorderConfWFRemote {
public String confirm(String purcOrder, String xtraParams, String forcedFlag) throws RemoteException, ITMException;
public String confirm(String purcOrder, String xtraParams, String forcedFlag, String userInfoStr) throws RemoteException, ITMException;
}
......@@ -17,6 +17,6 @@ import javax.ejb.Local; // added for ejb3
@Local // added for ejb3
public interface SorderConfLocal extends ActionHandlerLocal
{
public String confirm(String tranId, String xtraParams, String forcedFlag, String userInfoStr) throws RemoteException,ITMException;
public String confirm(String tranId, String xtraParams, String forcedFlag) throws RemoteException,ITMException;
}
......@@ -15,5 +15,5 @@ import javax.ejb.Remote; // added for ejb3
@Remote // added for ejb3
public interface SorderConfRemote extends ActionHandlerRemote
{
public String confirm(String tranId, String xtraParams, String forcedFlag, String userInfoStr) throws RemoteException,ITMException;
public String confirm(String tranId, String xtraParams, String forcedFlag) throws RemoteException,ITMException;
}
......@@ -6,5 +6,5 @@ import javax.ejb.Local;
@Local
public interface SorderConfWFLocal {
public String confirm(String saleOrder, String xtraParams, String forcedFlag) throws RemoteException, ITMException;
public String confirm(String saleOrder, String xtraParams, String forcedFlag, String userInfoStr) throws RemoteException, ITMException;
}
......@@ -5,5 +5,5 @@ import javax.ejb.Remote;
@Remote
public interface SorderConfWFRemote {
public String confirm(String saleOrder, String xtraParams, String forcedFlag) throws RemoteException, ITMException;
public String confirm(String saleOrder, String xtraParams, String forcedFlag, String userInfoStr) throws RemoteException, ITMException;
}
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