01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */
17: /*
18: * Created on 08-oct-2003
19: *
20: * To change the template for this generated file go to
21: * Window>Preferences>Java>Code Generation>Code and Comments
22: */
23: package javax.jdo;
24:
25: import java.util.Collection;
26: import java.util.Map;
27:
28: /**
29: * @author agallardo
30: *
31: * To change the template for this generated type comment go to
32: * Window>Preferences>Java>Code Generation>Code and Comments
33: */
34: abstract public interface Query {
35: abstract public void close(Object o);
36:
37: abstract public void closeAll();
38:
39: abstract public void compile();
40:
41: abstract public void declareImports(String s);
42:
43: abstract public void declareParameters(String s);
44:
45: abstract public void declareVariables(String s);
46:
47: abstract public Object execute();
48:
49: abstract public Object execute(Object o);
50:
51: abstract public Object execute(Object o, Object p);
52:
53: abstract public Object execute(Object o, Object p, Object q);
54:
55: abstract public Object executeWithArray(Object[] o);
56:
57: abstract public Object executeWithMap(Map m);
58:
59: abstract public boolean getIgnoreCache();
60:
61: abstract public PersistenceManager getPersistentManager();
62:
63: abstract public void setIgnoreCandidates(Collection c);
64:
65: abstract public void setClass(Class c);
66:
67: abstract public void setFilter(String s);
68:
69: abstract public void setIgnoreCache(boolean b);
70:
71: abstract public void setOrdering(String s);
72:
73: }
|