package wenrgise.workflow.ejb.facade;

import java.io.Serializable;
import java.rmi.RemoteException;
import java.rmi.UnexpectedException;
import java.sql.Timestamp;
import java.util.ArrayList;
import javax.ejb.CreateException;
import javax.ejb.EJBHome;
import javax.ejb.EJBObject;
import javax.ejb.Handle;
import javax.ejb.RemoveException;
import javax.rmi.CORBA.Stub;
import javax.rmi.CORBA.Util;
import org.omg.CORBA.SystemException;
import org.omg.CORBA.portable.ApplicationException;
import org.omg.CORBA.portable.InputStream;
import org.omg.CORBA.portable.OutputStream;
import org.omg.CORBA.portable.RemarshalException;
import org.omg.CORBA.portable.ServantObject;
import org.omg.CORBA_2_3.portable.InputStream;
import org.omg.CORBA_2_3.portable.OutputStream;
import wenrgise.common.bean.BaseHeaderBean;
import wenrgise.common.exception.EnrgiseApplicationException;
import wenrgise.common.exception.EnrgiseSystemException;
import wenrgise.common.utility.RecordMetaInfo;
import wenrgise.common.utility.UserInfo;
import wenrgise.common.vo.LovQueryVO;
import wenrgise.common.vo.LovVO;
import wenrgise.workflow.bean.WflAuthorizationBean;
import wenrgise.workflow.bean.WflDtlsHdrBean;
import wenrgise.workflow.core.WflDocumentInfo;
import wenrgise.workflow.core.WflStatus;
import wenrgise.workflow.vo.WflDOPGrpQVO;
import wenrgise.workflow.vo.WflDelegationQVO;
import wenrgise.workflow.vo.WflDocMstQVO;
import wenrgise.workflow.vo.WflDtlDocActivityMapQVO;
import wenrgise.workflow.vo.WflRouteDtlQVO;

public class _WorkFlowFacade2_Stub extends Stub implements WorkFlowFacade2 {
  private static final String[] _type_ids = new String[] { "RMI:wenrgise.workflow.ejb.facade.WorkFlowFacade2:0000000000000000", "RMI:javax.ejb.EJBObject:0000000000000000" };
  
  public String[] _ids() {
    return _type_ids;
  }
  
