public interface FeaturePagingHelper extends DynObjectPagingHelper, Disposable, GetItemWithSizeIsEmptyAndIterator64<Feature>
PagingCalculator.Sizeable
DEFAULT_PAGE_SIZE
EMPTY_GETITEMWITHSIZEISEMPTYANDITERATOR64
EMPTY_GETITEMWITHSIZEANDITERATOR64
Modifier and Type | Method and Description |
---|---|
java.util.List |
asList()
Return a List of Fearures with the contents of this PagingHelper
|
java.util.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.
|
FeatureSet |
getFeatureSet() |
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 |
isEmpty() |
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
dispose
isEmpty, isEmpty, isEmptyQuietly
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)
selectionUp
- boolean isSelectionUp()
java.util.List asList()
java.util.List asListOfDynObjects()
FeatureSelection getSelection()
void setSelection(FeatureSelection selection)
FeatureSet getFeatureSet()