public interface FeatureStoreProviderServices extends DataStoreProviderServices, SupportTransactions
BASE_NEWPARAMETERS_PROVIDER_DEFINITION_FULLNAME, BASE_NEWPARAMETERS_PROVIDER_DEFINITION_NAME, BASE_PARAMETERS_PROVIDER_DEFINITION_FULLNAME, BASE_PARAMETERS_PROVIDER_DEFINITION_NAME, PROVIDER_PARAMTER_FULLNAME, PROVIDER_PARAMTER_NAME| Modifier and Type | Method and Description |
|---|---|
FeatureProvider |
createDefaultFeatureProvider(FeatureType type)
Create a new instance of default implementation of a
FeatureProvider |
FeatureSelection |
createDefaultFeatureSelection()
Create a new instance of default implementation of a
FeatureSelection |
Feature |
createFeature(FeatureProvider data)
Create a
Feature instance for FeatureProvider
data
NOTE: Normaly Providers must use FeatureProvider instances instead Feature |
EditableFeatureType |
createFeatureType()
Creates a new instance of EditableFeatureType.
|
EditableFeatureType |
createFeatureType(java.lang.String id)
Creates a new instance of EditableFeatureType.Uses 'id' as identifier.
|
FeatureType |
getDefaultFeatureType()
Return default
FeatureType of the store |
FeatureProvider |
getFeatureProviderFromFeature(Feature feature)
Extract
FeatureProvider from a Feature instance. |
FeatureStore |
getFeatureStore()
Return current FeatureStore
|
java.util.List |
getFeatureTypes() |
DataManager |
getManager()
Reaturn
DataManager instance. |
java.lang.String |
getName()
Return current FeatureStore name.
|
FeatureStoreProvider |
getProvider()
Return the instance of
FeatureStoreProvider for this store. |
FeatureType |
getProviderFeatureType(java.lang.String featureTypeId)
Return original
FeatureType of FeatureStoreProvider. |
FeatureStoreNotification |
notifyChange(FeatureStoreNotification storeNotification)
Call this to send a notification to observers of this store
|
FeatureStoreNotification |
notifyChange(java.lang.String notification)
Call this to send a notification to observers of this store
|
FeatureStoreNotification |
notifyChange(java.lang.String notification,
FeatureProvider data)
Call this to send a notification to observers of this store
|
FeatureStoreNotification |
notifyChange(java.lang.String notification,
Resource resource)
Call this to send a notification to observers of this store relative to
Resources
|
void |
setFeatureTypes(java.util.List types,
FeatureType defaultType)
Sets
FeatureType available from this store. |
getStoregetTransaction, setTransactionFeatureStoreNotification notifyChange(java.lang.String notification)
notification - FeatureStoreNotification notifyChange(java.lang.String notification, FeatureProvider data)
notification - data - FeatureStoreNotification notifyChange(FeatureStoreNotification storeNotification)
storeNotification - FeatureStoreNotification notifyChange(java.lang.String notification, Resource resource)
notification - resource - FeatureSelection createDefaultFeatureSelection() throws DataException
FeatureSelectionFeatureSelectionDataExceptionFeatureProvider createDefaultFeatureProvider(FeatureType type) throws DataException
FeatureProvidertype - FeatureProviderDataExceptionvoid setFeatureTypes(java.util.List types,
FeatureType defaultType)
types, - list of all FeatureType availabledefaultType, - FeatureType used in FeatureStore.getDefaultFeatureType()DataManager getManager()
DataManager instance.Feature createFeature(FeatureProvider data) throws DataException
Feature instance for FeatureProvider
data
FeatureProvider instances instead Featuredata - FeatureDataExceptionEditableFeatureType createFeatureType()
EditableFeatureType createFeatureType(java.lang.String id)
id - FeatureStoreProvider getProvider()
FeatureStoreProvider for this store.FeatureType getProviderFeatureType(java.lang.String featureTypeId)
FeatureType of FeatureStoreProvider.featureTypeId, - of the FeatureTypeFeatureProvider getFeatureProviderFromFeature(Feature feature)
FeatureProvider from a Feature instance.feature - FeatureStore getFeatureStore()
java.lang.String getName()
FeatureType getDefaultFeatureType() throws DataException
FeatureType of the storeDataExceptionjava.util.List getFeatureTypes()
throws DataException
DataException