  public WflAuthorizationBean canDo(WflDocumentInfo paramWflDocumentInfo) throws RemoteException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("canDo", true);
          outputStream.write_value((Serializable)paramWflDocumentInfo, WflDocumentInfo.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (WflAuthorizationBean)inputStream.read_value(WflAuthorizationBean.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return canDo(paramWflDocumentInfo);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("canDo", WorkFlowFacade2.class);
    if (servantObject == null)
      return canDo(paramWflDocumentInfo); 
    try {
      WflDocumentInfo wflDocumentInfo = (WflDocumentInfo)Util.copyObject(paramWflDocumentInfo, _orb());
      WflAuthorizationBean wflAuthorizationBean = ((WorkFlowFacade2)servantObject.servant).canDo(wflDocumentInfo);
      return (WflAuthorizationBean)Util.copyObject(wflAuthorizationBean, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public String closeWorkList(WflDtlsHdrBean paramWflDtlsHdrBean, Timestamp paramTimestamp1, ArrayList paramArrayList, Timestamp paramTimestamp2, UserInfo paramUserInfo) throws RemoteException, EnrgiseApplicationException, EnrgiseSystemException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("closeWorkList", true);
          outputStream.write_value((Serializable)paramWflDtlsHdrBean, WflDtlsHdrBean.class);
          outputStream.write_value(paramTimestamp1, Timestamp.class);
          outputStream.write_value(paramArrayList, ArrayList.class);
          outputStream.write_value(paramTimestamp2, Timestamp.class);
          outputStream.write_value((Serializable)paramUserInfo, UserInfo.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (String)inputStream.read_value(String.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return closeWorkList(paramWflDtlsHdrBean, paramTimestamp1, paramArrayList, paramTimestamp2, paramUserInfo);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("closeWorkList", WorkFlowFacade2.class);
    if (servantObject == null)
      return closeWorkList(paramWflDtlsHdrBean, paramTimestamp1, paramArrayList, paramTimestamp2, paramUserInfo); 
    try {
      Object[] arrayOfObject = Util.copyObjects(new Object[] { paramWflDtlsHdrBean, paramTimestamp1, paramArrayList, paramTimestamp2, paramUserInfo }, _orb());
      WflDtlsHdrBean wflDtlsHdrBean = (WflDtlsHdrBean)arrayOfObject[0];
      Timestamp timestamp1 = (Timestamp)arrayOfObject[1];
      ArrayList arrayList = (ArrayList)arrayOfObject[2];
      Timestamp timestamp2 = (Timestamp)arrayOfObject[3];
      UserInfo userInfo = (UserInfo)arrayOfObject[4];
      return ((WorkFlowFacade2)servantObject.servant).closeWorkList(wflDtlsHdrBean, timestamp1, arrayList, timestamp2, userInfo);
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public String getActivityCode(String paramString) throws RemoteException, CreateException, EnrgiseApplicationException, EnrgiseSystemException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("getActivityCode", true);
          outputStream.write_value(paramString, String.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (String)inputStream.read_value(String.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:javax/ejb/CreateEx:1.0"))
            throw (CreateException)inputStream.read_value(CreateException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getActivityCode(paramString);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("getActivityCode", WorkFlowFacade2.class);
    if (servantObject == null)
      return getActivityCode(paramString); 
    try {
      return ((WorkFlowFacade2)servantObject.servant).getActivityCode(paramString);
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof CreateException)
        throw (CreateException)throwable2; 
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public String getActivityId(String paramString) throws RemoteException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("getActivityId", true);
          outputStream.write_value(paramString, String.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (String)inputStream.read_value(String.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getActivityId(paramString);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("getActivityId", WorkFlowFacade2.class);
    if (servantObject == null)
      return getActivityId(paramString); 
    try {
      return ((WorkFlowFacade2)servantObject.servant).getActivityId(paramString);
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public LovVO getClassCodeLOVData(LovQueryVO paramLovQueryVO) throws RemoteException, EnrgiseSystemException, EnrgiseApplicationException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("getClassCodeLOVData", true);
          outputStream.write_value((Serializable)paramLovQueryVO, LovQueryVO.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (LovVO)inputStream.read_value(LovVO.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getClassCodeLOVData(paramLovQueryVO);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("getClassCodeLOVData", WorkFlowFacade2.class);
    if (servantObject == null)
      return getClassCodeLOVData(paramLovQueryVO); 
    try {
      LovQueryVO lovQueryVO = (LovQueryVO)Util.copyObject(paramLovQueryVO, _orb());
      LovVO lovVO = ((WorkFlowFacade2)servantObject.servant).getClassCodeLOVData(lovQueryVO);
      return (LovVO)Util.copyObject(lovVO, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public ArrayList getDocHistDtl(String paramString1, String paramString2, String paramString3) throws RemoteException, EnrgiseApplicationException, EnrgiseSystemException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("getDocHistDtl", true);
          outputStream.write_value(paramString1, String.class);
          outputStream.write_value(paramString2, String.class);
          outputStream.write_value(paramString3, String.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (ArrayList)inputStream.read_value(ArrayList.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getDocHistDtl(paramString1, paramString2, paramString3);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("getDocHistDtl", WorkFlowFacade2.class);
    if (servantObject == null)
      return getDocHistDtl(paramString1, paramString2, paramString3); 
    try {
      ArrayList arrayList = ((WorkFlowFacade2)servantObject.servant).getDocHistDtl(paramString1, paramString2, paramString3);
      return (ArrayList)Util.copyObject(arrayList, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public String getDocumentTypeId(String paramString) throws RemoteException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("getDocumentTypeId", true);
          outputStream.write_value(paramString, String.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (String)inputStream.read_value(String.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getDocumentTypeId(paramString);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("getDocumentTypeId", WorkFlowFacade2.class);
    if (servantObject == null)
      return getDocumentTypeId(paramString); 
    try {
      return ((WorkFlowFacade2)servantObject.servant).getDocumentTypeId(paramString);
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public ArrayList getDtlDocTypeInfo(String paramString, long paramLong1, long paramLong2, UserInfo paramUserInfo) throws RemoteException, CreateException, EnrgiseApplicationException, EnrgiseSystemException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("getDtlDocTypeInfo", true);
          outputStream.write_value(paramString, String.class);
          outputStream.write_longlong(paramLong1);
          outputStream.write_longlong(paramLong2);
          outputStream.write_value((Serializable)paramUserInfo, UserInfo.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (ArrayList)inputStream.read_value(ArrayList.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:javax/ejb/CreateEx:1.0"))
            throw (CreateException)inputStream.read_value(CreateException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getDtlDocTypeInfo(paramString, paramLong1, paramLong2, paramUserInfo);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("getDtlDocTypeInfo", WorkFlowFacade2.class);
    if (servantObject == null)
      return getDtlDocTypeInfo(paramString, paramLong1, paramLong2, paramUserInfo); 
    try {
      Object[] arrayOfObject = Util.copyObjects(new Object[] { paramString, paramUserInfo }, _orb());
      String str = (String)arrayOfObject[0];
      UserInfo userInfo = (UserInfo)arrayOfObject[1];
      ArrayList arrayList = ((WorkFlowFacade2)servantObject.servant).getDtlDocTypeInfo(str, paramLong1, paramLong2, userInfo);
      return (ArrayList)Util.copyObject(arrayList, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof CreateException)
        throw (CreateException)throwable2; 
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public RecordMetaInfo getDtlDocTypeMetaInfo(String paramString, UserInfo paramUserInfo) throws RemoteException, CreateException, EnrgiseApplicationException, EnrgiseSystemException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("getDtlDocTypeMetaInfo", true);
          outputStream.write_value(paramString, String.class);
          outputStream.write_value((Serializable)paramUserInfo, UserInfo.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (RecordMetaInfo)inputStream.read_value(RecordMetaInfo.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:javax/ejb/CreateEx:1.0"))
            throw (CreateException)inputStream.read_value(CreateException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getDtlDocTypeMetaInfo(paramString, paramUserInfo);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("getDtlDocTypeMetaInfo", WorkFlowFacade2.class);
    if (servantObject == null)
      return getDtlDocTypeMetaInfo(paramString, paramUserInfo); 
    try {
      Object[] arrayOfObject = Util.copyObjects(new Object[] { paramString, paramUserInfo }, _orb());
      String str = (String)arrayOfObject[0];
      UserInfo userInfo = (UserInfo)arrayOfObject[1];
      RecordMetaInfo recordMetaInfo = ((WorkFlowFacade2)servantObject.servant).getDtlDocTypeMetaInfo(str, userInfo);
      return (RecordMetaInfo)Util.copyObject(recordMetaInfo, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof CreateException)
        throw (CreateException)throwable2; 
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public EJBHome getEJBHome() throws RemoteException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = _request("_get_EJBHome", true);
          inputStream = _invoke(outputStream);
          return (EJBHome)inputStream.read_Object(EJBHome.class);
        } catch (ApplicationException applicationException) {
          inputStream = applicationException.getInputStream();
          String str = inputStream.read_string();
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getEJBHome();
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("_get_EJBHome", EJBObject.class);
    if (servantObject == null)
      return getEJBHome(); 
    try {
      EJBHome eJBHome = ((EJBObject)servantObject.servant).getEJBHome();
      return (EJBHome)Util.copyObject(eJBHome, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public LovVO getEmpNameLOVData(LovQueryVO paramLovQueryVO) throws RemoteException, EnrgiseSystemException, EnrgiseApplicationException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("getEmpNameLOVData", true);
          outputStream.write_value((Serializable)paramLovQueryVO, LovQueryVO.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (LovVO)inputStream.read_value(LovVO.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getEmpNameLOVData(paramLovQueryVO);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("getEmpNameLOVData", WorkFlowFacade2.class);
    if (servantObject == null)
      return getEmpNameLOVData(paramLovQueryVO); 
    try {
      LovQueryVO lovQueryVO = (LovQueryVO)Util.copyObject(paramLovQueryVO, _orb());
      LovVO lovVO = ((WorkFlowFacade2)servantObject.servant).getEmpNameLOVData(lovQueryVO);
      return (LovVO)Util.copyObject(lovVO, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public Handle getHandle() throws RemoteException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = _request("_get_handle", true);
          inputStream = (InputStream)_invoke(outputStream);
          return (Handle)inputStream.read_abstract_interface(Handle.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getHandle();
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("_get_handle", EJBObject.class);
    if (servantObject == null)
      return getHandle(); 
    try {
      Handle handle = ((EJBObject)servantObject.servant).getHandle();
      return (Handle)Util.copyObject(handle, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public UserInfo getLoginUserInfo(String paramString1, String paramString2) throws RemoteException, EnrgiseApplicationException, EnrgiseSystemException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("getLoginUserInfo", true);
          outputStream.write_value(paramString1, String.class);
          outputStream.write_value(paramString2, String.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (UserInfo)inputStream.read_value(UserInfo.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getLoginUserInfo(paramString1, paramString2);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("getLoginUserInfo", WorkFlowFacade2.class);
    if (servantObject == null)
      return getLoginUserInfo(paramString1, paramString2); 
    try {
      UserInfo userInfo = ((WorkFlowFacade2)servantObject.servant).getLoginUserInfo(paramString1, paramString2);
      return (UserInfo)Util.copyObject(userInfo, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public Object getPrimaryKey() throws RemoteException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = _request("_get_primaryKey", true);
          inputStream = _invoke(outputStream);
          return Util.readAny(inputStream);
        } catch (ApplicationException applicationException) {
          inputStream = applicationException.getInputStream();
          String str = inputStream.read_string();
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getPrimaryKey();
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("_get_primaryKey", EJBObject.class);
    if (servantObject == null)
      return getPrimaryKey(); 
    try {
      Object object = ((EJBObject)servantObject.servant).getPrimaryKey();
      return Util.copyObject(object, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public String getRouteDtlId(WflDocumentInfo paramWflDocumentInfo) throws RemoteException, CreateException, EnrgiseApplicationException, EnrgiseSystemException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("getRouteDtlId", true);
          outputStream.write_value((Serializable)paramWflDocumentInfo, WflDocumentInfo.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (String)inputStream.read_value(String.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:javax/ejb/CreateEx:1.0"))
            throw (CreateException)inputStream.read_value(CreateException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getRouteDtlId(paramWflDocumentInfo);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("getRouteDtlId", WorkFlowFacade2.class);
    if (servantObject == null)
      return getRouteDtlId(paramWflDocumentInfo); 
    try {
      WflDocumentInfo wflDocumentInfo = (WflDocumentInfo)Util.copyObject(paramWflDocumentInfo, _orb());
      return ((WorkFlowFacade2)servantObject.servant).getRouteDtlId(wflDocumentInfo);
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof CreateException)
        throw (CreateException)throwable2; 
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public ArrayList getWFLDtlDocActivityDtlInfo(String paramString, long paramLong1, long paramLong2, UserInfo paramUserInfo) throws RemoteException, CreateException, EnrgiseApplicationException, EnrgiseSystemException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("getWFLDtlDocActivityDtlInfo", true);
          outputStream.write_value(paramString, String.class);
          outputStream.write_longlong(paramLong1);
          outputStream.write_longlong(paramLong2);
          outputStream.write_value((Serializable)paramUserInfo, UserInfo.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (ArrayList)inputStream.read_value(ArrayList.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:javax/ejb/CreateEx:1.0"))
            throw (CreateException)inputStream.read_value(CreateException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getWFLDtlDocActivityDtlInfo(paramString, paramLong1, paramLong2, paramUserInfo);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("getWFLDtlDocActivityDtlInfo", WorkFlowFacade2.class);
    if (servantObject == null)
      return getWFLDtlDocActivityDtlInfo(paramString, paramLong1, paramLong2, paramUserInfo); 
    try {
      Object[] arrayOfObject = Util.copyObjects(new Object[] { paramString, paramUserInfo }, _orb());
      String str = (String)arrayOfObject[0];
      UserInfo userInfo = (UserInfo)arrayOfObject[1];
      ArrayList arrayList = ((WorkFlowFacade2)servantObject.servant).getWFLDtlDocActivityDtlInfo(str, paramLong1, paramLong2, userInfo);
      return (ArrayList)Util.copyObject(arrayList, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof CreateException)
        throw (CreateException)throwable2; 
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public RecordMetaInfo getWFLDtlDocActivityDtlMetaInfo(String paramString, UserInfo paramUserInfo) throws RemoteException, CreateException, EnrgiseApplicationException, EnrgiseSystemException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("getWFLDtlDocActivityDtlMetaInfo", true);
          outputStream.write_value(paramString, String.class);
          outputStream.write_value((Serializable)paramUserInfo, UserInfo.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (RecordMetaInfo)inputStream.read_value(RecordMetaInfo.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:javax/ejb/CreateEx:1.0"))
            throw (CreateException)inputStream.read_value(CreateException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getWFLDtlDocActivityDtlMetaInfo(paramString, paramUserInfo);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("getWFLDtlDocActivityDtlMetaInfo", WorkFlowFacade2.class);
    if (servantObject == null)
      return getWFLDtlDocActivityDtlMetaInfo(paramString, paramUserInfo); 
    try {
      Object[] arrayOfObject = Util.copyObjects(new Object[] { paramString, paramUserInfo }, _orb());
      String str = (String)arrayOfObject[0];
      UserInfo userInfo = (UserInfo)arrayOfObject[1];
      RecordMetaInfo recordMetaInfo = ((WorkFlowFacade2)servantObject.servant).getWFLDtlDocActivityDtlMetaInfo(str, userInfo);
      return (RecordMetaInfo)Util.copyObject(recordMetaInfo, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof CreateException)
        throw (CreateException)throwable2; 
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public ArrayList getWFLDtlDocActivityHdrInfo(WflDtlDocActivityMapQVO paramWflDtlDocActivityMapQVO, long paramLong1, long paramLong2, UserInfo paramUserInfo) throws RemoteException, CreateException, EnrgiseApplicationException, EnrgiseSystemException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("getWFLDtlDocActivityHdrInfo", true);
          outputStream.write_value((Serializable)paramWflDtlDocActivityMapQVO, WflDtlDocActivityMapQVO.class);
          outputStream.write_longlong(paramLong1);
          outputStream.write_longlong(paramLong2);
          outputStream.write_value((Serializable)paramUserInfo, UserInfo.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (ArrayList)inputStream.read_value(ArrayList.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:javax/ejb/CreateEx:1.0"))
            throw (CreateException)inputStream.read_value(CreateException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getWFLDtlDocActivityHdrInfo(paramWflDtlDocActivityMapQVO, paramLong1, paramLong2, paramUserInfo);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("getWFLDtlDocActivityHdrInfo", WorkFlowFacade2.class);
    if (servantObject == null)
      return getWFLDtlDocActivityHdrInfo(paramWflDtlDocActivityMapQVO, paramLong1, paramLong2, paramUserInfo); 
    try {
      Object[] arrayOfObject = Util.copyObjects(new Object[] { paramWflDtlDocActivityMapQVO, paramUserInfo }, _orb());
      WflDtlDocActivityMapQVO wflDtlDocActivityMapQVO = (WflDtlDocActivityMapQVO)arrayOfObject[0];
      UserInfo userInfo = (UserInfo)arrayOfObject[1];
      ArrayList arrayList = ((WorkFlowFacade2)servantObject.servant).getWFLDtlDocActivityHdrInfo(wflDtlDocActivityMapQVO, paramLong1, paramLong2, userInfo);
      return (ArrayList)Util.copyObject(arrayList, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof CreateException)
        throw (CreateException)throwable2; 
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public RecordMetaInfo getWFLDtlDocActivityHdrMetaInfo(WflDtlDocActivityMapQVO paramWflDtlDocActivityMapQVO, UserInfo paramUserInfo) throws RemoteException, CreateException, EnrgiseApplicationException, EnrgiseSystemException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("getWFLDtlDocActivityHdrMetaInfo", true);
          outputStream.write_value((Serializable)paramWflDtlDocActivityMapQVO, WflDtlDocActivityMapQVO.class);
          outputStream.write_value((Serializable)paramUserInfo, UserInfo.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (RecordMetaInfo)inputStream.read_value(RecordMetaInfo.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:javax/ejb/CreateEx:1.0"))
            throw (CreateException)inputStream.read_value(CreateException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getWFLDtlDocActivityHdrMetaInfo(paramWflDtlDocActivityMapQVO, paramUserInfo);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("getWFLDtlDocActivityHdrMetaInfo", WorkFlowFacade2.class);
    if (servantObject == null)
      return getWFLDtlDocActivityHdrMetaInfo(paramWflDtlDocActivityMapQVO, paramUserInfo); 
    try {
      Object[] arrayOfObject = Util.copyObjects(new Object[] { paramWflDtlDocActivityMapQVO, paramUserInfo }, _orb());
      WflDtlDocActivityMapQVO wflDtlDocActivityMapQVO = (WflDtlDocActivityMapQVO)arrayOfObject[0];
      UserInfo userInfo = (UserInfo)arrayOfObject[1];
      RecordMetaInfo recordMetaInfo = ((WorkFlowFacade2)servantObject.servant).getWFLDtlDocActivityHdrMetaInfo(wflDtlDocActivityMapQVO, userInfo);
      return (RecordMetaInfo)Util.copyObject(recordMetaInfo, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof CreateException)
        throw (CreateException)throwable2; 
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public ArrayList getWFLRouteDtlInfo(WflRouteDtlQVO paramWflRouteDtlQVO, long paramLong1, long paramLong2, UserInfo paramUserInfo) throws RemoteException, CreateException, EnrgiseApplicationException, EnrgiseSystemException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("getWFLRouteDtlInfo", true);
          outputStream.write_value((Serializable)paramWflRouteDtlQVO, WflRouteDtlQVO.class);
          outputStream.write_longlong(paramLong1);
          outputStream.write_longlong(paramLong2);
          outputStream.write_value((Serializable)paramUserInfo, UserInfo.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (ArrayList)inputStream.read_value(ArrayList.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:javax/ejb/CreateEx:1.0"))
            throw (CreateException)inputStream.read_value(CreateException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getWFLRouteDtlInfo(paramWflRouteDtlQVO, paramLong1, paramLong2, paramUserInfo);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("getWFLRouteDtlInfo", WorkFlowFacade2.class);
    if (servantObject == null)
      return getWFLRouteDtlInfo(paramWflRouteDtlQVO, paramLong1, paramLong2, paramUserInfo); 
    try {
      Object[] arrayOfObject = Util.copyObjects(new Object[] { paramWflRouteDtlQVO, paramUserInfo }, _orb());
      WflRouteDtlQVO wflRouteDtlQVO = (WflRouteDtlQVO)arrayOfObject[0];
      UserInfo userInfo = (UserInfo)arrayOfObject[1];
      ArrayList arrayList = ((WorkFlowFacade2)servantObject.servant).getWFLRouteDtlInfo(wflRouteDtlQVO, paramLong1, paramLong2, userInfo);
      return (ArrayList)Util.copyObject(arrayList, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof CreateException)
        throw (CreateException)throwable2; 
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public RecordMetaInfo getWFLRouteDtlMetaInfo(WflRouteDtlQVO paramWflRouteDtlQVO, UserInfo paramUserInfo) throws RemoteException, CreateException, EnrgiseApplicationException, EnrgiseSystemException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("getWFLRouteDtlMetaInfo", true);
          outputStream.write_value((Serializable)paramWflRouteDtlQVO, WflRouteDtlQVO.class);
          outputStream.write_value((Serializable)paramUserInfo, UserInfo.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (RecordMetaInfo)inputStream.read_value(RecordMetaInfo.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:javax/ejb/CreateEx:1.0"))
            throw (CreateException)inputStream.read_value(CreateException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getWFLRouteDtlMetaInfo(paramWflRouteDtlQVO, paramUserInfo);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("getWFLRouteDtlMetaInfo", WorkFlowFacade2.class);
    if (servantObject == null)
      return getWFLRouteDtlMetaInfo(paramWflRouteDtlQVO, paramUserInfo); 
    try {
      Object[] arrayOfObject = Util.copyObjects(new Object[] { paramWflRouteDtlQVO, paramUserInfo }, _orb());
      WflRouteDtlQVO wflRouteDtlQVO = (WflRouteDtlQVO)arrayOfObject[0];
      UserInfo userInfo = (UserInfo)arrayOfObject[1];
      RecordMetaInfo recordMetaInfo = ((WorkFlowFacade2)servantObject.servant).getWFLRouteDtlMetaInfo(wflRouteDtlQVO, userInfo);
      return (RecordMetaInfo)Util.copyObject(recordMetaInfo, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof CreateException)
        throw (CreateException)throwable2; 
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public ArrayList getWFLTransDtlInfo(WflRouteDtlQVO paramWflRouteDtlQVO, long paramLong1, long paramLong2, UserInfo paramUserInfo) throws RemoteException, CreateException, EnrgiseApplicationException, EnrgiseSystemException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("getWFLTransDtlInfo", true);
          outputStream.write_value((Serializable)paramWflRouteDtlQVO, WflRouteDtlQVO.class);
          outputStream.write_longlong(paramLong1);
          outputStream.write_longlong(paramLong2);
          outputStream.write_value((Serializable)paramUserInfo, UserInfo.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (ArrayList)inputStream.read_value(ArrayList.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:javax/ejb/CreateEx:1.0"))
            throw (CreateException)inputStream.read_value(CreateException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getWFLTransDtlInfo(paramWflRouteDtlQVO, paramLong1, paramLong2, paramUserInfo);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("getWFLTransDtlInfo", WorkFlowFacade2.class);
    if (servantObject == null)
      return getWFLTransDtlInfo(paramWflRouteDtlQVO, paramLong1, paramLong2, paramUserInfo); 
    try {
      Object[] arrayOfObject = Util.copyObjects(new Object[] { paramWflRouteDtlQVO, paramUserInfo }, _orb());
      WflRouteDtlQVO wflRouteDtlQVO = (WflRouteDtlQVO)arrayOfObject[0];
      UserInfo userInfo = (UserInfo)arrayOfObject[1];
      ArrayList arrayList = ((WorkFlowFacade2)servantObject.servant).getWFLTransDtlInfo(wflRouteDtlQVO, paramLong1, paramLong2, userInfo);
      return (ArrayList)Util.copyObject(arrayList, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof CreateException)
        throw (CreateException)throwable2; 
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public RecordMetaInfo getWFLTransDtlMetaInfo(WflRouteDtlQVO paramWflRouteDtlQVO, UserInfo paramUserInfo) throws RemoteException, CreateException, EnrgiseApplicationException, EnrgiseSystemException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("getWFLTransDtlMetaInfo", true);
          outputStream.write_value((Serializable)paramWflRouteDtlQVO, WflRouteDtlQVO.class);
          outputStream.write_value((Serializable)paramUserInfo, UserInfo.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (RecordMetaInfo)inputStream.read_value(RecordMetaInfo.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:javax/ejb/CreateEx:1.0"))
            throw (CreateException)inputStream.read_value(CreateException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getWFLTransDtlMetaInfo(paramWflRouteDtlQVO, paramUserInfo);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("getWFLTransDtlMetaInfo", WorkFlowFacade2.class);
    if (servantObject == null)
      return getWFLTransDtlMetaInfo(paramWflRouteDtlQVO, paramUserInfo); 
    try {
      Object[] arrayOfObject = Util.copyObjects(new Object[] { paramWflRouteDtlQVO, paramUserInfo }, _orb());
      WflRouteDtlQVO wflRouteDtlQVO = (WflRouteDtlQVO)arrayOfObject[0];
      UserInfo userInfo = (UserInfo)arrayOfObject[1];
      RecordMetaInfo recordMetaInfo = ((WorkFlowFacade2)servantObject.servant).getWFLTransDtlMetaInfo(wflRouteDtlQVO, userInfo);
      return (RecordMetaInfo)Util.copyObject(recordMetaInfo, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof CreateException)
        throw (CreateException)throwable2; 
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public LovVO getWflActCodeLOVdata(LovQueryVO paramLovQueryVO) throws RemoteException, CreateException, EnrgiseApplicationException, EnrgiseSystemException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("getWflActCodeLOVdata", true);
          outputStream.write_value((Serializable)paramLovQueryVO, LovQueryVO.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (LovVO)inputStream.read_value(LovVO.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:javax/ejb/CreateEx:1.0"))
            throw (CreateException)inputStream.read_value(CreateException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getWflActCodeLOVdata(paramLovQueryVO);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("getWflActCodeLOVdata", WorkFlowFacade2.class);
    if (servantObject == null)
      return getWflActCodeLOVdata(paramLovQueryVO); 
    try {
      LovQueryVO lovQueryVO = (LovQueryVO)Util.copyObject(paramLovQueryVO, _orb());
      LovVO lovVO = ((WorkFlowFacade2)servantObject.servant).getWflActCodeLOVdata(lovQueryVO);
      return (LovVO)Util.copyObject(lovVO, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof CreateException)
        throw (CreateException)throwable2; 
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public LovVO getWflActIdNLOVdata(LovQueryVO paramLovQueryVO) throws RemoteException, CreateException, EnrgiseApplicationException, EnrgiseSystemException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("getWflActIdNLOVdata", true);
          outputStream.write_value((Serializable)paramLovQueryVO, LovQueryVO.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (LovVO)inputStream.read_value(LovVO.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:javax/ejb/CreateEx:1.0"))
            throw (CreateException)inputStream.read_value(CreateException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getWflActIdNLOVdata(paramLovQueryVO);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("getWflActIdNLOVdata", WorkFlowFacade2.class);
    if (servantObject == null)
      return getWflActIdNLOVdata(paramLovQueryVO); 
    try {
      LovQueryVO lovQueryVO = (LovQueryVO)Util.copyObject(paramLovQueryVO, _orb());
      LovVO lovVO = ((WorkFlowFacade2)servantObject.servant).getWflActIdNLOVdata(lovQueryVO);
      return (LovVO)Util.copyObject(lovVO, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof CreateException)
        throw (CreateException)throwable2; 
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public ArrayList getWflActivityDtlInfo(long paramLong1, long paramLong2, UserInfo paramUserInfo) throws RemoteException, CreateException, EnrgiseApplicationException, EnrgiseSystemException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("getWflActivityDtlInfo", true);
          outputStream.write_longlong(paramLong1);
          outputStream.write_longlong(paramLong2);
          outputStream.write_value((Serializable)paramUserInfo, UserInfo.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (ArrayList)inputStream.read_value(ArrayList.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:javax/ejb/CreateEx:1.0"))
            throw (CreateException)inputStream.read_value(CreateException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getWflActivityDtlInfo(paramLong1, paramLong2, paramUserInfo);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("getWflActivityDtlInfo", WorkFlowFacade2.class);
    if (servantObject == null)
      return getWflActivityDtlInfo(paramLong1, paramLong2, paramUserInfo); 
    try {
      UserInfo userInfo = (UserInfo)Util.copyObject(paramUserInfo, _orb());
      ArrayList arrayList = ((WorkFlowFacade2)servantObject.servant).getWflActivityDtlInfo(paramLong1, paramLong2, userInfo);
      return (ArrayList)Util.copyObject(arrayList, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof CreateException)
        throw (CreateException)throwable2; 
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public RecordMetaInfo getWflActivityDtlMetaInfo(UserInfo paramUserInfo) throws RemoteException, CreateException, EnrgiseApplicationException, EnrgiseSystemException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("getWflActivityDtlMetaInfo", true);
          outputStream.write_value((Serializable)paramUserInfo, UserInfo.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (RecordMetaInfo)inputStream.read_value(RecordMetaInfo.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:javax/ejb/CreateEx:1.0"))
            throw (CreateException)inputStream.read_value(CreateException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getWflActivityDtlMetaInfo(paramUserInfo);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("getWflActivityDtlMetaInfo", WorkFlowFacade2.class);
    if (servantObject == null)
      return getWflActivityDtlMetaInfo(paramUserInfo); 
    try {
      UserInfo userInfo = (UserInfo)Util.copyObject(paramUserInfo, _orb());
      RecordMetaInfo recordMetaInfo = ((WorkFlowFacade2)servantObject.servant).getWflActivityDtlMetaInfo(userInfo);
      return (RecordMetaInfo)Util.copyObject(recordMetaInfo, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof CreateException)
        throw (CreateException)throwable2; 
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public LovVO getWflConditionLOVData(LovQueryVO paramLovQueryVO) throws RemoteException, CreateException, EnrgiseSystemException, EnrgiseApplicationException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("getWflConditionLOVData", true);
          outputStream.write_value((Serializable)paramLovQueryVO, LovQueryVO.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (LovVO)inputStream.read_value(LovVO.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:javax/ejb/CreateEx:1.0"))
            throw (CreateException)inputStream.read_value(CreateException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getWflConditionLOVData(paramLovQueryVO);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("getWflConditionLOVData", WorkFlowFacade2.class);
    if (servantObject == null)
      return getWflConditionLOVData(paramLovQueryVO); 
    try {
      LovQueryVO lovQueryVO = (LovQueryVO)Util.copyObject(paramLovQueryVO, _orb());
      LovVO lovVO = ((WorkFlowFacade2)servantObject.servant).getWflConditionLOVData(lovQueryVO);
      return (LovVO)Util.copyObject(lovVO, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof CreateException)
        throw (CreateException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public LovVO getWflDOPGrpCodeQLOV(LovQueryVO paramLovQueryVO) throws RemoteException, CreateException, EnrgiseSystemException, EnrgiseApplicationException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("getWflDOPGrpCodeQLOV", true);
          outputStream.write_value((Serializable)paramLovQueryVO, LovQueryVO.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (LovVO)inputStream.read_value(LovVO.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:javax/ejb/CreateEx:1.0"))
            throw (CreateException)inputStream.read_value(CreateException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getWflDOPGrpCodeQLOV(paramLovQueryVO);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("getWflDOPGrpCodeQLOV", WorkFlowFacade2.class);
    if (servantObject == null)
      return getWflDOPGrpCodeQLOV(paramLovQueryVO); 
    try {
      LovQueryVO lovQueryVO = (LovQueryVO)Util.copyObject(paramLovQueryVO, _orb());
      LovVO lovVO = ((WorkFlowFacade2)servantObject.servant).getWflDOPGrpCodeQLOV(lovQueryVO);
      return (LovVO)Util.copyObject(lovVO, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof CreateException)
        throw (CreateException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public ArrayList getWflDOPGrpDtlInfo(String paramString, long paramLong1, long paramLong2, UserInfo paramUserInfo) throws RemoteException, CreateException, EnrgiseApplicationException, EnrgiseSystemException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("getWflDOPGrpDtlInfo", true);
          outputStream.write_value(paramString, String.class);
          outputStream.write_longlong(paramLong1);
          outputStream.write_longlong(paramLong2);
          outputStream.write_value((Serializable)paramUserInfo, UserInfo.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (ArrayList)inputStream.read_value(ArrayList.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:javax/ejb/CreateEx:1.0"))
            throw (CreateException)inputStream.read_value(CreateException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getWflDOPGrpDtlInfo(paramString, paramLong1, paramLong2, paramUserInfo);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("getWflDOPGrpDtlInfo", WorkFlowFacade2.class);
    if (servantObject == null)
      return getWflDOPGrpDtlInfo(paramString, paramLong1, paramLong2, paramUserInfo); 
    try {
      Object[] arrayOfObject = Util.copyObjects(new Object[] { paramString, paramUserInfo }, _orb());
      String str = (String)arrayOfObject[0];
      UserInfo userInfo = (UserInfo)arrayOfObject[1];
      ArrayList arrayList = ((WorkFlowFacade2)servantObject.servant).getWflDOPGrpDtlInfo(str, paramLong1, paramLong2, userInfo);
      return (ArrayList)Util.copyObject(arrayList, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof CreateException)
        throw (CreateException)throwable2; 
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public RecordMetaInfo getWflDOPGrpDtlMetaInfo(String paramString, UserInfo paramUserInfo) throws RemoteException, CreateException, EnrgiseApplicationException, EnrgiseSystemException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("getWflDOPGrpDtlMetaInfo", true);
          outputStream.write_value(paramString, String.class);
          outputStream.write_value((Serializable)paramUserInfo, UserInfo.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (RecordMetaInfo)inputStream.read_value(RecordMetaInfo.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:javax/ejb/CreateEx:1.0"))
            throw (CreateException)inputStream.read_value(CreateException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getWflDOPGrpDtlMetaInfo(paramString, paramUserInfo);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("getWflDOPGrpDtlMetaInfo", WorkFlowFacade2.class);
    if (servantObject == null)
      return getWflDOPGrpDtlMetaInfo(paramString, paramUserInfo); 
    try {
      Object[] arrayOfObject = Util.copyObjects(new Object[] { paramString, paramUserInfo }, _orb());
      String str = (String)arrayOfObject[0];
      UserInfo userInfo = (UserInfo)arrayOfObject[1];
      RecordMetaInfo recordMetaInfo = ((WorkFlowFacade2)servantObject.servant).getWflDOPGrpDtlMetaInfo(str, userInfo);
      return (RecordMetaInfo)Util.copyObject(recordMetaInfo, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof CreateException)
        throw (CreateException)throwable2; 
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public ArrayList getWflDOPGrpHdrInfo(WflDOPGrpQVO paramWflDOPGrpQVO, long paramLong1, long paramLong2, UserInfo paramUserInfo) throws RemoteException, CreateException, EnrgiseApplicationException, EnrgiseSystemException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("getWflDOPGrpHdrInfo", true);
          outputStream.write_value((Serializable)paramWflDOPGrpQVO, WflDOPGrpQVO.class);
          outputStream.write_longlong(paramLong1);
          outputStream.write_longlong(paramLong2);
          outputStream.write_value((Serializable)paramUserInfo, UserInfo.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (ArrayList)inputStream.read_value(ArrayList.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:javax/ejb/CreateEx:1.0"))
            throw (CreateException)inputStream.read_value(CreateException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getWflDOPGrpHdrInfo(paramWflDOPGrpQVO, paramLong1, paramLong2, paramUserInfo);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("getWflDOPGrpHdrInfo", WorkFlowFacade2.class);
    if (servantObject == null)
      return getWflDOPGrpHdrInfo(paramWflDOPGrpQVO, paramLong1, paramLong2, paramUserInfo); 
    try {
      Object[] arrayOfObject = Util.copyObjects(new Object[] { paramWflDOPGrpQVO, paramUserInfo }, _orb());
      WflDOPGrpQVO wflDOPGrpQVO = (WflDOPGrpQVO)arrayOfObject[0];
      UserInfo userInfo = (UserInfo)arrayOfObject[1];
      ArrayList arrayList = ((WorkFlowFacade2)servantObject.servant).getWflDOPGrpHdrInfo(wflDOPGrpQVO, paramLong1, paramLong2, userInfo);
      return (ArrayList)Util.copyObject(arrayList, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof CreateException)
        throw (CreateException)throwable2; 
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public RecordMetaInfo getWflDOPGrpHdrMetaInfo(WflDOPGrpQVO paramWflDOPGrpQVO, UserInfo paramUserInfo) throws RemoteException, CreateException, EnrgiseApplicationException, EnrgiseSystemException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("getWflDOPGrpHdrMetaInfo", true);
          outputStream.write_value((Serializable)paramWflDOPGrpQVO, WflDOPGrpQVO.class);
          outputStream.write_value((Serializable)paramUserInfo, UserInfo.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (RecordMetaInfo)inputStream.read_value(RecordMetaInfo.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:javax/ejb/CreateEx:1.0"))
            throw (CreateException)inputStream.read_value(CreateException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getWflDOPGrpHdrMetaInfo(paramWflDOPGrpQVO, paramUserInfo);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("getWflDOPGrpHdrMetaInfo", WorkFlowFacade2.class);
    if (servantObject == null)
      return getWflDOPGrpHdrMetaInfo(paramWflDOPGrpQVO, paramUserInfo); 
    try {
      Object[] arrayOfObject = Util.copyObjects(new Object[] { paramWflDOPGrpQVO, paramUserInfo }, _orb());
      WflDOPGrpQVO wflDOPGrpQVO = (WflDOPGrpQVO)arrayOfObject[0];
      UserInfo userInfo = (UserInfo)arrayOfObject[1];
      RecordMetaInfo recordMetaInfo = ((WorkFlowFacade2)servantObject.servant).getWflDOPGrpHdrMetaInfo(wflDOPGrpQVO, userInfo);
      return (RecordMetaInfo)Util.copyObject(recordMetaInfo, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof CreateException)
        throw (CreateException)throwable2; 
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public ArrayList getWflDelegationDtlInfo(String paramString, long paramLong1, long paramLong2, UserInfo paramUserInfo) throws RemoteException, CreateException, EnrgiseApplicationException, EnrgiseSystemException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("getWflDelegationDtlInfo", true);
          outputStream.write_value(paramString, String.class);
          outputStream.write_longlong(paramLong1);
          outputStream.write_longlong(paramLong2);
          outputStream.write_value((Serializable)paramUserInfo, UserInfo.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (ArrayList)inputStream.read_value(ArrayList.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:javax/ejb/CreateEx:1.0"))
            throw (CreateException)inputStream.read_value(CreateException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getWflDelegationDtlInfo(paramString, paramLong1, paramLong2, paramUserInfo);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("getWflDelegationDtlInfo", WorkFlowFacade2.class);
    if (servantObject == null)
      return getWflDelegationDtlInfo(paramString, paramLong1, paramLong2, paramUserInfo); 
    try {
      Object[] arrayOfObject = Util.copyObjects(new Object[] { paramString, paramUserInfo }, _orb());
      String str = (String)arrayOfObject[0];
      UserInfo userInfo = (UserInfo)arrayOfObject[1];
      ArrayList arrayList = ((WorkFlowFacade2)servantObject.servant).getWflDelegationDtlInfo(str, paramLong1, paramLong2, userInfo);
      return (ArrayList)Util.copyObject(arrayList, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof CreateException)
        throw (CreateException)throwable2; 
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public RecordMetaInfo getWflDelegationDtlMetaInfo(String paramString, UserInfo paramUserInfo) throws RemoteException, CreateException, EnrgiseApplicationException, EnrgiseSystemException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("getWflDelegationDtlMetaInfo", true);
          outputStream.write_value(paramString, String.class);
          outputStream.write_value((Serializable)paramUserInfo, UserInfo.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (RecordMetaInfo)inputStream.read_value(RecordMetaInfo.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:javax/ejb/CreateEx:1.0"))
            throw (CreateException)inputStream.read_value(CreateException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getWflDelegationDtlMetaInfo(paramString, paramUserInfo);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("getWflDelegationDtlMetaInfo", WorkFlowFacade2.class);
    if (servantObject == null)
      return getWflDelegationDtlMetaInfo(paramString, paramUserInfo); 
    try {
      Object[] arrayOfObject = Util.copyObjects(new Object[] { paramString, paramUserInfo }, _orb());
      String str = (String)arrayOfObject[0];
      UserInfo userInfo = (UserInfo)arrayOfObject[1];
      RecordMetaInfo recordMetaInfo = ((WorkFlowFacade2)servantObject.servant).getWflDelegationDtlMetaInfo(str, userInfo);
      return (RecordMetaInfo)Util.copyObject(recordMetaInfo, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof CreateException)
        throw (CreateException)throwable2; 
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public ArrayList getWflDelegationHdrInfo(WflDelegationQVO paramWflDelegationQVO, long paramLong1, long paramLong2, UserInfo paramUserInfo) throws RemoteException, CreateException, EnrgiseApplicationException, EnrgiseSystemException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("getWflDelegationHdrInfo", true);
          outputStream.write_value((Serializable)paramWflDelegationQVO, WflDelegationQVO.class);
          outputStream.write_longlong(paramLong1);
          outputStream.write_longlong(paramLong2);
          outputStream.write_value((Serializable)paramUserInfo, UserInfo.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (ArrayList)inputStream.read_value(ArrayList.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:javax/ejb/CreateEx:1.0"))
            throw (CreateException)inputStream.read_value(CreateException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getWflDelegationHdrInfo(paramWflDelegationQVO, paramLong1, paramLong2, paramUserInfo);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("getWflDelegationHdrInfo", WorkFlowFacade2.class);
    if (servantObject == null)
      return getWflDelegationHdrInfo(paramWflDelegationQVO, paramLong1, paramLong2, paramUserInfo); 
    try {
      Object[] arrayOfObject = Util.copyObjects(new Object[] { paramWflDelegationQVO, paramUserInfo }, _orb());
      WflDelegationQVO wflDelegationQVO = (WflDelegationQVO)arrayOfObject[0];
      UserInfo userInfo = (UserInfo)arrayOfObject[1];
      ArrayList arrayList = ((WorkFlowFacade2)servantObject.servant).getWflDelegationHdrInfo(wflDelegationQVO, paramLong1, paramLong2, userInfo);
      return (ArrayList)Util.copyObject(arrayList, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof CreateException)
        throw (CreateException)throwable2; 
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public RecordMetaInfo getWflDelegationHdrMetaInfo(WflDelegationQVO paramWflDelegationQVO, UserInfo paramUserInfo) throws RemoteException, CreateException, EnrgiseApplicationException, EnrgiseSystemException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("getWflDelegationHdrMetaInfo", true);
          outputStream.write_value((Serializable)paramWflDelegationQVO, WflDelegationQVO.class);
          outputStream.write_value((Serializable)paramUserInfo, UserInfo.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (RecordMetaInfo)inputStream.read_value(RecordMetaInfo.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:javax/ejb/CreateEx:1.0"))
            throw (CreateException)inputStream.read_value(CreateException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getWflDelegationHdrMetaInfo(paramWflDelegationQVO, paramUserInfo);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("getWflDelegationHdrMetaInfo", WorkFlowFacade2.class);
    if (servantObject == null)
      return getWflDelegationHdrMetaInfo(paramWflDelegationQVO, paramUserInfo); 
    try {
      Object[] arrayOfObject = Util.copyObjects(new Object[] { paramWflDelegationQVO, paramUserInfo }, _orb());
      WflDelegationQVO wflDelegationQVO = (WflDelegationQVO)arrayOfObject[0];
      UserInfo userInfo = (UserInfo)arrayOfObject[1];
      RecordMetaInfo recordMetaInfo = ((WorkFlowFacade2)servantObject.servant).getWflDelegationHdrMetaInfo(wflDelegationQVO, userInfo);
      return (RecordMetaInfo)Util.copyObject(recordMetaInfo, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof CreateException)
        throw (CreateException)throwable2; 
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public LovVO getWflDocCodeDtlLOVdata(LovQueryVO paramLovQueryVO) throws RemoteException, CreateException, EnrgiseApplicationException, EnrgiseSystemException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("getWflDocCodeDtlLOVdata", true);
          outputStream.write_value((Serializable)paramLovQueryVO, LovQueryVO.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (LovVO)inputStream.read_value(LovVO.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:javax/ejb/CreateEx:1.0"))
            throw (CreateException)inputStream.read_value(CreateException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getWflDocCodeDtlLOVdata(paramLovQueryVO);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("getWflDocCodeDtlLOVdata", WorkFlowFacade2.class);
    if (servantObject == null)
      return getWflDocCodeDtlLOVdata(paramLovQueryVO); 
    try {
      LovQueryVO lovQueryVO = (LovQueryVO)Util.copyObject(paramLovQueryVO, _orb());
      LovVO lovVO = ((WorkFlowFacade2)servantObject.servant).getWflDocCodeDtlLOVdata(lovQueryVO);
      return (LovVO)Util.copyObject(lovVO, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof CreateException)
        throw (CreateException)throwable2; 
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public LovVO getWflDocCodeLOVdata(LovQueryVO paramLovQueryVO) throws RemoteException, CreateException, EnrgiseApplicationException, EnrgiseSystemException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("getWflDocCodeLOVdata", true);
          outputStream.write_value((Serializable)paramLovQueryVO, LovQueryVO.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (LovVO)inputStream.read_value(LovVO.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:javax/ejb/CreateEx:1.0"))
            throw (CreateException)inputStream.read_value(CreateException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getWflDocCodeLOVdata(paramLovQueryVO);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("getWflDocCodeLOVdata", WorkFlowFacade2.class);
    if (servantObject == null)
      return getWflDocCodeLOVdata(paramLovQueryVO); 
    try {
      LovQueryVO lovQueryVO = (LovQueryVO)Util.copyObject(paramLovQueryVO, _orb());
      LovVO lovVO = ((WorkFlowFacade2)servantObject.servant).getWflDocCodeLOVdata(lovQueryVO);
      return (LovVO)Util.copyObject(lovVO, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof CreateException)
        throw (CreateException)throwable2; 
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public LovVO getWflDocDtlIdNLOVdata(LovQueryVO paramLovQueryVO) throws RemoteException, CreateException, EnrgiseApplicationException, EnrgiseSystemException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("getWflDocDtlIdNLOVdata", true);
          outputStream.write_value((Serializable)paramLovQueryVO, LovQueryVO.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (LovVO)inputStream.read_value(LovVO.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:javax/ejb/CreateEx:1.0"))
            throw (CreateException)inputStream.read_value(CreateException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getWflDocDtlIdNLOVdata(paramLovQueryVO);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("getWflDocDtlIdNLOVdata", WorkFlowFacade2.class);
    if (servantObject == null)
      return getWflDocDtlIdNLOVdata(paramLovQueryVO); 
    try {
      LovQueryVO lovQueryVO = (LovQueryVO)Util.copyObject(paramLovQueryVO, _orb());
      LovVO lovVO = ((WorkFlowFacade2)servantObject.servant).getWflDocDtlIdNLOVdata(lovQueryVO);
      return (LovVO)Util.copyObject(lovVO, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof CreateException)
        throw (CreateException)throwable2; 
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public LovVO getWflDocDtlQLOVdata(LovQueryVO paramLovQueryVO) throws RemoteException, CreateException, EnrgiseApplicationException, EnrgiseSystemException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("getWflDocDtlQLOVdata", true);
          outputStream.write_value((Serializable)paramLovQueryVO, LovQueryVO.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (LovVO)inputStream.read_value(LovVO.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:javax/ejb/CreateEx:1.0"))
            throw (CreateException)inputStream.read_value(CreateException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getWflDocDtlQLOVdata(paramLovQueryVO);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("getWflDocDtlQLOVdata", WorkFlowFacade2.class);
    if (servantObject == null)
      return getWflDocDtlQLOVdata(paramLovQueryVO); 
    try {
      LovQueryVO lovQueryVO = (LovQueryVO)Util.copyObject(paramLovQueryVO, _orb());
      LovVO lovVO = ((WorkFlowFacade2)servantObject.servant).getWflDocDtlQLOVdata(lovQueryVO);
      return (LovVO)Util.copyObject(lovVO, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof CreateException)
        throw (CreateException)throwable2; 
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public ArrayList getWflDocTypeAttrDtlInfo(String paramString, long paramLong1, long paramLong2, UserInfo paramUserInfo) throws RemoteException, CreateException, EnrgiseApplicationException, EnrgiseSystemException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("getWflDocTypeAttrDtlInfo", true);
          outputStream.write_value(paramString, String.class);
          outputStream.write_longlong(paramLong1);
          outputStream.write_longlong(paramLong2);
          outputStream.write_value((Serializable)paramUserInfo, UserInfo.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (ArrayList)inputStream.read_value(ArrayList.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:javax/ejb/CreateEx:1.0"))
            throw (CreateException)inputStream.read_value(CreateException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getWflDocTypeAttrDtlInfo(paramString, paramLong1, paramLong2, paramUserInfo);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("getWflDocTypeAttrDtlInfo", WorkFlowFacade2.class);
    if (servantObject == null)
      return getWflDocTypeAttrDtlInfo(paramString, paramLong1, paramLong2, paramUserInfo); 
    try {
      Object[] arrayOfObject = Util.copyObjects(new Object[] { paramString, paramUserInfo }, _orb());
      String str = (String)arrayOfObject[0];
      UserInfo userInfo = (UserInfo)arrayOfObject[1];
      ArrayList arrayList = ((WorkFlowFacade2)servantObject.servant).getWflDocTypeAttrDtlInfo(str, paramLong1, paramLong2, userInfo);
      return (ArrayList)Util.copyObject(arrayList, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof CreateException)
        throw (CreateException)throwable2; 
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public RecordMetaInfo getWflDocTypeAttrDtlMetaInfo(String paramString, UserInfo paramUserInfo) throws RemoteException, CreateException, EnrgiseApplicationException, EnrgiseSystemException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("getWflDocTypeAttrDtlMetaInfo", true);
          outputStream.write_value(paramString, String.class);
          outputStream.write_value((Serializable)paramUserInfo, UserInfo.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (RecordMetaInfo)inputStream.read_value(RecordMetaInfo.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:javax/ejb/CreateEx:1.0"))
            throw (CreateException)inputStream.read_value(CreateException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getWflDocTypeAttrDtlMetaInfo(paramString, paramUserInfo);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("getWflDocTypeAttrDtlMetaInfo", WorkFlowFacade2.class);
    if (servantObject == null)
      return getWflDocTypeAttrDtlMetaInfo(paramString, paramUserInfo); 
    try {
      Object[] arrayOfObject = Util.copyObjects(new Object[] { paramString, paramUserInfo }, _orb());
      String str = (String)arrayOfObject[0];
      UserInfo userInfo = (UserInfo)arrayOfObject[1];
      RecordMetaInfo recordMetaInfo = ((WorkFlowFacade2)servantObject.servant).getWflDocTypeAttrDtlMetaInfo(str, userInfo);
      return (RecordMetaInfo)Util.copyObject(recordMetaInfo, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof CreateException)
        throw (CreateException)throwable2; 
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public ArrayList getWflDocTypeConditionsDtl(String paramString, long paramLong1, long paramLong2, UserInfo paramUserInfo) throws RemoteException, CreateException, EnrgiseApplicationException, EnrgiseSystemException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("getWflDocTypeConditionsDtl", true);
          outputStream.write_value(paramString, String.class);
          outputStream.write_longlong(paramLong1);
          outputStream.write_longlong(paramLong2);
          outputStream.write_value((Serializable)paramUserInfo, UserInfo.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (ArrayList)inputStream.read_value(ArrayList.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:javax/ejb/CreateEx:1.0"))
            throw (CreateException)inputStream.read_value(CreateException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getWflDocTypeConditionsDtl(paramString, paramLong1, paramLong2, paramUserInfo);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("getWflDocTypeConditionsDtl", WorkFlowFacade2.class);
    if (servantObject == null)
      return getWflDocTypeConditionsDtl(paramString, paramLong1, paramLong2, paramUserInfo); 
    try {
      Object[] arrayOfObject = Util.copyObjects(new Object[] { paramString, paramUserInfo }, _orb());
      String str = (String)arrayOfObject[0];
      UserInfo userInfo = (UserInfo)arrayOfObject[1];
      ArrayList arrayList = ((WorkFlowFacade2)servantObject.servant).getWflDocTypeConditionsDtl(str, paramLong1, paramLong2, userInfo);
      return (ArrayList)Util.copyObject(arrayList, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof CreateException)
        throw (CreateException)throwable2; 
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public RecordMetaInfo getWflDocTypeConditionsDtlMetaInfo(String paramString, UserInfo paramUserInfo) throws RemoteException, CreateException, EnrgiseApplicationException, EnrgiseSystemException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("getWflDocTypeConditionsDtlMetaInfo", true);
          outputStream.write_value(paramString, String.class);
          outputStream.write_value((Serializable)paramUserInfo, UserInfo.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (RecordMetaInfo)inputStream.read_value(RecordMetaInfo.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:javax/ejb/CreateEx:1.0"))
            throw (CreateException)inputStream.read_value(CreateException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getWflDocTypeConditionsDtlMetaInfo(paramString, paramUserInfo);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("getWflDocTypeConditionsDtlMetaInfo", WorkFlowFacade2.class);
    if (servantObject == null)
      return getWflDocTypeConditionsDtlMetaInfo(paramString, paramUserInfo); 
    try {
      Object[] arrayOfObject = Util.copyObjects(new Object[] { paramString, paramUserInfo }, _orb());
      String str = (String)arrayOfObject[0];
      UserInfo userInfo = (UserInfo)arrayOfObject[1];
      RecordMetaInfo recordMetaInfo = ((WorkFlowFacade2)servantObject.servant).getWflDocTypeConditionsDtlMetaInfo(str, userInfo);
      return (RecordMetaInfo)Util.copyObject(recordMetaInfo, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof CreateException)
        throw (CreateException)throwable2; 
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public ArrayList getWflDocTypeHdrInfo(WflDocMstQVO paramWflDocMstQVO, long paramLong1, long paramLong2, UserInfo paramUserInfo) throws RemoteException, CreateException, EnrgiseApplicationException, EnrgiseSystemException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("getWflDocTypeHdrInfo", true);
          outputStream.write_value((Serializable)paramWflDocMstQVO, WflDocMstQVO.class);
          outputStream.write_longlong(paramLong1);
          outputStream.write_longlong(paramLong2);
          outputStream.write_value((Serializable)paramUserInfo, UserInfo.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (ArrayList)inputStream.read_value(ArrayList.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:javax/ejb/CreateEx:1.0"))
            throw (CreateException)inputStream.read_value(CreateException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getWflDocTypeHdrInfo(paramWflDocMstQVO, paramLong1, paramLong2, paramUserInfo);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("getWflDocTypeHdrInfo", WorkFlowFacade2.class);
    if (servantObject == null)
      return getWflDocTypeHdrInfo(paramWflDocMstQVO, paramLong1, paramLong2, paramUserInfo); 
    try {
      Object[] arrayOfObject = Util.copyObjects(new Object[] { paramWflDocMstQVO, paramUserInfo }, _orb());
      WflDocMstQVO wflDocMstQVO = (WflDocMstQVO)arrayOfObject[0];
      UserInfo userInfo = (UserInfo)arrayOfObject[1];
      ArrayList arrayList = ((WorkFlowFacade2)servantObject.servant).getWflDocTypeHdrInfo(wflDocMstQVO, paramLong1, paramLong2, userInfo);
      return (ArrayList)Util.copyObject(arrayList, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof CreateException)
        throw (CreateException)throwable2; 
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public RecordMetaInfo getWflDocTypeHdrMetaInfo(WflDocMstQVO paramWflDocMstQVO, UserInfo paramUserInfo) throws RemoteException, CreateException, EnrgiseApplicationException, EnrgiseSystemException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("getWflDocTypeHdrMetaInfo", true);
          outputStream.write_value((Serializable)paramWflDocMstQVO, WflDocMstQVO.class);
          outputStream.write_value((Serializable)paramUserInfo, UserInfo.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (RecordMetaInfo)inputStream.read_value(RecordMetaInfo.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:javax/ejb/CreateEx:1.0"))
            throw (CreateException)inputStream.read_value(CreateException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getWflDocTypeHdrMetaInfo(paramWflDocMstQVO, paramUserInfo);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("getWflDocTypeHdrMetaInfo", WorkFlowFacade2.class);
    if (servantObject == null)
      return getWflDocTypeHdrMetaInfo(paramWflDocMstQVO, paramUserInfo); 
    try {
      Object[] arrayOfObject = Util.copyObjects(new Object[] { paramWflDocMstQVO, paramUserInfo }, _orb());
      WflDocMstQVO wflDocMstQVO = (WflDocMstQVO)arrayOfObject[0];
      UserInfo userInfo = (UserInfo)arrayOfObject[1];
      RecordMetaInfo recordMetaInfo = ((WorkFlowFacade2)servantObject.servant).getWflDocTypeHdrMetaInfo(wflDocMstQVO, userInfo);
      return (RecordMetaInfo)Util.copyObject(recordMetaInfo, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof CreateException)
        throw (CreateException)throwable2; 
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public LovVO getWflDtlDocCodeLOVdata(LovQueryVO paramLovQueryVO) throws RemoteException, CreateException, EnrgiseApplicationException, EnrgiseSystemException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("getWflDtlDocCodeLOVdata", true);
          outputStream.write_value((Serializable)paramLovQueryVO, LovQueryVO.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (LovVO)inputStream.read_value(LovVO.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:javax/ejb/CreateEx:1.0"))
            throw (CreateException)inputStream.read_value(CreateException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getWflDtlDocCodeLOVdata(paramLovQueryVO);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("getWflDtlDocCodeLOVdata", WorkFlowFacade2.class);
    if (servantObject == null)
      return getWflDtlDocCodeLOVdata(paramLovQueryVO); 
    try {
      LovQueryVO lovQueryVO = (LovQueryVO)Util.copyObject(paramLovQueryVO, _orb());
      LovVO lovVO = ((WorkFlowFacade2)servantObject.servant).getWflDtlDocCodeLOVdata(lovQueryVO);
      return (LovVO)Util.copyObject(lovVO, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof CreateException)
        throw (CreateException)throwable2; 
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public LovVO getWflDtlDocTypeLOVdata(LovQueryVO paramLovQueryVO) throws RemoteException, CreateException, EnrgiseSystemException, EnrgiseApplicationException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("getWflDtlDocTypeLOVdata", true);
          outputStream.write_value((Serializable)paramLovQueryVO, LovQueryVO.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (LovVO)inputStream.read_value(LovVO.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:javax/ejb/CreateEx:1.0"))
            throw (CreateException)inputStream.read_value(CreateException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getWflDtlDocTypeLOVdata(paramLovQueryVO);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("getWflDtlDocTypeLOVdata", WorkFlowFacade2.class);
    if (servantObject == null)
      return getWflDtlDocTypeLOVdata(paramLovQueryVO); 
    try {
      LovQueryVO lovQueryVO = (LovQueryVO)Util.copyObject(paramLovQueryVO, _orb());
      LovVO lovVO = ((WorkFlowFacade2)servantObject.servant).getWflDtlDocTypeLOVdata(lovQueryVO);
      return (LovVO)Util.copyObject(lovVO, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof CreateException)
        throw (CreateException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public LovVO getWflMapCodeLOVdata(LovQueryVO paramLovQueryVO) throws RemoteException, CreateException, EnrgiseApplicationException, EnrgiseSystemException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("getWflMapCodeLOVdata", true);
          outputStream.write_value((Serializable)paramLovQueryVO, LovQueryVO.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (LovVO)inputStream.read_value(LovVO.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:javax/ejb/CreateEx:1.0"))
            throw (CreateException)inputStream.read_value(CreateException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getWflMapCodeLOVdata(paramLovQueryVO);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("getWflMapCodeLOVdata", WorkFlowFacade2.class);
    if (servantObject == null)
      return getWflMapCodeLOVdata(paramLovQueryVO); 
    try {
      LovQueryVO lovQueryVO = (LovQueryVO)Util.copyObject(paramLovQueryVO, _orb());
      LovVO lovVO = ((WorkFlowFacade2)servantObject.servant).getWflMapCodeLOVdata(lovQueryVO);
      return (LovVO)Util.copyObject(lovVO, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof CreateException)
        throw (CreateException)throwable2; 
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public LovVO getWflRouteDtlLOVdata(LovQueryVO paramLovQueryVO) throws RemoteException, CreateException, EnrgiseSystemException, EnrgiseApplicationException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("getWflRouteDtlLOVdata", true);
          outputStream.write_value((Serializable)paramLovQueryVO, LovQueryVO.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (LovVO)inputStream.read_value(LovVO.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:javax/ejb/CreateEx:1.0"))
            throw (CreateException)inputStream.read_value(CreateException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getWflRouteDtlLOVdata(paramLovQueryVO);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("getWflRouteDtlLOVdata", WorkFlowFacade2.class);
    if (servantObject == null)
      return getWflRouteDtlLOVdata(paramLovQueryVO); 
    try {
      LovQueryVO lovQueryVO = (LovQueryVO)Util.copyObject(paramLovQueryVO, _orb());
      LovVO lovVO = ((WorkFlowFacade2)servantObject.servant).getWflRouteDtlLOVdata(lovQueryVO);
      return (LovVO)Util.copyObject(lovVO, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof CreateException)
        throw (CreateException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public WflDtlsHdrBean getWorkFlowDtlsInfo(String paramString) throws RemoteException, EnrgiseApplicationException, EnrgiseSystemException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("getWorkFlowDtlsInfo", true);
          outputStream.write_value(paramString, String.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (WflDtlsHdrBean)inputStream.read_value(WflDtlsHdrBean.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getWorkFlowDtlsInfo(paramString);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("getWorkFlowDtlsInfo", WorkFlowFacade2.class);
    if (servantObject == null)
      return getWorkFlowDtlsInfo(paramString); 
    try {
      WflDtlsHdrBean wflDtlsHdrBean = ((WorkFlowFacade2)servantObject.servant).getWorkFlowDtlsInfo(paramString);
      return (WflDtlsHdrBean)Util.copyObject(wflDtlsHdrBean, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public ArrayList getWorkListInfo(String paramString) throws RemoteException, EnrgiseApplicationException, EnrgiseSystemException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("getWorkListInfo", true);
          outputStream.write_value(paramString, String.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (ArrayList)inputStream.read_value(ArrayList.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getWorkListInfo(paramString);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("getWorkListInfo", WorkFlowFacade2.class);
    if (servantObject == null)
      return getWorkListInfo(paramString); 
    try {
      ArrayList arrayList = ((WorkFlowFacade2)servantObject.servant).getWorkListInfo(paramString);
      return (ArrayList)Util.copyObject(arrayList, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public LovVO getWrkGroupLOVData(LovQueryVO paramLovQueryVO) throws RemoteException, EnrgiseSystemException, EnrgiseApplicationException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("getWrkGroupLOVData", true);
          outputStream.write_value((Serializable)paramLovQueryVO, LovQueryVO.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (LovVO)inputStream.read_value(LovVO.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return getWrkGroupLOVData(paramLovQueryVO);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("getWrkGroupLOVData", WorkFlowFacade2.class);
    if (servantObject == null)
      return getWrkGroupLOVData(paramLovQueryVO); 
    try {
      LovQueryVO lovQueryVO = (LovQueryVO)Util.copyObject(paramLovQueryVO, _orb());
      LovVO lovVO = ((WorkFlowFacade2)servantObject.servant).getWrkGroupLOVData(lovQueryVO);
      return (LovVO)Util.copyObject(lovVO, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public boolean isIdentical(EJBObject paramEJBObject) throws RemoteException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = _request("isIdentical", true);
          Util.writeRemoteObject(outputStream, paramEJBObject);
          inputStream = _invoke(outputStream);
          return inputStream.read_boolean();
        } catch (ApplicationException applicationException) {
          inputStream = applicationException.getInputStream();
          String str = inputStream.read_string();
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return isIdentical(paramEJBObject);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("isIdentical", EJBObject.class);
    if (servantObject == null)
      return isIdentical(paramEJBObject); 
    try {
      EJBObject eJBObject = (EJBObject)Util.copyObject(paramEJBObject, _orb());
      return ((EJBObject)servantObject.servant).isIdentical(eJBObject);
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public WflStatus process(WflDocumentInfo paramWflDocumentInfo) throws RemoteException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("process", true);
          outputStream.write_value((Serializable)paramWflDocumentInfo, WflDocumentInfo.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (WflStatus)inputStream.read_value(WflStatus.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return process(paramWflDocumentInfo);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("process", WorkFlowFacade2.class);
    if (servantObject == null)
      return process(paramWflDocumentInfo); 
    try {
      WflDocumentInfo wflDocumentInfo = (WflDocumentInfo)Util.copyObject(paramWflDocumentInfo, _orb());
      WflStatus wflStatus = ((WorkFlowFacade2)servantObject.servant).process(wflDocumentInfo);
      return (WflStatus)Util.copyObject(wflStatus, _orb());
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public void remove() throws RemoteException, RemoveException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = _request("remove", true);
          _invoke(outputStream);
          return;
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:javax/ejb/RemoveEx:1.0"))
            throw (RemoveException)inputStream.read_value(RemoveException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          remove();
          return;
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("remove", EJBObject.class);
    if (servantObject == null) {
      remove();
      return;
    } 
    try {
      ((EJBObject)servantObject.servant).remove();
      return;
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof RemoveException)
        throw (RemoveException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public String saveWFLRouteDtl(BaseHeaderBean paramBaseHeaderBean, Timestamp paramTimestamp1, String paramString1, String paramString2, boolean paramBoolean1, ArrayList paramArrayList, boolean paramBoolean2, Timestamp paramTimestamp2, UserInfo paramUserInfo) throws RemoteException, EnrgiseApplicationException, EnrgiseSystemException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("saveWFLRouteDtl", true);
          outputStream.write_value((Serializable)paramBaseHeaderBean, BaseHeaderBean.class);
          outputStream.write_value(paramTimestamp1, Timestamp.class);
          outputStream.write_value(paramString1, String.class);
          outputStream.write_value(paramString2, String.class);
          outputStream.write_boolean(paramBoolean1);
          outputStream.write_value(paramArrayList, ArrayList.class);
          outputStream.write_boolean(paramBoolean2);
          outputStream.write_value(paramTimestamp2, Timestamp.class);
          outputStream.write_value((Serializable)paramUserInfo, UserInfo.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (String)inputStream.read_value(String.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return saveWFLRouteDtl(paramBaseHeaderBean, paramTimestamp1, paramString1, paramString2, paramBoolean1, paramArrayList, paramBoolean2, paramTimestamp2, paramUserInfo);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("saveWFLRouteDtl", WorkFlowFacade2.class);
    if (servantObject == null)
      return saveWFLRouteDtl(paramBaseHeaderBean, paramTimestamp1, paramString1, paramString2, paramBoolean1, paramArrayList, paramBoolean2, paramTimestamp2, paramUserInfo); 
    try {
      Object[] arrayOfObject = Util.copyObjects(new Object[] { paramBaseHeaderBean, paramTimestamp1, paramString1, paramString2, paramArrayList, paramTimestamp2, paramUserInfo }, _orb());
      BaseHeaderBean baseHeaderBean = (BaseHeaderBean)arrayOfObject[0];
      Timestamp timestamp1 = (Timestamp)arrayOfObject[1];
      String str1 = (String)arrayOfObject[2];
      String str2 = (String)arrayOfObject[3];
      ArrayList arrayList = (ArrayList)arrayOfObject[4];
      Timestamp timestamp2 = (Timestamp)arrayOfObject[5];
      UserInfo userInfo = (UserInfo)arrayOfObject[6];
      return ((WorkFlowFacade2)servantObject.servant).saveWFLRouteDtl(baseHeaderBean, timestamp1, str1, str2, paramBoolean1, arrayList, paramBoolean2, timestamp2, userInfo);
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public String saveWflActivityDtls(BaseHeaderBean paramBaseHeaderBean, Timestamp paramTimestamp1, String paramString1, String paramString2, boolean paramBoolean1, ArrayList paramArrayList, boolean paramBoolean2, Timestamp paramTimestamp2, UserInfo paramUserInfo) throws RemoteException, CreateException, EnrgiseApplicationException, EnrgiseSystemException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("saveWflActivityDtls", true);
          outputStream.write_value((Serializable)paramBaseHeaderBean, BaseHeaderBean.class);
          outputStream.write_value(paramTimestamp1, Timestamp.class);
          outputStream.write_value(paramString1, String.class);
          outputStream.write_value(paramString2, String.class);
          outputStream.write_boolean(paramBoolean1);
          outputStream.write_value(paramArrayList, ArrayList.class);
          outputStream.write_boolean(paramBoolean2);
          outputStream.write_value(paramTimestamp2, Timestamp.class);
          outputStream.write_value((Serializable)paramUserInfo, UserInfo.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (String)inputStream.read_value(String.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:javax/ejb/CreateEx:1.0"))
            throw (CreateException)inputStream.read_value(CreateException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return saveWflActivityDtls(paramBaseHeaderBean, paramTimestamp1, paramString1, paramString2, paramBoolean1, paramArrayList, paramBoolean2, paramTimestamp2, paramUserInfo);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("saveWflActivityDtls", WorkFlowFacade2.class);
    if (servantObject == null)
      return saveWflActivityDtls(paramBaseHeaderBean, paramTimestamp1, paramString1, paramString2, paramBoolean1, paramArrayList, paramBoolean2, paramTimestamp2, paramUserInfo); 
    try {
      Object[] arrayOfObject = Util.copyObjects(new Object[] { paramBaseHeaderBean, paramTimestamp1, paramString1, paramString2, paramArrayList, paramTimestamp2, paramUserInfo }, _orb());
      BaseHeaderBean baseHeaderBean = (BaseHeaderBean)arrayOfObject[0];
      Timestamp timestamp1 = (Timestamp)arrayOfObject[1];
      String str1 = (String)arrayOfObject[2];
      String str2 = (String)arrayOfObject[3];
      ArrayList arrayList = (ArrayList)arrayOfObject[4];
      Timestamp timestamp2 = (Timestamp)arrayOfObject[5];
      UserInfo userInfo = (UserInfo)arrayOfObject[6];
      return ((WorkFlowFacade2)servantObject.servant).saveWflActivityDtls(baseHeaderBean, timestamp1, str1, str2, paramBoolean1, arrayList, paramBoolean2, timestamp2, userInfo);
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof CreateException)
        throw (CreateException)throwable2; 
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public String saveWflDOPGrp(BaseHeaderBean paramBaseHeaderBean, Timestamp paramTimestamp1, String paramString1, String paramString2, boolean paramBoolean1, ArrayList paramArrayList, boolean paramBoolean2, Timestamp paramTimestamp2, UserInfo paramUserInfo) throws RemoteException, EnrgiseApplicationException, EnrgiseSystemException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("saveWflDOPGrp", true);
          outputStream.write_value((Serializable)paramBaseHeaderBean, BaseHeaderBean.class);
          outputStream.write_value(paramTimestamp1, Timestamp.class);
          outputStream.write_value(paramString1, String.class);
          outputStream.write_value(paramString2, String.class);
          outputStream.write_boolean(paramBoolean1);
          outputStream.write_value(paramArrayList, ArrayList.class);
          outputStream.write_boolean(paramBoolean2);
          outputStream.write_value(paramTimestamp2, Timestamp.class);
          outputStream.write_value((Serializable)paramUserInfo, UserInfo.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (String)inputStream.read_value(String.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return saveWflDOPGrp(paramBaseHeaderBean, paramTimestamp1, paramString1, paramString2, paramBoolean1, paramArrayList, paramBoolean2, paramTimestamp2, paramUserInfo);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("saveWflDOPGrp", WorkFlowFacade2.class);
    if (servantObject == null)
      return saveWflDOPGrp(paramBaseHeaderBean, paramTimestamp1, paramString1, paramString2, paramBoolean1, paramArrayList, paramBoolean2, paramTimestamp2, paramUserInfo); 
    try {
      Object[] arrayOfObject = Util.copyObjects(new Object[] { paramBaseHeaderBean, paramTimestamp1, paramString1, paramString2, paramArrayList, paramTimestamp2, paramUserInfo }, _orb());
      BaseHeaderBean baseHeaderBean = (BaseHeaderBean)arrayOfObject[0];
      Timestamp timestamp1 = (Timestamp)arrayOfObject[1];
      String str1 = (String)arrayOfObject[2];
      String str2 = (String)arrayOfObject[3];
      ArrayList arrayList = (ArrayList)arrayOfObject[4];
      Timestamp timestamp2 = (Timestamp)arrayOfObject[5];
      UserInfo userInfo = (UserInfo)arrayOfObject[6];
      return ((WorkFlowFacade2)servantObject.servant).saveWflDOPGrp(baseHeaderBean, timestamp1, str1, str2, paramBoolean1, arrayList, paramBoolean2, timestamp2, userInfo);
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public String saveWflDelegation(BaseHeaderBean paramBaseHeaderBean, Timestamp paramTimestamp1, String paramString1, String paramString2, boolean paramBoolean1, ArrayList paramArrayList, boolean paramBoolean2, Timestamp paramTimestamp2, UserInfo paramUserInfo) throws RemoteException, EnrgiseApplicationException, EnrgiseSystemException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("saveWflDelegation", true);
          outputStream.write_value((Serializable)paramBaseHeaderBean, BaseHeaderBean.class);
          outputStream.write_value(paramTimestamp1, Timestamp.class);
          outputStream.write_value(paramString1, String.class);
          outputStream.write_value(paramString2, String.class);
          outputStream.write_boolean(paramBoolean1);
          outputStream.write_value(paramArrayList, ArrayList.class);
          outputStream.write_boolean(paramBoolean2);
          outputStream.write_value(paramTimestamp2, Timestamp.class);
          outputStream.write_value((Serializable)paramUserInfo, UserInfo.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (String)inputStream.read_value(String.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return saveWflDelegation(paramBaseHeaderBean, paramTimestamp1, paramString1, paramString2, paramBoolean1, paramArrayList, paramBoolean2, paramTimestamp2, paramUserInfo);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("saveWflDelegation", WorkFlowFacade2.class);
    if (servantObject == null)
      return saveWflDelegation(paramBaseHeaderBean, paramTimestamp1, paramString1, paramString2, paramBoolean1, paramArrayList, paramBoolean2, paramTimestamp2, paramUserInfo); 
    try {
      Object[] arrayOfObject = Util.copyObjects(new Object[] { paramBaseHeaderBean, paramTimestamp1, paramString1, paramString2, paramArrayList, paramTimestamp2, paramUserInfo }, _orb());
      BaseHeaderBean baseHeaderBean = (BaseHeaderBean)arrayOfObject[0];
      Timestamp timestamp1 = (Timestamp)arrayOfObject[1];
      String str1 = (String)arrayOfObject[2];
      String str2 = (String)arrayOfObject[3];
      ArrayList arrayList = (ArrayList)arrayOfObject[4];
      Timestamp timestamp2 = (Timestamp)arrayOfObject[5];
      UserInfo userInfo = (UserInfo)arrayOfObject[6];
      return ((WorkFlowFacade2)servantObject.servant).saveWflDelegation(baseHeaderBean, timestamp1, str1, str2, paramBoolean1, arrayList, paramBoolean2, timestamp2, userInfo);
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public String saveWflDocTypeMst(BaseHeaderBean paramBaseHeaderBean, Timestamp paramTimestamp1, String paramString1, String paramString2, boolean paramBoolean1, ArrayList paramArrayList, boolean paramBoolean2, Timestamp paramTimestamp2, UserInfo paramUserInfo) throws RemoteException, EnrgiseApplicationException, EnrgiseSystemException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("saveWflDocTypeMst", true);
          outputStream.write_value((Serializable)paramBaseHeaderBean, BaseHeaderBean.class);
          outputStream.write_value(paramTimestamp1, Timestamp.class);
          outputStream.write_value(paramString1, String.class);
          outputStream.write_value(paramString2, String.class);
          outputStream.write_boolean(paramBoolean1);
          outputStream.write_value(paramArrayList, ArrayList.class);
          outputStream.write_boolean(paramBoolean2);
          outputStream.write_value(paramTimestamp2, Timestamp.class);
          outputStream.write_value((Serializable)paramUserInfo, UserInfo.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (String)inputStream.read_value(String.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return saveWflDocTypeMst(paramBaseHeaderBean, paramTimestamp1, paramString1, paramString2, paramBoolean1, paramArrayList, paramBoolean2, paramTimestamp2, paramUserInfo);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("saveWflDocTypeMst", WorkFlowFacade2.class);
    if (servantObject == null)
      return saveWflDocTypeMst(paramBaseHeaderBean, paramTimestamp1, paramString1, paramString2, paramBoolean1, paramArrayList, paramBoolean2, paramTimestamp2, paramUserInfo); 
    try {
      Object[] arrayOfObject = Util.copyObjects(new Object[] { paramBaseHeaderBean, paramTimestamp1, paramString1, paramString2, paramArrayList, paramTimestamp2, paramUserInfo }, _orb());
      BaseHeaderBean baseHeaderBean = (BaseHeaderBean)arrayOfObject[0];
      Timestamp timestamp1 = (Timestamp)arrayOfObject[1];
      String str1 = (String)arrayOfObject[2];
      String str2 = (String)arrayOfObject[3];
      ArrayList arrayList = (ArrayList)arrayOfObject[4];
      Timestamp timestamp2 = (Timestamp)arrayOfObject[5];
      UserInfo userInfo = (UserInfo)arrayOfObject[6];
      return ((WorkFlowFacade2)servantObject.servant).saveWflDocTypeMst(baseHeaderBean, timestamp1, str1, str2, paramBoolean1, arrayList, paramBoolean2, timestamp2, userInfo);
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
  
  public String saveWflDtlDocActivityMst(BaseHeaderBean paramBaseHeaderBean, Timestamp paramTimestamp1, String paramString1, String paramString2, boolean paramBoolean1, ArrayList paramArrayList, boolean paramBoolean2, Timestamp paramTimestamp2, UserInfo paramUserInfo) throws RemoteException, CreateException, EnrgiseApplicationException, EnrgiseSystemException {
    if (!Util.isLocal(this))
      try {
        InputStream inputStream = null;
        try {
          OutputStream outputStream = (OutputStream)_request("saveWflDtlDocActivityMst", true);
          outputStream.write_value((Serializable)paramBaseHeaderBean, BaseHeaderBean.class);
          outputStream.write_value(paramTimestamp1, Timestamp.class);
          outputStream.write_value(paramString1, String.class);
          outputStream.write_value(paramString2, String.class);
          outputStream.write_boolean(paramBoolean1);
          outputStream.write_value(paramArrayList, ArrayList.class);
          outputStream.write_boolean(paramBoolean2);
          outputStream.write_value(paramTimestamp2, Timestamp.class);
          outputStream.write_value((Serializable)paramUserInfo, UserInfo.class);
          inputStream = (InputStream)_invoke(outputStream);
          return (String)inputStream.read_value(String.class);
        } catch (ApplicationException applicationException) {
          inputStream = (InputStream)applicationException.getInputStream();
          String str = inputStream.read_string();
          if (str.equals("IDL:javax/ejb/CreateEx:1.0"))
            throw (CreateException)inputStream.read_value(CreateException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseApplicationEx:1.0"))
            throw (EnrgiseApplicationException)inputStream.read_value(EnrgiseApplicationException.class); 
          if (str.equals("IDL:wenrgise/common/_exception/EnrgiseSystemEx:1.0"))
            throw (EnrgiseSystemException)inputStream.read_value(EnrgiseSystemException.class); 
          throw new UnexpectedException(str);
        } catch (RemarshalException remarshalException) {
          return saveWflDtlDocActivityMst(paramBaseHeaderBean, paramTimestamp1, paramString1, paramString2, paramBoolean1, paramArrayList, paramBoolean2, paramTimestamp2, paramUserInfo);
        } finally {
          _releaseReply(inputStream);
        } 
      } catch (SystemException systemException) {
        throw Util.mapSystemException(systemException);
      }  
    ServantObject servantObject = _servant_preinvoke("saveWflDtlDocActivityMst", WorkFlowFacade2.class);
    if (servantObject == null)
      return saveWflDtlDocActivityMst(paramBaseHeaderBean, paramTimestamp1, paramString1, paramString2, paramBoolean1, paramArrayList, paramBoolean2, paramTimestamp2, paramUserInfo); 
    try {
      Object[] arrayOfObject = Util.copyObjects(new Object[] { paramBaseHeaderBean, paramTimestamp1, paramString1, paramString2, paramArrayList, paramTimestamp2, paramUserInfo }, _orb());
      BaseHeaderBean baseHeaderBean = (BaseHeaderBean)arrayOfObject[0];
      Timestamp timestamp1 = (Timestamp)arrayOfObject[1];
      String str1 = (String)arrayOfObject[2];
      String str2 = (String)arrayOfObject[3];
      ArrayList arrayList = (ArrayList)arrayOfObject[4];
      Timestamp timestamp2 = (Timestamp)arrayOfObject[5];
      UserInfo userInfo = (UserInfo)arrayOfObject[6];
      return ((WorkFlowFacade2)servantObject.servant).saveWflDtlDocActivityMst(baseHeaderBean, timestamp1, str1, str2, paramBoolean1, arrayList, paramBoolean2, timestamp2, userInfo);
    } catch (Throwable throwable1) {
      Throwable throwable2 = (Throwable)Util.copyObject(throwable1, _orb());
      if (throwable2 instanceof CreateException)
        throw (CreateException)throwable2; 
      if (throwable2 instanceof EnrgiseApplicationException)
        throw (EnrgiseApplicationException)throwable2; 
      if (throwable2 instanceof EnrgiseSystemException)
        throw (EnrgiseSystemException)throwable2; 
      throw Util.wrapException(throwable2);
    } finally {
      _servant_postinvoke(servantObject);
    } 
  }
}
