?? sb_accommodationmanager.java
字號:
package com.xc.hotelmanager.hotel.control.session;import javax.ejb.*;import java.util.*;import java.rmi.*;import com.xc.hotelmanager.hotel.exception.*;import com.xc.hotelmanager.hotel.model.*;public interface SB_AccommodationManager extends javax.ejb.EJBObject { public Collection getAccInfo(String cname, String roomid) throws HotelManagerException, RemoteException; public String getleavedate() throws HotelManagerException, RemoteException; public int getlivedays(String id) throws HotelManagerException, RemoteException; public float getTotelCost(String id) throws HotelManagerException, RemoteException; public String saveToAcc(String id, String leavetime, float charge) throws HotelManagerException, RemoteException; public Accommodation loadAccommodation(String id) throws HotelManagerException,RemoteException; public void removeAccommodation(String id) throws HotelManagerException,RemoteException; public Accommodation saveAccommodation(Accommodation arecord) throws HotelManagerException,RemoteException; public Accommodation addAccommodation(Accommodation arecord) throws HotelManagerException,RemoteException; public Collection getAllAccommodation() throws HotelManagerException,RemoteException; public Collection getSearchAccommodation(String sql) throws HotelManagerException,RemoteException; public Collection getAllAccommodation(String id) throws HotelManagerException,RemoteException; public float getCost(String id) throws HotelManagerException,RemoteException;}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -