litesoft
Diff Revisions
938
vs
939
for /trunk/Java/GWT/Server/src/org/litesoft/boviews/podataproviders/support/PoServerVoDataProvider.java
|
@@ -1,20 +1,23 @@ |
1 |
1 |
|
package org.litesoft.boviews.podataproviders.support; |
2 |
2 |
|
|
3 |
|
- |
import java.util.*; |
4 |
|
- |
|
5 |
3 |
|
import org.litesoft.bo.attributes.*; |
6 |
4 |
|
import org.litesoft.bo.change.*; |
7 |
5 |
|
import org.litesoft.bo.views.*; |
8 |
6 |
|
import org.litesoft.bo.views.communication.*; |
9 |
7 |
|
import org.litesoft.bo.views.server.*; |
|
8 |
+ |
import org.litesoft.commonfoundation.base.*; |
|
9 |
+ |
import org.litesoft.commonfoundation.exceptions.*; |
|
10 |
+ |
import org.litesoft.commonfoundation.interators.*; |
|
11 |
+ |
import org.litesoft.commonfoundation.typeutils.*; |
10 |
12 |
|
import org.litesoft.core.simpletypes.*; |
11 |
|
- |
import org.litesoft.core.typeutils.*; |
12 |
|
- |
import org.litesoft.core.typeutils.Objects; |
13 |
13 |
|
import org.litesoft.core.util.*; |
14 |
14 |
|
import org.litesoft.orsup.base.*; |
15 |
15 |
|
import org.litesoft.orsup.selection.*; |
16 |
16 |
|
import org.litesoft.orsup.transact.*; |
17 |
17 |
|
|
|
18 |
+ |
import org.litesoft.commonfoundation.typeutils.Objects; |
|
19 |
+ |
import java.util.*; |
|
20 |
+ |
|
18 |
21 |
|
public class PoServerVoDataProvider<T extends IViewObject> extends AbstractServerRequestRowOrRowsVoDataProvider<T> |
19 |
22 |
|
{ |
20 |
23 |
|
public static final WhereClauseFactory WCF = WhereClauseFactory.INSTANCE; |
|
@@ -262,7 +265,7 @@ |
262 |
265 |
|
return new SizedIterator<T>( new PoToVoIterator<T>( false, zPOs ) ); |
263 |
266 |
|
} |
264 |
267 |
|
} |
265 |
|
- |
return new SizedIterator<T>( new PoToVoIterator<T>( false, NullIterator.getInstance() ) ); |
|
268 |
+ |
return new SizedIterator<T>( new PoToVoIterator<T>( false, Iterators.empty() ) ); |
266 |
269 |
|
} |
267 |
270 |
|
|
268 |
271 |
|
/** |
|
@@ -328,7 +331,7 @@ |
328 |
331 |
|
return pFinder.findAllCursored( mPOMetaData.getPOregistrationName(), pWhereClause, pOrderBy ); |
329 |
332 |
|
} |
330 |
333 |
|
|
331 |
|
- |
protected class PoToVoIterator<VO> extends AbstractReadOnlyIterator<VO> |
|
334 |
+ |
protected class PoToVoIterator<VO> extends Iterators.AbstractReadOnly<VO> |
332 |
335 |
|
{ |
333 |
336 |
|
private boolean mOnlyQueryAttributes; |
334 |
337 |
|
private Iterator mIterator; |