Interface FeatureStoreProviderServices

All Superinterfaces:
org.gvsig.fmap.dal.spi.DataStoreProviderServices, org.gvsig.tools.service.spi.Services, org.gvsig.fmap.dal.SupportTransactions

public interface FeatureStoreProviderServices extends org.gvsig.fmap.dal.spi.DataStoreProviderServices, org.gvsig.fmap.dal.SupportTransactions
Interface of Services for feature based data providers
Author:
jmvivo
  • Field Summary

    Fields inherited from interface org.gvsig.fmap.dal.spi.DataStoreProviderServices

    BASE_NEWPARAMETERS_PROVIDER_DEFINITION_FULLNAME, BASE_NEWPARAMETERS_PROVIDER_DEFINITION_NAME, BASE_OPTIONAL_SPATIAL_PARAMETERS_PROVIDER_DEFINITION_FULLNAME, BASE_OPTIONAL_SPATIAL_PARAMETERS_PROVIDER_DEFINITION_NAME, BASE_PARAMETERS_PROVIDER_DEFINITION_FULLNAME, BASE_PARAMETERS_PROVIDER_DEFINITION_NAME, BASE_RASTER_NEWPARAMETERS_PROVIDER_DEFINITION_FULLNAME, BASE_RASTER_NEWPARAMETERS_PROVIDER_DEFINITION_NAME, BASE_SPATIAL_PARAMETERS_PROVIDER_DEFINITION_FULLNAME, BASE_SPATIAL_PARAMETERS_PROVIDER_DEFINITION_NAME, PROVIDER_PARAMTER_FULLNAME, PROVIDER_PARAMTER_NAME
  • Method Summary

    Modifier and Type
    Method
    Description
    createDefaultFeatureProvider(org.gvsig.fmap.dal.feature.FeatureType type)
    Create a new instance of default implementation of a FeatureProvider
    org.gvsig.fmap.dal.feature.FeatureSelection
    Create a new instance of default implementation of a FeatureSelection
    org.gvsig.fmap.dal.feature.Feature
    Create a Feature instance for FeatureProvider data

    NOTE: Normaly Providers must use FeatureProvider instances instead Feature
    org.gvsig.fmap.dal.feature.EditableFeatureType
    Creates a new instance of EditableFeatureType.
    org.gvsig.fmap.dal.feature.EditableFeatureType
    Creates a new instance of EditableFeatureType.Uses 'id' as identifier.
    org.gvsig.fmap.dal.feature.FeatureType
    Return default FeatureType of the store
    getFeatureProviderFromFeature(org.gvsig.fmap.dal.feature.Feature feature)
    Extract FeatureProvider from a Feature instance.
    org.gvsig.fmap.dal.feature.FeatureStore
    Return current FeatureStore
     
    org.gvsig.fmap.dal.DataManager
    Reaturn DataManager instance.
    Return current FeatureStore name.
    Return the instance of FeatureStoreProvider for this store.
    org.gvsig.fmap.dal.feature.FeatureType
    Return original FeatureType of FeatureStoreProvider.
    org.gvsig.fmap.dal.feature.FeatureStoreNotification
    notifyChange(String notification)
    Call this to send a notification to observers of this store
    org.gvsig.fmap.dal.feature.FeatureStoreNotification
    notifyChange(String notification, FeatureProvider data)
    Call this to send a notification to observers of this store
    org.gvsig.fmap.dal.feature.FeatureStoreNotification
    notifyChange(String notification, org.gvsig.fmap.dal.resource.Resource resource)
    Call this to send a notification to observers of this store relative to Resources
    org.gvsig.fmap.dal.feature.FeatureStoreNotification
    notifyChange(org.gvsig.fmap.dal.feature.FeatureStoreNotification storeNotification)
    Call this to send a notification to observers of this store
    void
    setFeatureTypes(List types, org.gvsig.fmap.dal.feature.FeatureType defaultType)
    Sets FeatureType available from this store.
    Note: defaultType must be in types

    Methods inherited from interface org.gvsig.fmap.dal.spi.DataStoreProviderServices

    getStore

    Methods inherited from interface org.gvsig.fmap.dal.SupportTransactions

    getTransaction, setTransaction
  • Method Details

    • notifyChange

      org.gvsig.fmap.dal.feature.FeatureStoreNotification notifyChange(String notification)
      Call this to send a notification to observers of this store
      Parameters:
      notification -
      Returns:
    • notifyChange

      org.gvsig.fmap.dal.feature.FeatureStoreNotification notifyChange(String notification, FeatureProvider data)
      Call this to send a notification to observers of this store
      Parameters:
      notification -
      data -
      Returns:
    • notifyChange

      org.gvsig.fmap.dal.feature.FeatureStoreNotification notifyChange(org.gvsig.fmap.dal.feature.FeatureStoreNotification storeNotification)
      Call this to send a notification to observers of this store
      Parameters:
      storeNotification -
      Returns:
    • notifyChange

      org.gvsig.fmap.dal.feature.FeatureStoreNotification notifyChange(String notification, org.gvsig.fmap.dal.resource.Resource resource)
      Call this to send a notification to observers of this store relative to Resources
      Parameters:
      notification -
      resource -
      Returns:
    • createDefaultFeatureSelection

      org.gvsig.fmap.dal.feature.FeatureSelection createDefaultFeatureSelection() throws org.gvsig.fmap.dal.exception.DataException
      Create a new instance of default implementation of a FeatureSelection
      Returns:
      new FeatureSelection
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • createDefaultFeatureProvider

      FeatureProvider createDefaultFeatureProvider(org.gvsig.fmap.dal.feature.FeatureType type) throws org.gvsig.fmap.dal.exception.DataException
      Create a new instance of default implementation of a FeatureProvider
      Parameters:
      type -
      Returns:
      new FeatureProvider
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • setFeatureTypes

      void setFeatureTypes(List types, org.gvsig.fmap.dal.feature.FeatureType defaultType)
      Sets FeatureType available from this store.
      Note: defaultType must be in types
      Parameters:
      types - , list of all FeatureType available
      defaultType - , FeatureType used in FeatureStore.getDefaultFeatureType()
    • getManager

      org.gvsig.fmap.dal.DataManager getManager()
      Reaturn DataManager instance.
      Returns:
    • createFeature

      org.gvsig.fmap.dal.feature.Feature createFeature(FeatureProvider data) throws org.gvsig.fmap.dal.exception.DataException
      Create a Feature instance for FeatureProvider data

      NOTE: Normaly Providers must use FeatureProvider instances instead Feature
      Parameters:
      data -
      Returns:
      a Feature
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • createFeatureType

      org.gvsig.fmap.dal.feature.EditableFeatureType createFeatureType()
      Creates a new instance of EditableFeatureType. Uses 'default' as identifier.
      Returns:
    • createFeatureType

      org.gvsig.fmap.dal.feature.EditableFeatureType createFeatureType(String id)
      Creates a new instance of EditableFeatureType.Uses 'id' as identifier.
      Parameters:
      id -
      Returns:
    • getProvider

      FeatureStoreProvider getProvider()
      Return the instance of FeatureStoreProvider for this store.
      Returns:
    • getProviderFeatureType

      org.gvsig.fmap.dal.feature.FeatureType getProviderFeatureType(String featureTypeId)
      Return original FeatureType of FeatureStoreProvider.
      Parameters:
      featureTypeId - , of the FeatureType
      Returns:
    • getFeatureProviderFromFeature

      FeatureProvider getFeatureProviderFromFeature(org.gvsig.fmap.dal.feature.Feature feature)
      Extract FeatureProvider from a Feature instance.
      Parameters:
      feature -
      Returns:
    • getFeatureStore

      org.gvsig.fmap.dal.feature.FeatureStore getFeatureStore()
      Return current FeatureStore
      Returns:
    • getName

      String getName()
      Return current FeatureStore name.
      Returns:
    • getDefaultFeatureType

      org.gvsig.fmap.dal.feature.FeatureType getDefaultFeatureType() throws org.gvsig.fmap.dal.exception.DataException
      Return default FeatureType of the store
      Returns:
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • getFeatureTypes

      List getFeatureTypes() throws org.gvsig.fmap.dal.exception.DataException
      Throws:
      org.gvsig.fmap.dal.exception.DataException