|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FeaturePagingHelper
Helper interface to access the values of a FeatureCollection by position.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.gvsig.tools.paging.PagingCalculator |
---|
PagingCalculator.Sizeable |
Field Summary |
---|
Fields inherited from interface org.gvsig.tools.paging.PagingCalculator |
---|
DEFAULT_PAGE_SIZE |
Method Summary | |
---|---|
void |
delete(Feature feature)
Deletes a Feature from current FeatureSet . |
Feature[] |
getCurrentPageFeatures()
Returns all the values of the current loaded page. |
Feature |
getFeatureAt(long index)
Returns the Feature located at the index position. |
FeatureQuery |
getFeatureQuery()
Returns the query used to load the Features. |
FeatureSet |
getFeatureSet()
Returns the FeatureSet used to fetch the data. |
FeatureStore |
getFeatureStore()
Returns the FeatureStore used to fetch the data. |
FeatureType |
getFeatureType()
Returns the FeatureType used of the data. |
void |
insert(EditableFeature feature)
Inserts a new feature in this FeatureSet . |
void |
setSelectionUp(boolean selectionUp)
Sets that the selected Features get returned first. |
void |
update(EditableFeature feature)
Updates a Feature with the given EditableFeature in the
current FeatureSet . |
Methods inherited from interface org.gvsig.tools.dynobject.DynObjectPagingHelper |
---|
getCurrentPageDynObjects, getDynObjectAt, getDynObjectSet, reload, reloadCurrentPage |
Methods inherited from interface org.gvsig.tools.paging.PagingCalculator |
---|
getCurrentPage, getCurrentPageSize, getInitialIndex, getMaxPageSize, getNumPages, getTotalSize, setCurrentPage, setMaxPageSize |
Method Detail |
---|
Feature getFeatureAt(long index) throws BaseException
index
- to locate the Feature in the Collection
BaseException
- if there is an error getting the FeatureFeature[] getCurrentPageFeatures()
FeatureSet getFeatureSet()
FeatureStore getFeatureStore()
FeatureQuery getFeatureQuery()
FeatureType getFeatureType()
void update(EditableFeature feature) throws BaseException
Feature
with the given EditableFeature
in the
current FeatureSet
.
feature
- an instance of EditableFeature
with which to update
the associated Feature
.
BaseException
FeatureSet#update(EditableFeature)}
{@link FeaturePagingHelper#getFeatureSet()}
void delete(Feature feature) throws BaseException
Feature
from current FeatureSet
.
feature
- the Feature
to delete.
BaseException
FeatureSet#delete(Feature)}
{@link FeaturePagingHelper#getFeatureSet()}
void insert(EditableFeature feature) throws BaseException
FeatureSet
. It needs to be an
instance of EditableFeature
as it has not been stored yet.Iterator
from this store that was still in use can will not
reflect this change.
feature
- the EditableFeature
to insert.
BaseException
FeatureSet#insert(EditableFeature)}
{@link FeaturePagingHelper#getFeatureSet()}
void setSelectionUp(boolean selectionUp)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |