Revision 43371 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.api/src/main/java/org/gvsig/fmap/dal/feature/FeatureStore.java
FeatureStore.java | ||
---|---|---|
39 | 39 |
import org.gvsig.fmap.dal.feature.exception.FeatureIndexException; |
40 | 40 |
import org.gvsig.fmap.dal.feature.exception.NeedEditingModeException; |
41 | 41 |
import org.gvsig.fmap.geom.Geometry; |
42 |
import org.gvsig.fmap.geom.SpatialIndex; |
|
42 | 43 |
import org.gvsig.fmap.geom.primitive.Envelope; |
43 | 44 |
import org.gvsig.tools.dispose.DisposableIterator; |
44 | 45 |
import org.gvsig.tools.dynobject.DynObject; |
... | ... | |
260 | 261 |
|
261 | 262 |
/** |
262 | 263 |
* Return a paginated list of Features filtered by the query. |
263 |
*
|
|
264 |
* |
|
264 | 265 |
* The returned List of Features is paginated, and the page size |
265 | 266 |
* used is "pageSize". |
266 |
*
|
|
267 |
* |
|
267 | 268 |
* @param query to filter the returned feature list |
268 | 269 |
* @param pageSize the page size of the list |
269 | 270 |
* @return the list of features |
270 | 271 |
*/ |
271 | 272 |
public List<Feature> getFeatures(FeatureQuery query, int pageSize); |
272 |
|
|
273 |
|
|
273 | 274 |
public List<Feature> getFeatures(); |
274 |
|
|
275 |
|
|
275 | 276 |
/** |
276 | 277 |
* Returns the feature given its reference. |
277 | 278 |
* |
... | ... | |
498 | 499 |
throws DataException; |
499 | 500 |
|
500 | 501 |
/** |
501 |
* Creates a new feature of default {@link FeatureType}.
|
|
502 |
* The new feature should be initialized with the values of the feature
|
|
502 |
* Creates a new feature of default {@link FeatureType}. |
|
503 |
* The new feature should be initialized with the values of the feature |
|
503 | 504 |
* passed as parameter. |
504 | 505 |
* Values are inicialiced by name from the feature specified. Error in |
505 | 506 |
* value assignement are ignoreds. |
506 |
*
|
|
507 |
* |
|
507 | 508 |
* @param defaultValues the values to initialize the new feature. |
508 | 509 |
* @return the new feature |
509 |
* @throws DataException
|
|
510 |
* @throws DataException |
|
510 | 511 |
*/ |
511 | 512 |
public EditableFeature createNewFeature(Feature defaultValues) |
512 | 513 |
throws DataException; |
... | ... | |
850 | 851 |
* @return |
851 | 852 |
*/ |
852 | 853 |
public Feature getFeature(DynObject dynobject); |
853 |
|
|
854 |
|
|
854 | 855 |
public Iterator iterator(); |
855 |
|
|
856 |
|
|
856 | 857 |
public ExpressionEvaluator createExpression(); |
857 |
|
|
858 |
|
|
858 | 859 |
public void createCache(String name, DynObject parameters) |
859 | 860 |
throws DataException; |
860 | 861 |
|
861 |
public FeatureCache getCache();
|
|
862 |
|
|
862 |
public FeatureCache getCache(); |
|
863 |
|
|
863 | 864 |
public boolean isBroken(); |
864 |
|
|
865 |
|
|
865 | 866 |
public Throwable getBreakingsCause(); |
867 |
|
|
868 |
/** |
|
869 |
* @param index |
|
870 |
* @return |
|
871 |
*/ |
|
872 |
SpatialIndex wrapSpatialIndex(SpatialIndex index); |
|
866 | 873 |
} |
Also available in: Unified diff