|
@@ -2,8 +2,8 @@ |
2 |
2 |
|
package org.litesoft.orsup.base; |
3 |
3 |
|
|
4 |
4 |
|
import org.litesoft.db.*; |
5 |
|
- |
import org.litesoft.orsup.selection.*; |
6 |
5 |
|
import org.litesoft.logger.*; |
|
6 |
+ |
import org.litesoft.orsup.selection.*; |
7 |
7 |
|
|
8 |
8 |
|
public interface NonTransactionalFinder<FT extends NonTransactionalFinder> extends Finder |
9 |
9 |
|
{ |
|
@@ -25,8 +25,7 @@ |
25 |
25 |
|
* @throws UnsupportedOperationException - if the PO type does not have a "single" key |
26 |
26 |
|
* @throws DBException - other Exception regarding the OR layer |
27 |
27 |
|
*/ |
28 |
|
- |
public POKeyIterator findAllKeysCursored( String pPersistedObjectRegistrationName, |
29 |
|
- |
WhereClause pSelectionWhereClause, OrderBy pOrderBy ) |
|
28 |
+ |
public POKeyIterator findAllKeysCursored( String pPersistedObjectRegistrationName, WhereClause pSelectionWhereClause, OrderBy pOrderBy ) |
30 |
29 |
|
throws IllegalStateException, UnsupportedOperationException, DBException; |
31 |
30 |
|
|
32 |
31 |
|
/** |
|
@@ -40,8 +39,7 @@ |
40 |
39 |
|
* @throws UnsupportedOperationException - if the PO type does not have a "single" key |
41 |
40 |
|
* @throws DBException - other Exception regarding the OR layer |
42 |
41 |
|
*/ |
43 |
|
- |
public POKeyIterator findAllKeysCursored( Class<? extends PersistentObject> pPersistedObjectClass, |
44 |
|
- |
WhereClause pSelectionWhereClause, OrderBy pOrderBy ) |
|
42 |
+ |
public POKeyIterator findAllKeysCursored( Class<? extends PersistentObject> pPersistedObjectClass, WhereClause pSelectionWhereClause, OrderBy pOrderBy ) |
45 |
43 |
|
throws IllegalStateException, UnsupportedOperationException, DBException; |
46 |
44 |
|
|
47 |
45 |
|
/** |
|
@@ -55,8 +53,7 @@ |
55 |
53 |
|
* @throws UnsupportedOperationException - if the PO type does not have a "single" key |
56 |
54 |
|
* @throws DBException - other Exception regarding the OR layer |
57 |
55 |
|
*/ |
58 |
|
- |
public POKeyIterator findAllKeysCursored( String pPersistedObjectRegistrationName, |
59 |
|
- |
WhereClause pSelectionWhereClause ) |
|
56 |
+ |
public POKeyIterator findAllKeysCursored( String pPersistedObjectRegistrationName, WhereClause pSelectionWhereClause ) |
60 |
57 |
|
throws IllegalStateException, UnsupportedOperationException, DBException; |
61 |
58 |
|
|
62 |
59 |
|
/** |
|
@@ -69,8 +66,7 @@ |
69 |
66 |
|
* @throws UnsupportedOperationException - if the PO type does not have a "single" key |
70 |
67 |
|
* @throws DBException - other Exception regarding the OR layer |
71 |
68 |
|
*/ |
72 |
|
- |
public POKeyIterator findAllKeysCursored( Class<? extends PersistentObject> pPersistedObjectClass, |
73 |
|
- |
WhereClause pSelectionWhereClause ) |
|
69 |
+ |
public POKeyIterator findAllKeysCursored( Class<? extends PersistentObject> pPersistedObjectClass, WhereClause pSelectionWhereClause ) |
74 |
70 |
|
throws IllegalStateException, UnsupportedOperationException, DBException; |
75 |
71 |
|
|
76 |
72 |
|
/** |
|
@@ -83,8 +79,7 @@ |
83 |
79 |
|
* |
84 |
80 |
|
* @throws DBException - Exception regarding the OR layer |
85 |
81 |
|
*/ |
86 |
|
- |
public POQueryIterator findAllCursored( String pPersistedObjectRegistrationName, |
87 |
|
- |
WhereClause pSelectionWhereClause, OrderBy pOrderBy ) |
|
82 |
+ |
public POQueryIterator findAllCursored( String pPersistedObjectRegistrationName, WhereClause pSelectionWhereClause, OrderBy pOrderBy ) |
88 |
83 |
|
throws DBException; |
89 |
84 |
|
|
90 |
85 |
|
/** |
|
@@ -96,9 +91,7 @@ |
96 |
91 |
|
* |
97 |
92 |
|
* @throws DBException - Exception regarding the OR layer |
98 |
93 |
|
*/ |
99 |
|
- |
public <T extends PersistentObject> POQueryIterator<T> findAllCursored( Class<T> pPersistedObjectClass, |
100 |
|
- |
WhereClause pSelectionWhereClause, |
101 |
|
- |
OrderBy pOrderBy ) |
|
94 |
+ |
public <T extends PersistentObject> POQueryIterator<T> findAllCursored( Class<T> pPersistedObjectClass, WhereClause pSelectionWhereClause, OrderBy pOrderBy ) |
102 |
95 |
|
throws DBException; |
103 |
96 |
|
|
104 |
97 |
|
/** |
|
@@ -110,8 +103,7 @@ |
110 |
103 |
|
* |
111 |
104 |
|
* @throws DBException - Exception regarding the OR layer |
112 |
105 |
|
*/ |
113 |
|
- |
public POQueryIterator findAllCursored( String pPersistedObjectRegistrationName, |
114 |
|
- |
WhereClause pSelectionWhereClause ) |
|
106 |
+ |
public POQueryIterator findAllCursored( String pPersistedObjectRegistrationName, WhereClause pSelectionWhereClause ) |
115 |
107 |
|
throws DBException; |
116 |
108 |
|
|
117 |
109 |
|
/** |
|
@@ -122,8 +114,7 @@ |
122 |
114 |
|
* |
123 |
115 |
|
* @throws DBException - Exception regarding the OR layer |
124 |
116 |
|
*/ |
125 |
|
- |
public <T extends PersistentObject> POQueryIterator<T> findAllCursored( Class<T> pPersistedObjectClass, |
126 |
|
- |
WhereClause pSelectionWhereClause ) |
|
117 |
+ |
public <T extends PersistentObject> POQueryIterator<T> findAllCursored( Class<T> pPersistedObjectClass, WhereClause pSelectionWhereClause ) |
127 |
118 |
|
throws DBException; |
128 |
119 |
|
|
129 |
120 |
|
/** |