⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sb_hotelmanager_s744ls_eoimpl.java

📁 用j2ee开发的一个旅店管理系统
💻 JAVA
📖 第 1 页 / 共 3 页
字号:
      
    } catch (java.lang.Exception e) {
      if (e instanceof java.rmi.RemoteException) {
        throw (java.rmi.RemoteException)e;
      } 
      else if (e instanceof com.xc.hotelmanager.hotel.exception.HotelManagerException) {
        throw (com.xc.hotelmanager.hotel.exception.HotelManagerException) e;
      }
      else {
        throw new java.rmi.UnexpectedException("Unexpected exception in " +
        "com.xc.hotelmanager.hotel.control.session.SB_hotelmanagerBean.getRoomtype():" + EOL +	
        weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
      } 
    }
    return result;
  }
  
  public com.xc.hotelmanager.hotel.model.Room addRoom(com.xc.hotelmanager.hotel.model.Room arg0)
  throws com.xc.hotelmanager.hotel.exception.HotelManagerException, java.rmi.RemoteException
  {
    java.lang.Throwable __ee = null;
    
    weblogic.ejb20.interfaces.InvocationWrapper __wrap;
    weblogic.ejb20.internal.MethodDescriptor __md = 
    ((SB_hotelmanager_s744ls_HomeImpl)getEJBHome()).md_eo_addRoom_com_xc_hotelmanager_hotel_model_Room;
    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_hotelmanager_s744ls_Intf __bean = (SB_hotelmanager_s744ls_Intf) __wrap.getBean();
    
    com.xc.hotelmanager.hotel.model.Room result = null;
    
    int __oldState = __bean.__WL_getMethodState();
    
    try {
      __bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
      
      result =  __bean.addRoom( 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.hotel.exception.HotelManagerException) {
        throw (com.xc.hotelmanager.hotel.exception.HotelManagerException) e;
      }
      else {
        throw new java.rmi.UnexpectedException("Unexpected exception in " +
        "com.xc.hotelmanager.hotel.control.session.SB_hotelmanagerBean.addRoom():" + EOL +	
        weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
      } 
    }
    return result;
  }
  
  public void CancleResByDate(java.lang.String arg0)
  throws com.xc.hotelmanager.hotel.exception.HotelManagerException, java.rmi.RemoteException
  {
    java.lang.Throwable __ee = null;
    
    weblogic.ejb20.interfaces.InvocationWrapper __wrap;
    weblogic.ejb20.internal.MethodDescriptor __md = 
    ((SB_hotelmanager_s744ls_HomeImpl)getEJBHome()).md_eo_CancleResByDate_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_hotelmanager_s744ls_Intf __bean = (SB_hotelmanager_s744ls_Intf) __wrap.getBean();
    
    // No return value
    
    int __oldState = __bean.__WL_getMethodState();
    
    try {
      __bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
      
      __bean.CancleResByDate( 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.hotel.exception.HotelManagerException) {
        throw (com.xc.hotelmanager.hotel.exception.HotelManagerException) e;
      }
      else {
        throw new java.rmi.UnexpectedException("Unexpected exception in " +
        "com.xc.hotelmanager.hotel.control.session.SB_hotelmanagerBean.CancleResByDate():" + EOL +	
        weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
      } 
    }
    // No return result
  }
  
  public java.util.Collection getAllRoomType()
  throws com.xc.hotelmanager.hotel.exception.HotelManagerException, java.rmi.RemoteException
  {
    java.lang.Throwable __ee = null;
    
    weblogic.ejb20.interfaces.InvocationWrapper __wrap;
    weblogic.ejb20.internal.MethodDescriptor __md = 
    ((SB_hotelmanager_s744ls_HomeImpl)getEJBHome()).md_eo_getAllRoomType;
    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_hotelmanager_s744ls_Intf __bean = (SB_hotelmanager_s744ls_Intf) __wrap.getBean();
    
    java.util.Collection result = null;
    
    int __oldState = __bean.__WL_getMethodState();
    
    try {
      __bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
      
      result =  __bean.getAllRoomType();
      
    } 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.hotel.exception.HotelManagerException) {
        throw (com.xc.hotelmanager.hotel.exception.HotelManagerException) e;
      }
      else {
        throw new java.rmi.UnexpectedException("Unexpected exception in " +
        "com.xc.hotelmanager.hotel.control.session.SB_hotelmanagerBean.getAllRoomType():" + EOL +	
        weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
      } 
    }
    return result;
  }
  
  public void ResetRstust(java.lang.String arg0)
  throws com.xc.hotelmanager.hotel.exception.HotelManagerException, java.rmi.RemoteException
  {
    java.lang.Throwable __ee = null;
    
    weblogic.ejb20.interfaces.InvocationWrapper __wrap;
    weblogic.ejb20.internal.MethodDescriptor __md = 
    ((SB_hotelmanager_s744ls_HomeImpl)getEJBHome()).md_eo_ResetRstust_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_hotelmanager_s744ls_Intf __bean = (SB_hotelmanager_s744ls_Intf) __wrap.getBean();
    
    // No return value
    
    int __oldState = __bean.__WL_getMethodState();
    
    try {
      __bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
      
      __bean.ResetRstust( 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.hotel.exception.HotelManagerException) {
        throw (com.xc.hotelmanager.hotel.exception.HotelManagerException) e;
      }
      else {
        throw new java.rmi.UnexpectedException("Unexpected exception in " +
        "com.xc.hotelmanager.hotel.control.session.SB_hotelmanagerBean.ResetRstust():" + EOL +	
        weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
      } 
    }
    // No return result
  }
  
  public com.xc.hotelmanager.hotel.model.RoomType saveRoomType(com.xc.hotelmanager.hotel.model.RoomType arg0)
  throws com.xc.hotelmanager.hotel.exception.HotelManagerException, java.rmi.RemoteException
  {
    java.lang.Throwable __ee = null;
    
    weblogic.ejb20.interfaces.InvocationWrapper __wrap;
    weblogic.ejb20.internal.MethodDescriptor __md = 
    ((SB_hotelmanager_s744ls_HomeImpl)getEJBHome()).md_eo_saveRoomType_com_xc_hotelmanager_hotel_model_RoomType;
    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_hotelmanager_s744ls_Intf __bean = (SB_hotelmanager_s744ls_Intf) __wrap.getBean();
    
    com.xc.hotelmanager.hotel.model.RoomType result = null;
    
    int __oldState = __bean.__WL_getMethodState();
    
    try {
      __bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
      
      result =  __bean.saveRoomType( 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.hotel.exception.HotelManagerException) {
        throw (com.xc.hotelmanager.hotel.exception.HotelManagerException) e;
      }
      else {
        throw new java.rmi.UnexpectedException("Unexpected exception in " +
        "com.xc.hotelmanager.hotel.control.session.SB_hotelmanagerBean.saveRoomType():" + EOL +	
        weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
      } 
    }
    return result;
  }
  
  public java.util.Collection getAllRes()
  throws com.xc.hotelmanager.hotel.exception.HotelManagerException, java.rmi.RemoteException
  {
    java.lang.Throwable __ee = null;
    
    weblogic.ejb20.interfaces.InvocationWrapper __wrap;
    weblogic.ejb20.internal.MethodDescriptor __md = 
    ((SB_hotelmanager_s744ls_HomeImpl)getEJBHome()).md_eo_getAllRes;
    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_hotelmanager_s744ls_Intf __bean = (SB_hotelmanager_s744ls_Intf) __wrap.getBean();
    
    java.util.Collection result = null;
    
    int __oldState = __bean.__WL_getMethodState();
    
    try {
      __bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
      
      result =  __bean.getAllRes();
      
    } 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.hotel.exception.HotelManagerException) {
        throw (com.xc.hotelmanager.hotel.exception.HotelManagerException) e;
      }
      else {
        throw new java.rmi.UnexpectedException("Unexpected exception in " +
        "com.xc.hotelmanager.hotel.control.session.SB_hotelmanagerBean.getAllRes():" + EOL +	
        weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
      } 
    }
    return result;
  }
  
  
  
  public void remove()
  throws javax.ejb.RemoveException, java.rmi.RemoteException
  {
    super.remove(((SB_hotelmanager_s744ls_HomeImpl)getEJBHome()).md_eo_remove);
  }
  
}

⌨️ 快捷键说明

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