Revision 42775 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.impl/src/main/java/org/gvsig/fmap/dal/feature/paging/impl/FeaturePagingHelperImpl.java
FeaturePagingHelperImpl.java | ||
---|---|---|
40 | 40 |
import org.gvsig.fmap.dal.feature.FeatureType; |
41 | 41 |
import org.gvsig.fmap.dal.feature.exception.ConcurrentDataModificationException; |
42 | 42 |
import org.gvsig.fmap.dal.feature.exception.FeatureIndexException; |
43 |
import org.gvsig.fmap.dal.feature.impl.featureset.DynObjectFeatureFacade; |
|
43 |
import org.gvsig.fmap.dal.feature.impl.dynobjectutils.DynObjectFeatureFacade; |
|
44 |
import org.gvsig.fmap.dal.feature.paging.FacadeOfAFeaturePagingHelper; |
|
44 | 45 |
import org.gvsig.fmap.dal.feature.paging.FeaturePagingHelper; |
45 | 46 |
import org.gvsig.tools.dynobject.DynObject; |
46 | 47 |
import org.gvsig.tools.dynobject.DynObjectSet; |
... | ... | |
569 | 570 |
throw new RuntimeException(ex); |
570 | 571 |
} |
571 | 572 |
} |
573 |
|
|
572 | 574 |
} |
573 | 575 |
|
574 |
private abstract class PagingHelperList implements List { |
|
576 |
private abstract class PagingHelperList implements List, FacadeOfAFeaturePagingHelper {
|
|
575 | 577 |
|
578 |
@Override |
|
579 |
public FeaturePagingHelper getFeaturePagingHelper() { |
|
580 |
return FeaturePagingHelperImpl.this; |
|
581 |
} |
|
582 |
|
|
576 | 583 |
public int size() { |
577 | 584 |
try { |
578 | 585 |
return (int) getFeatureSet(false).getSize(); |
Also available in: Unified diff