EJB——无状态会话Bean的Remote远程接口_hotel.java

package wanggsx.ejb;
/**
* Remote interface for Enterprise Bean: Hello
* Remote 接口
*/
import wanggsx.ejb.*;
import java.util.*;
import javax.ejb.*;
public interface hotel extends javax.ejb.EJBObject
  {
/**
* 唯一的方法 hotel ,向客户端返回登录信息。
*/
   public Vector FHotelRoomEmpty() throws java.rmi.RemoteException;
   public Vector FHotelRoom() throws java.rmi.RemoteException;
   public Vector FHotelBookUser() throws java.rmi.RemoteException;
   public Vector FHotelRoomInfo() throws java.rmi.RemoteException;
   public Vector FHotelRoomInfo2() throws java.rmi.RemoteException;
   public Vector FHotelAdministor() throws java.rmi.RemoteException;
   public String checkid(String id) throws java.rmi.RemoteException;
  
   public Vector LHotelRoomInfo(String roomtype) throws java.rmi.RemoteException;
   public Vector LBookUserbytype(String roomtype) throws java.rmi.RemoteException;
   public Vector LBookUserbydate(String bookdate) throws java.rmi.RemoteException;
   public Vector LHotelBookUser(String id) throws java.rmi.RemoteException;
   public Vector LHotelUserInfo(String idcard) throws java.rmi.RemoteException;
   public Vector LHotelRoom(String roomid) throws java.rmi.RemoteException;
   public Vector LHotelAdministor(String name,String password) throws java.rmi.RemoteException;
   public String login(String name,String password,String spassword) throws java.rmi.RemoteException;
   public int CHotelRoomInfo(String roomtype,String roomprice,String roomtotal,String remaintoday,String remaintomorrow,String remainaftertomorrow,String remaininthird,String announcement) throws java.rmi.RemoteException;
   public int CHotelAdministor(String name,String password,String spassword,String sex) throws java.rmi.RemoteException;
   public int CHotelRoom(String roomid,String thisroomtype,String roomprice,String isempty,String useridcard) throws java.rmi.RemoteException;
   public int CHotelBookUser(String id,String email,String tel,String booksum,String bookroomtype,String bookdate) throws java.rmi.RemoteException;
   public int CHotelUserInfo(String name,String sex,String idcard,String isbooked,String indate,String inroomtype,String inroomno,String inroomsum,String inday,String isbalancecount,String countdate,String isprinted,String prepay,String moneytotal,String isdebt,String debtsum) throws java.rmi.RemoteException;
   public int DHotelRoomInfo(String roomtype) throws java.rmi.RemoteException;
   public int DBookByRoomType(String inroomtype) throws java.rmi.RemoteException;
   public int DHotelBookUser(String id) throws java.rmi.RemoteException;
   public int DBookUserBydate(String bookdate) throws java.rmi.RemoteException;
   public int DHotelUserInfo(String idcard) throws java.rmi.RemoteException;
   public int DHotelRoom(String roomid) throws java.rmi.RemoteException;
   public int DHotelAdministor(String name) throws java.rmi.RemoteException;
  
   public int UpdateBookUser() throws java.rmi.RemoteException;
   public int ResetRoomRemain() throws java.rmi.RemoteException;

 

   public int MRoomInfoNO(String bookdate1,String oldsum1,String booksum1,String roomtype1) throws java.rmi.RemoteException;
   public Vector LHotelRoomNO(String bookdate,String roomtype) throws java.rmi.RemoteException;
   public int MDRoomInfoNO(String bookdate2,String oldsum2,String booksum2,String roomtype2) throws java.rmi.RemoteException;


   public int MHotelRoomInfo(String roomprice,String roomtotal,String remaintoday,String remaintomorrow,String remainaftertomorrow,String remaininthird,String announcement,String roomtype) throws java.rmi.RemoteException;
   public int MHotelRoomInfoP(String roomprice,String roomtype) throws java.rmi.RemoteException;
   public int MHotelRoomInfoR(String remaintoday,String remaintomorrow,String remainaftertomorrow,String remaininthird,String roomtype) throws java.rmi.RemoteException;
   public int MHotelRoomInfoT(String roomtotal,String roomtype) throws java.rmi.RemoteException;
   public int MHotelRoomInfoA(String announcement,String roomtype) throws java.rmi.RemoteException;
   public int MHotelAdministor(String password,String spassword,String name) throws java.rmi.RemoteException;
   public int MchangeRoom(String inroomtype,String inroomno,String inroomsum,String idcard) throws java.rmi.RemoteException;
   public int MHotelBookUser(String booksum,String bookroomtype,String bookdate,String id) throws java.rmi.RemoteException;
   public int MHotelUserInfo_1(String inroomtype,String inroomno,String inroomsum,String money,String idcard) throws java.rmi.RemoteException;
   public int MHotelUserInfo_2(String prepay,String money,String idcard) throws java.rmi.RemoteException;
   public int MHotelUserInfo_3(String inday,String isbalancecount,String countdate,String isprinted,String money,String isdebt,String debtsum,String idcard) throws java.rmi.RemoteException;
   public int MHotelRoom(String thisroomtype,String roomprice,String isempty,String useridcard,String roomid) throws java.rmi.RemoteException;
   public int MHotelRoomU(String isempty,String roomid) throws java.rmi.RemoteException;

  }

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值