KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > jonas > jtests > beans > ebasic > E4QueryHome


1 /*
2  * JOnAS: Java(TM) Open Application Server
3  * Copyright (C) 1999 Bull S.A.
4  * Contact: jonas-team@objectweb.org
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
19  * USA
20  *
21  * --------------------------------------------------------------------------
22  * $Id: E4QueryHome.java,v 1.7 2004/03/19 11:57:17 benoitf Exp $
23  * --------------------------------------------------------------------------
24  */

25
26 // E4QueryHome.java
27

28 package org.objectweb.jonas.jtests.beans.ebasic;
29
30 import java.rmi.RemoteException JavaDoc;
31 import java.util.Collection JavaDoc;
32
33 import javax.ejb.CreateException JavaDoc;
34 import javax.ejb.EJBHome JavaDoc;
35 import javax.ejb.FinderException JavaDoc;
36
37 public interface E4QueryHome extends EJBHome JavaDoc {
38     public E4Query create(String JavaDoc id, String JavaDoc s, int i, double d) throws RemoteException JavaDoc, CreateException JavaDoc;
39     public E4Query findByPrimaryKey(String JavaDoc id) throws RemoteException JavaDoc, FinderException JavaDoc;
40     public Collection JavaDoc findByLengthString(int l)
41         throws RemoteException JavaDoc, FinderException JavaDoc;
42     public Collection JavaDoc findByLocateString(String JavaDoc s)
43         throws RemoteException JavaDoc, FinderException JavaDoc;
44     public Collection JavaDoc findByLocateStringAt(String JavaDoc s, int start)
45         throws RemoteException JavaDoc, FinderException JavaDoc;
46     public Collection JavaDoc findBySubstring(String JavaDoc s, int start, int length)
47         throws RemoteException JavaDoc, FinderException JavaDoc;
48     public Collection JavaDoc findByConcatString(String JavaDoc s)
49         throws RemoteException JavaDoc, FinderException JavaDoc;
50     public Collection JavaDoc findByAbsInt(int i)
51         throws RemoteException JavaDoc, FinderException JavaDoc;
52     public Collection JavaDoc findBySqrtDouble(double d)
53         throws RemoteException JavaDoc, FinderException JavaDoc;
54     public Collection JavaDoc findByIsNull()
55         throws RemoteException JavaDoc, FinderException JavaDoc;
56     public Collection JavaDoc findByIsNullParam(String JavaDoc s)
57         throws RemoteException JavaDoc, FinderException JavaDoc;
58     public Collection JavaDoc findByInStrings()
59         throws RemoteException JavaDoc, FinderException JavaDoc;
60     public Collection JavaDoc findByLessThanMinus100()
61         throws RemoteException JavaDoc, FinderException JavaDoc;
62     public Collection JavaDoc findByIntEqualExpr(int i1, int i2, int i3)
63         throws RemoteException JavaDoc, FinderException JavaDoc;
64     public Collection JavaDoc findByStringGreaterThenExpr(String JavaDoc s)
65         throws RemoteException JavaDoc, FinderException JavaDoc;
66     public Collection JavaDoc findByStringGreaterOrEqualThenExpr(String JavaDoc s)
67         throws RemoteException JavaDoc, FinderException JavaDoc;
68     public Collection JavaDoc findByIntModXIsZero(int i)
69         throws RemoteException JavaDoc, FinderException JavaDoc;
70 }
71
Popular Tags