01: /*
02: * JOnAS: Java(TM) Open Application Server
03: * Copyright (C) 1999 Bull S.A.
04: * Contact: jonas-team@objectweb.org
05: *
06: * This library is free software; you can redistribute it and/or
07: * modify it under the terms of the GNU Lesser General Public
08: * License as published by the Free Software Foundation; either
09: * 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 8285 2006-04-25 12:56:14Z coqp $
23: * --------------------------------------------------------------------------
24: */
25:
26: // E4QueryHome.java
27: package org.objectweb.jonas.jtests.beans.ebasic;
28:
29: import java.rmi.RemoteException;
30: import java.util.Collection;
31:
32: import javax.ejb.CreateException;
33: import javax.ejb.EJBHome;
34: import javax.ejb.FinderException;
35:
36: public interface E4QueryHome extends EJBHome {
37: public E4Query create(String id, String s, int i, double d)
38: throws RemoteException, CreateException;
39:
40: public E4Query findByPrimaryKey(String id) throws RemoteException,
41: FinderException;
42:
43: public Collection findByLengthString(int l) throws RemoteException,
44: FinderException;
45:
46: public Collection findByLocateString(String s)
47: throws RemoteException, FinderException;
48:
49: public Collection findByLocateStringAt(String s, int start)
50: throws RemoteException, FinderException;
51:
52: public Collection findBySubstring(String s, int start, int length)
53: throws RemoteException, FinderException;
54:
55: public Collection findByConcatString(String s)
56: throws RemoteException, FinderException;
57:
58: public Collection findByAbsInt(int i) throws RemoteException,
59: FinderException;
60:
61: public Collection findBySqrtDouble(double d)
62: throws RemoteException, FinderException;
63:
64: public Collection findByIsNull() throws RemoteException,
65: FinderException;
66:
67: public Collection findByIsNullParam(String s)
68: throws RemoteException, FinderException;
69:
70: public Collection findByInStrings() throws RemoteException,
71: FinderException;
72:
73: public Collection findByLessThanMinus100() throws RemoteException,
74: FinderException;
75:
76: public Collection findByIntEqualExpr(int i1, int i2, int i3)
77: throws RemoteException, FinderException;
78:
79: public Collection findByIntEqualExpr2(int i1, int i2, int i3)
80: throws RemoteException, FinderException;
81:
82: public Collection findByStringGreaterThenExpr(String s)
83: throws RemoteException, FinderException;
84:
85: public Collection findByStringGreaterOrEqualThenExpr(String s)
86: throws RemoteException, FinderException;
87:
88: public Collection findByIntModXIsZero(int i)
89: throws RemoteException, FinderException;
90: }
|