sb_usermanager_i6t0fo_eoimpl.java

来自「用j2ee开发的一个旅店管理系统」· Java 代码 · 共 678 行 · 第 1/2 页

JAVA
678
字号
    }
    return result;
  }
  
  public java.lang.String getuserid(java.lang.String arg0)
  throws com.xc.hotelmanager.user.exception.UserManagerException, java.rmi.RemoteException
  {
    java.lang.Throwable __ee = null;
    
    weblogic.ejb20.interfaces.InvocationWrapper __wrap;
    weblogic.ejb20.internal.MethodDescriptor __md = 
    ((SB_usermanager_i6t0fo_HomeImpl)getEJBHome()).md_eo_getuserid_S;
    try {
      __wrap = super.preInvoke(
      __md, weblogic.ejb20.internal.DummyContextHandler.THE_ONE);
    } catch (weblogic.ejb20.internal.NeedRealContextHandlerError e) {
      __wrap = super.preInvoke(
      __md, new weblogic.ejb20.internal.EJBContextHandler(
      __md, new Object [] {  arg0}));          
    }
    
    SB_usermanager_i6t0fo_Intf __bean = (SB_usermanager_i6t0fo_Intf) __wrap.getBean();
    
    java.lang.String result = null;
    
    int __oldState = __bean.__WL_getMethodState();
    
    try {
      __bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
      
      result =  __bean.getuserid( arg0);
      
    } catch (java.lang.Throwable t) {
      __ee = t;
    }
    finally {
      __bean.__WL_setMethodState(__oldState);
    }
    
    try {
      super.postInvoke(__wrap, __ee);
      
    } catch (java.lang.Exception e) {
      if (e instanceof java.rmi.RemoteException) {
        throw (java.rmi.RemoteException)e;
      } 
      else if (e instanceof com.xc.hotelmanager.user.exception.UserManagerException) {
        throw (com.xc.hotelmanager.user.exception.UserManagerException) e;
      }
      else {
        throw new java.rmi.UnexpectedException("Unexpected exception in " +
        "com.xc.hotelmanager.user.control.session.SB_usermanagerBean.getuserid():" + EOL +	
        weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
      } 
    }
    return result;
  }
  
  public com.xc.hotelmanager.user.model.Hoteluser addHoteluser(com.xc.hotelmanager.user.model.Hoteluser arg0)
  throws com.xc.hotelmanager.user.exception.UserManagerException, java.rmi.RemoteException
  {
    java.lang.Throwable __ee = null;
    
    weblogic.ejb20.interfaces.InvocationWrapper __wrap;
    weblogic.ejb20.internal.MethodDescriptor __md = 
    ((SB_usermanager_i6t0fo_HomeImpl)getEJBHome()).md_eo_addHoteluser_com_xc_hotelmanager_user_model_Hoteluser;
    try {
      __wrap = super.preInvoke(
      __md, weblogic.ejb20.internal.DummyContextHandler.THE_ONE);
    } catch (weblogic.ejb20.internal.NeedRealContextHandlerError e) {
      __wrap = super.preInvoke(
      __md, new weblogic.ejb20.internal.EJBContextHandler(
      __md, new Object [] {  arg0}));          
    }
    
    SB_usermanager_i6t0fo_Intf __bean = (SB_usermanager_i6t0fo_Intf) __wrap.getBean();
    
    com.xc.hotelmanager.user.model.Hoteluser result = null;
    
    int __oldState = __bean.__WL_getMethodState();
    
    try {
      __bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
      
      result =  __bean.addHoteluser( arg0);
      
    } catch (java.lang.Throwable t) {
      __ee = t;
    }
    finally {
      __bean.__WL_setMethodState(__oldState);
    }
    
    try {
      super.postInvoke(__wrap, __ee);
      
    } catch (java.lang.Exception e) {
      if (e instanceof java.rmi.RemoteException) {
        throw (java.rmi.RemoteException)e;
      } 
      else if (e instanceof com.xc.hotelmanager.user.exception.UserManagerException) {
        throw (com.xc.hotelmanager.user.exception.UserManagerException) e;
      }
      else {
        throw new java.rmi.UnexpectedException("Unexpected exception in " +
        "com.xc.hotelmanager.user.control.session.SB_usermanagerBean.addHoteluser():" + EOL +	
        weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
      } 
    }
    return result;
  }
  
  public com.xc.hotelmanager.user.model.Hoteluser loadHoteluser(java.lang.String arg0)
  throws com.xc.hotelmanager.user.exception.UserManagerException, java.rmi.RemoteException
  {
    java.lang.Throwable __ee = null;
    
    weblogic.ejb20.interfaces.InvocationWrapper __wrap;
    weblogic.ejb20.internal.MethodDescriptor __md = 
    ((SB_usermanager_i6t0fo_HomeImpl)getEJBHome()).md_eo_loadHoteluser_S;
    try {
      __wrap = super.preInvoke(
      __md, weblogic.ejb20.internal.DummyContextHandler.THE_ONE);
    } catch (weblogic.ejb20.internal.NeedRealContextHandlerError e) {
      __wrap = super.preInvoke(
      __md, new weblogic.ejb20.internal.EJBContextHandler(
      __md, new Object [] {  arg0}));          
    }
    
    SB_usermanager_i6t0fo_Intf __bean = (SB_usermanager_i6t0fo_Intf) __wrap.getBean();
    
    com.xc.hotelmanager.user.model.Hoteluser result = null;
    
    int __oldState = __bean.__WL_getMethodState();
    
    try {
      __bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
      
      result =  __bean.loadHoteluser( arg0);
      
    } catch (java.lang.Throwable t) {
      __ee = t;
    }
    finally {
      __bean.__WL_setMethodState(__oldState);
    }
    
    try {
      super.postInvoke(__wrap, __ee);
      
    } catch (java.lang.Exception e) {
      if (e instanceof java.rmi.RemoteException) {
        throw (java.rmi.RemoteException)e;
      } 
      else if (e instanceof com.xc.hotelmanager.user.exception.UserManagerException) {
        throw (com.xc.hotelmanager.user.exception.UserManagerException) e;
      }
      else {
        throw new java.rmi.UnexpectedException("Unexpected exception in " +
        "com.xc.hotelmanager.user.control.session.SB_usermanagerBean.loadHoteluser():" + EOL +	
        weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
      } 
    }
    return result;
  }
  
  public void removeEmp(java.lang.String arg0)
  throws com.xc.hotelmanager.user.exception.UserManagerException, java.rmi.RemoteException
  {
    java.lang.Throwable __ee = null;
    
    weblogic.ejb20.interfaces.InvocationWrapper __wrap;
    weblogic.ejb20.internal.MethodDescriptor __md = 
    ((SB_usermanager_i6t0fo_HomeImpl)getEJBHome()).md_eo_removeEmp_S;
    try {
      __wrap = super.preInvoke(
      __md, weblogic.ejb20.internal.DummyContextHandler.THE_ONE);
    } catch (weblogic.ejb20.internal.NeedRealContextHandlerError e) {
      __wrap = super.preInvoke(
      __md, new weblogic.ejb20.internal.EJBContextHandler(
      __md, new Object [] {  arg0}));          
    }
    
    SB_usermanager_i6t0fo_Intf __bean = (SB_usermanager_i6t0fo_Intf) __wrap.getBean();
    
    // No return value
    
    int __oldState = __bean.__WL_getMethodState();
    
    try {
      __bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
      
      __bean.removeEmp( arg0);
      
    } catch (java.lang.Throwable t) {
      __ee = t;
    }
    finally {
      __bean.__WL_setMethodState(__oldState);
    }
    
    try {
      super.postInvoke(__wrap, __ee);
      
    } catch (java.lang.Exception e) {
      if (e instanceof java.rmi.RemoteException) {
        throw (java.rmi.RemoteException)e;
      } 
      else if (e instanceof com.xc.hotelmanager.user.exception.UserManagerException) {
        throw (com.xc.hotelmanager.user.exception.UserManagerException) e;
      }
      else {
        throw new java.rmi.UnexpectedException("Unexpected exception in " +
        "com.xc.hotelmanager.user.control.session.SB_usermanagerBean.removeEmp():" + EOL +	
        weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
      } 
    }
    // No return result
  }
  
  public java.util.Collection getAllHoteluser()
  throws com.xc.hotelmanager.user.exception.UserManagerException, java.rmi.RemoteException
  {
    java.lang.Throwable __ee = null;
    
    weblogic.ejb20.interfaces.InvocationWrapper __wrap;
    weblogic.ejb20.internal.MethodDescriptor __md = 
    ((SB_usermanager_i6t0fo_HomeImpl)getEJBHome()).md_eo_getAllHoteluser;
    try {
      __wrap = super.preInvoke(
      __md, weblogic.ejb20.internal.DummyContextHandler.THE_ONE);
    } catch (weblogic.ejb20.internal.NeedRealContextHandlerError e) {
      __wrap = super.preInvoke(
      __md, new weblogic.ejb20.internal.EJBContextHandler(
      __md, new Object [] { }));          
    }
    
    SB_usermanager_i6t0fo_Intf __bean = (SB_usermanager_i6t0fo_Intf) __wrap.getBean();
    
    java.util.Collection result = null;
    
    int __oldState = __bean.__WL_getMethodState();
    
    try {
      __bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
      
      result =  __bean.getAllHoteluser();
      
    } catch (java.lang.Throwable t) {
      __ee = t;
    }
    finally {
      __bean.__WL_setMethodState(__oldState);
    }
    
    try {
      super.postInvoke(__wrap, __ee);
      
    } catch (java.lang.Exception e) {
      if (e instanceof java.rmi.RemoteException) {
        throw (java.rmi.RemoteException)e;
      } 
      else if (e instanceof com.xc.hotelmanager.user.exception.UserManagerException) {
        throw (com.xc.hotelmanager.user.exception.UserManagerException) e;
      }
      else {
        throw new java.rmi.UnexpectedException("Unexpected exception in " +
        "com.xc.hotelmanager.user.control.session.SB_usermanagerBean.getAllHoteluser():" + EOL +	
        weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
      } 
    }
    return result;
  }
  
  public java.util.Collection getAllEmp()
  throws com.xc.hotelmanager.user.exception.UserManagerException, java.rmi.RemoteException
  {
    java.lang.Throwable __ee = null;
    
    weblogic.ejb20.interfaces.InvocationWrapper __wrap;
    weblogic.ejb20.internal.MethodDescriptor __md = 
    ((SB_usermanager_i6t0fo_HomeImpl)getEJBHome()).md_eo_getAllEmp;
    try {
      __wrap = super.preInvoke(
      __md, weblogic.ejb20.internal.DummyContextHandler.THE_ONE);
    } catch (weblogic.ejb20.internal.NeedRealContextHandlerError e) {
      __wrap = super.preInvoke(
      __md, new weblogic.ejb20.internal.EJBContextHandler(
      __md, new Object [] { }));          
    }
    
    SB_usermanager_i6t0fo_Intf __bean = (SB_usermanager_i6t0fo_Intf) __wrap.getBean();
    
    java.util.Collection result = null;
    
    int __oldState = __bean.__WL_getMethodState();
    
    try {
      __bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
      
      result =  __bean.getAllEmp();
      
    } catch (java.lang.Throwable t) {
      __ee = t;
    }
    finally {
      __bean.__WL_setMethodState(__oldState);
    }
    
    try {
      super.postInvoke(__wrap, __ee);
      
    } catch (java.lang.Exception e) {
      if (e instanceof java.rmi.RemoteException) {
        throw (java.rmi.RemoteException)e;
      } 
      else if (e instanceof com.xc.hotelmanager.user.exception.UserManagerException) {
        throw (com.xc.hotelmanager.user.exception.UserManagerException) e;
      }
      else {
        throw new java.rmi.UnexpectedException("Unexpected exception in " +
        "com.xc.hotelmanager.user.control.session.SB_usermanagerBean.getAllEmp():" + EOL +	
        weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
      } 
    }
    return result;
  }
  
  
  
  public void remove()
  throws javax.ejb.RemoveException, java.rmi.RemoteException
  {
    super.remove(((SB_usermanager_i6t0fo_HomeImpl)getEJBHome()).md_eo_remove);
  }
  
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?