public interface FeaturePagingHelper extends DynObjectPagingHelper
PagingCalculator.Sizeable
DEFAULT_PAGE_SIZE
Modifier and Type | Method and Description |
---|---|
List |
asList()
Return a List of Fearures with the contents of this PagingHelper
|
List |
asListOfDynObjects()
Return a List of DynObjects with the contents of this PagingHelper
|
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.
|
FeatureStore |
getFeatureStore()
Returns the FeatureStore used to fetch the data.
|
FeatureType |
getFeatureType()
Returns the FeatureType used of the data.
|
FeatureSelection |
getSelection() |
void |
insert(EditableFeature feature)
Inserts a new feature in this
FeatureSet . |
boolean |
isSelectionUp() |
void |
setSelection(FeatureSelection selection) |
void |
setSelectionUp(boolean selectionUp)
Sets that the selected Features get returned first.
|
void |
update(EditableFeature feature)
|
getCurrentPageDynObjects, getDynObjectAt, getDynObjectSet, reload, reloadCurrentPage
getCurrentPage, getCurrentPageSize, getInitialIndex, getMaxPageSize, getNumPages, getTotalSize, setCurrentPage, setMaxPageSize
Feature getFeatureAt(long index) throws BaseException
index
- to locate the Feature in the CollectionBaseException
- if there is an error getting the FeatureFeature[] getCurrentPageFeatures()
FeatureStore getFeatureStore()
FeatureQuery getFeatureQuery()
FeatureType getFeatureType()
void update(EditableFeature feature) throws BaseException
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
- 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)
boolean isSelectionUp()
List asList()
List asListOfDynObjects()
FeatureSelection getSelection()
void setSelection(FeatureSelection selection)