1 15 package org.apache.tapestry.vlib.ejb; 16 17 import java.rmi.RemoteException ; 18 19 import javax.ejb.EJBObject ; 20 21 28 29 public interface IBookQuery extends EJBObject 30 { 31 35 36 public int getResultCount() throws RemoteException ; 37 38 42 43 public Book[] get(int offset, int length) throws RemoteException ; 44 45 52 53 public int masterQuery(MasterQueryParameters parameters, SortOrdering sortOrdering) throws RemoteException ; 54 55 59 60 public int ownerQuery(Integer ownerPK, SortOrdering sortOrdering) throws RemoteException ; 61 62 66 67 public int holderQuery(Integer holderPK, SortOrdering sortOrdering) throws RemoteException ; 68 69 73 74 public int borrowerQuery(Integer borrowerPK, SortOrdering sortOrdering) throws RemoteException ; 75 } | Popular Tags |