1 package org.objectweb.jonas.jtests.beans.ejbql; 2 3 import java.rmi.RemoteException ; 4 import javax.ejb.CreateException ; 5 import javax.ejb.FinderException ; 6 import java.util.Collection ; 7 8 public interface CabinHomeRemote extends javax.ejb.EJBHome { 9 10 public CabinRemote create(Integer id) 11 throws CreateException , RemoteException ; 12 13 public CabinRemote findByPrimaryKey(Integer pk) 14 throws FinderException , RemoteException ; 15 16 public Collection findAllOnDeckLevel(Integer level) 17 throws FinderException , RemoteException ; 18 19 public Collection findAllOnDeckLevel1_3_5() 20 throws FinderException , RemoteException ; 21 22 public Collection findAllOnDeckLevel1_3_X(int levelX) 23 throws FinderException , RemoteException ; 24 25 public int selectDeckLevel(Integer id) 27 throws FinderException , RemoteException ; 28 29 } 30 | Popular Tags |