public interface FeatureStoreProviderServices extends DataStoreProviderServices
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(String id)
Creates a new instance of EditableFeatureType.
|
FeatureType |
getDefaultFeatureType()
Return default
FeatureType of the store |
FeatureProvider |
getFeatureProviderFromFeature(Feature feature)
Extract
FeatureProvider from a Feature instance. |
FeatureStore |
getFeatureStore()
Return current FeatureStore
|
DataManager |
getManager()
Reaturn
DataManager instance. |
String |
getName()
Return current FeatureStore name.
|
FeatureStoreProvider |
getProvider()
Return the instance of
FeatureStoreProvider for this store. |
FeatureType |
getProviderFeatureType(String featureTypeId)
Return original
FeatureType of FeatureStoreProvider . |
void |
notifyChange(FeatureStoreNotification storeNotification)
Call this to send a notification to observers of this store
|
void |
notifyChange(String notification)
Call this to send a notification to observers of this store
|
void |
notifyChange(String notification,
FeatureProvider data)
Call this to send a notification to observers of this store
|
void |
notifyChange(String notification,
Resource resource)
Call this to send a notification to observers of this store relative to
Resources
|
void |
setFeatureTypes(List types,
FeatureType defaultType)
Sets
FeatureType available from this store. |
getStore
void notifyChange(String notification)
notification
- void notifyChange(String notification, FeatureProvider data)
notification
- void notifyChange(FeatureStoreNotification storeNotification)
notification
- void notifyChange(String notification, Resource resource)
notification
- FeatureSelection createDefaultFeatureSelection() throws DataException
FeatureSelection
FeatureSelection
DataException
FeatureProvider createDefaultFeatureProvider(FeatureType type) throws DataException
FeatureProvider
FeatureProvider
DataException
void setFeatureTypes(List types, FeatureType defaultType)
list
- of all FeatureType
available{@link
- FeatureType} used in
FeatureStore.getDefaultFeatureType()
DataManager getManager()
DataManager
instance.Feature createFeature(FeatureProvider data) throws DataException
Feature
instance for FeatureProvider
data
FeatureProvider
instances instead Featuredata
- Feature
DataException
EditableFeatureType createFeatureType()
EditableFeatureType createFeatureType(String id)
FeatureStoreProvider getProvider()
FeatureStoreProvider
for this store.FeatureType getProviderFeatureType(String featureTypeId)
FeatureType
of FeatureStoreProvider
.id
- of the FeatureType
DataException
FeatureProvider getFeatureProviderFromFeature(Feature feature)
FeatureProvider
from a Feature
instance.feature
- FeatureStore getFeatureStore()
String getName()
FeatureType getDefaultFeatureType() throws DataException
FeatureType
of the storeDataException