litesoft
Diff Revisions
938
vs
939
for /trunk/Java/core/Server/src/org/litesoft/bo/views/server/AbstractServerRequestRowOrRowsVoDataProvider.java
|
@@ -1,13 +1,16 @@ |
1 |
1 |
|
// This Source Code is in the Public Domain per: http://litesoft.org/License.txt |
2 |
2 |
|
package org.litesoft.bo.views.server; |
3 |
3 |
|
|
|
4 |
+ |
import org.litesoft.commonfoundation.exceptions.*; |
|
5 |
+ |
import org.litesoft.commonfoundation.interators.*; |
|
6 |
+ |
import org.litesoft.commonfoundation.typeutils.*; |
|
7 |
+ |
|
4 |
8 |
|
import java.util.*; |
5 |
9 |
|
|
6 |
10 |
|
import org.litesoft.bo.views.*; |
7 |
11 |
|
import org.litesoft.bo.views.communication.*; |
|
12 |
+ |
import org.litesoft.commonfoundation.base.*; |
8 |
13 |
|
import org.litesoft.core.simpletypes.*; |
9 |
|
- |
import org.litesoft.core.typeutils.*; |
10 |
|
- |
import org.litesoft.core.util.*; |
11 |
14 |
|
|
12 |
15 |
|
public abstract class AbstractServerRequestRowOrRowsVoDataProvider<T extends IViewObject> extends AbstractFunctionalServerVoDataProvider<T> |
13 |
16 |
|
{ |
|
@@ -38,7 +41,7 @@ |
38 |
41 |
|
public SCresult process( SizedIterator<T> zIterator ) |
39 |
42 |
|
throws PersistenceException |
40 |
43 |
|
{ |
41 |
|
- |
return (zIterator.size() != null) ? // zIterator's size is ONLY set if the Max Size was exceeded |
|
44 |
+ |
return (zIterator.size() != null) ? // mIterator's size is ONLY set if the Max Size was exceeded |
42 |
45 |
|
VOSC.result( zIterator.size() ) : // |
43 |
46 |
|
VOSC.result( convert( zIterator ) ); |
44 |
47 |
|
} |