RoomHome.java
上传用户:dinglihq
上传日期:2013-02-04
资源大小:99958k
文件大小:1k
源码类别:

Java编程

开发平台:

Java

  1. package com.borland.training.meetings.entities;
  2. import javax.ejb.*;
  3. import java.util.*;
  4. public interface RoomHome extends javax.ejb.EJBLocalHome {
  5.   public java.util.Collection findRoomsWithCapacityGreaterThan(int capacity) throws FinderException;
  6.   public java.util.Collection findAll() throws FinderException;
  7.   public Room findByPrimaryKey(java.lang.String name) throws FinderException;
  8.   public int calculateTotalCapacity();
  9.   public Room create(java.lang.String name, int capacity) throws CreateException;
  10. }