Class DefaultCoverageStore

java.lang.Object
org.gvsig.tools.dispose.impl.AbstractDisposable
org.gvsig.fmap.dal.spi.AbstractDataStore
org.gvsig.fmap.dal.raster.impl.DefaultCoverageStore
All Implemented Interfaces:
org.gvsig.fmap.dal.DataFactoryUnit, org.gvsig.fmap.dal.DataStore, org.gvsig.fmap.dal.raster.CoverageStore, org.gvsig.fmap.dal.raster.spi.CoverageStoreProviderServices, org.gvsig.fmap.dal.spi.DataStoreInitializer, org.gvsig.fmap.dal.spi.DataStoreProviderServices, org.gvsig.metadata.Metadata, org.gvsig.tools.dispose.Disposable, org.gvsig.tools.dynobject.DynObject, org.gvsig.tools.dynobject.DynObject_v2, org.gvsig.tools.observer.ComplexObservable, org.gvsig.tools.observer.ComplexWeakReferencingObservable, org.gvsig.tools.observer.Observable, org.gvsig.tools.observer.WeakReferencingObservable, org.gvsig.tools.persistence.Persistent, org.gvsig.tools.service.spi.Services, org.gvsig.tools.visitor.Visitable

public class DefaultCoverageStore extends org.gvsig.fmap.dal.spi.AbstractDataStore implements org.gvsig.fmap.dal.raster.CoverageStore, org.gvsig.fmap.dal.raster.spi.CoverageStoreProviderServices, org.gvsig.fmap.dal.spi.DataStoreInitializer
Author:
jmvivo
  • Field Summary

    Fields inherited from class org.gvsig.fmap.dal.spi.AbstractDataStore

    ignoreDALResource, LOGGER

    Fields inherited from interface org.gvsig.fmap.dal.DataStore

    CSV_PROVIDER_NAME, DBASE_PROVIDER_NAME, FEATURE_METADATA_DEFINITION_NAME, GEOPACKAGE_PROVIDER_NAME, H2SPATIAL_PROVIDER_NAME, MDB_PROVIDER_NAME, METADATA_CONTAINERNAME, METADATA_CRS, METADATA_DEFINITION_NAME, METADATA_ENVELOPE, METADATA_FEATURETYPE, METADATA_PROVIDER, SHAPE_PROVIDER_NAME, SPATIAL_METADATA_DEFINITION_NAME, TIFF_PROVIDER_NAME

    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
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(org.gvsig.tools.visitor.Visitor visitor)
     
    void
    accept(org.gvsig.tools.visitor.Visitor visitor, org.gvsig.fmap.dal.DataQuery dataQuery)
     
    void
    addObserver(org.gvsig.tools.observer.Observer o)
     
    boolean
     
    void
     
    void
     
    void
     
    org.gvsig.fmap.dal.raster.CoverageSelection
     
    org.gvsig.fmap.dal.DataQuery
     
    org.gvsig.fmap.dal.DataSet
     
    void
    delegate(org.gvsig.tools.dynobject.DynObject dynObject)
     
    void
    deleteObserver(org.gvsig.tools.observer.Observer o)
     
    void
     
    void
     
    protected void
     
    void
     
    void
     
    org.gvsig.fmap.dal.DataCache
     
    org.gvsig.fmap.dal.raster.CoverageStore
     
    protected org.gvsig.fmap.dal.DataManager
     
    org.gvsig.fmap.dal.DataSet
     
    org.gvsig.fmap.dal.DataSet
    getDataSet(org.gvsig.fmap.dal.DataQuery dataQuery)
     
    void
    getDataSet(org.gvsig.fmap.dal.DataQuery dataQuery, org.gvsig.tools.observer.Observer observer)
     
    void
    getDataSet(org.gvsig.tools.observer.Observer observer)
     
    org.gvsig.tools.dynobject.DynClass
     
     
    org.gvsig.fmap.dal.DataServerExplorer
     
     
    org.gvsig.timesupport.Interval
     
    org.gvsig.fmap.dal.DataManager
     
     
     
     
     
    org.gvsig.fmap.dal.DataStoreParameters
     
    org.gvsig.fmap.dal.raster.spi.CoverageStoreProvider
     
    org.gvsig.fmap.dal.DataStoreProviderFactory
     
     
    org.gvsig.fmap.dal.DataSet
     
    org.gvsig.tools.persistence.PersistentState
     
    org.gvsig.fmap.dal.DataStore
     
     
    getTimes(org.gvsig.timesupport.Interval interval)
     
    boolean
     
    boolean
     
    void
    implement(org.gvsig.tools.dynobject.DynClass dynClass)
     
    void
    intializePhase1(org.gvsig.fmap.dal.DataManager dataManager, org.gvsig.fmap.dal.DataStoreParameters parameters)
     
    void
    intializePhase2(org.gvsig.fmap.dal.spi.DataStoreProvider provider)
     
    invokeDynMethod(int code, Object[] args)
     
    invokeDynMethod(String name, Object[] args)
     
    void
    loadFromState(org.gvsig.tools.persistence.PersistentState state)
     
    void
    notifyChange(String notification)
     
    void
    notifyChange(String notification, org.gvsig.fmap.dal.resource.Resource resource)
     
    void
    notifyChange(String notification, org.gvsig.tools.undo.command.Command command)
     
    void
     
    void
     
    void
    saveToState(org.gvsig.tools.persistence.PersistentState state)
     
    void
    setDynValue(String name, Object value)
     
    void
    setSelection(org.gvsig.fmap.dal.DataSet selection)
     
    void
    useCache(String providerName, org.gvsig.tools.dynobject.DynObject parameters)
     

    Methods inherited from class org.gvsig.fmap.dal.spi.AbstractDataStore

    getChildren, getResourcesStorage, getStoresRepository, setIgnoreDALResource

    Methods inherited from class org.gvsig.tools.dispose.impl.AbstractDisposable

    dispose, dispose

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

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

    getChildren, getResourcesStorage, getStoresRepository

    Methods inherited from interface org.gvsig.tools.dispose.Disposable

    dispose
  • Constructor Details

    • DefaultCoverageStore

      public DefaultCoverageStore()
  • Method Details

    • getDataManager

      protected org.gvsig.fmap.dal.DataManager getDataManager()
      Specified by:
      getDataManager in class org.gvsig.fmap.dal.spi.AbstractDataStore
    • intializePhase1

      public void intializePhase1(org.gvsig.fmap.dal.DataManager dataManager, org.gvsig.fmap.dal.DataStoreParameters parameters) throws org.gvsig.fmap.dal.exception.InitializeException
      Specified by:
      intializePhase1 in interface org.gvsig.fmap.dal.spi.DataStoreInitializer
      Throws:
      org.gvsig.fmap.dal.exception.InitializeException
    • intializePhase2

      public void intializePhase2(org.gvsig.fmap.dal.spi.DataStoreProvider provider) throws org.gvsig.fmap.dal.exception.InitializeException
      Specified by:
      intializePhase2 in interface org.gvsig.fmap.dal.spi.DataStoreInitializer
      Throws:
      org.gvsig.fmap.dal.exception.InitializeException
    • createSelection

      public org.gvsig.fmap.dal.DataSet createSelection() throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      createSelection in interface org.gvsig.fmap.dal.DataStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • getDataSet

      public org.gvsig.fmap.dal.DataSet getDataSet() throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      getDataSet in interface org.gvsig.fmap.dal.DataStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • getDataSet

      public org.gvsig.fmap.dal.DataSet getDataSet(org.gvsig.fmap.dal.DataQuery dataQuery) throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      getDataSet in interface org.gvsig.fmap.dal.DataStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • accept

      public void accept(org.gvsig.tools.visitor.Visitor visitor) throws org.gvsig.tools.exception.BaseException
      Specified by:
      accept in interface org.gvsig.fmap.dal.DataStore
      Specified by:
      accept in interface org.gvsig.tools.visitor.Visitable
      Throws:
      org.gvsig.tools.exception.BaseException
    • accept

      public void accept(org.gvsig.tools.visitor.Visitor visitor, org.gvsig.fmap.dal.DataQuery dataQuery) throws org.gvsig.tools.exception.BaseException
      Specified by:
      accept in interface org.gvsig.fmap.dal.DataStore
      Throws:
      org.gvsig.tools.exception.BaseException
    • getDataSet

      public void getDataSet(org.gvsig.tools.observer.Observer observer) throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      getDataSet in interface org.gvsig.fmap.dal.DataStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • getDataSet

      public void getDataSet(org.gvsig.fmap.dal.DataQuery dataQuery, org.gvsig.tools.observer.Observer observer) throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      getDataSet in interface org.gvsig.fmap.dal.DataStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • getExplorer

      public org.gvsig.fmap.dal.DataServerExplorer getExplorer() throws org.gvsig.fmap.dal.exception.DataException, org.gvsig.fmap.dal.exception.ValidateDataParametersException
      Specified by:
      getExplorer in interface org.gvsig.fmap.dal.DataStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
      org.gvsig.fmap.dal.exception.ValidateDataParametersException
    • getParameters

      public org.gvsig.fmap.dal.DataStoreParameters getParameters()
      Specified by:
      getParameters in interface org.gvsig.fmap.dal.DataStore
    • getSelection

      public org.gvsig.fmap.dal.DataSet getSelection() throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      getSelection in interface org.gvsig.fmap.dal.DataStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • refresh

      public void refresh() throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      refresh in interface org.gvsig.fmap.dal.DataStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • setSelection

      public void setSelection(org.gvsig.fmap.dal.DataSet selection) throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      setSelection in interface org.gvsig.fmap.dal.DataStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • beginComplexNotification

      public void beginComplexNotification()
      Specified by:
      beginComplexNotification in interface org.gvsig.tools.observer.ComplexObservable
    • disableNotifications

      public void disableNotifications()
      Specified by:
      disableNotifications in interface org.gvsig.tools.observer.ComplexObservable
    • enableNotifications

      public void enableNotifications()
      Specified by:
      enableNotifications in interface org.gvsig.tools.observer.ComplexObservable
    • endComplexNotification

      public void endComplexNotification()
      Specified by:
      endComplexNotification in interface org.gvsig.tools.observer.ComplexObservable
    • addObserver

      public void addObserver(org.gvsig.tools.observer.Observer o)
      Specified by:
      addObserver in interface org.gvsig.tools.observer.Observable
    • deleteObserver

      public void deleteObserver(org.gvsig.tools.observer.Observer o)
      Specified by:
      deleteObserver in interface org.gvsig.tools.observer.Observable
    • deleteObservers

      public void deleteObservers()
      Specified by:
      deleteObservers in interface org.gvsig.tools.observer.Observable
    • getState

      public org.gvsig.tools.persistence.PersistentState getState() throws org.gvsig.tools.persistence.exception.PersistenceException
      Throws:
      org.gvsig.tools.persistence.exception.PersistenceException
    • saveToState

      public void saveToState(org.gvsig.tools.persistence.PersistentState state) throws org.gvsig.tools.persistence.exception.PersistenceException
      Specified by:
      saveToState in interface org.gvsig.tools.persistence.Persistent
      Throws:
      org.gvsig.tools.persistence.exception.PersistenceException
    • loadFromState

      public void loadFromState(org.gvsig.tools.persistence.PersistentState state) throws org.gvsig.tools.persistence.exception.PersistenceException
      Specified by:
      loadFromState in interface org.gvsig.tools.persistence.Persistent
      Throws:
      org.gvsig.tools.persistence.exception.PersistenceException
    • getMetadataID

      public Object getMetadataID()
      Specified by:
      getMetadataID in interface org.gvsig.metadata.Metadata
    • delegate

      public void delegate(org.gvsig.tools.dynobject.DynObject dynObject)
      Specified by:
      delegate in interface org.gvsig.tools.dynobject.DynObject
    • getDynClass

      public org.gvsig.tools.dynobject.DynClass getDynClass()
      Specified by:
      getDynClass in interface org.gvsig.tools.dynobject.DynObject
    • getDynValue

      public Object getDynValue(String name) throws org.gvsig.tools.dynobject.exception.DynFieldNotFoundException
      Specified by:
      getDynValue in interface org.gvsig.tools.dynobject.DynObject
      Throws:
      org.gvsig.tools.dynobject.exception.DynFieldNotFoundException
    • hasDynValue

      public boolean hasDynValue(String name)
      Specified by:
      hasDynValue in interface org.gvsig.tools.dynobject.DynObject
    • hasDynMethod

      public boolean hasDynMethod(String name)
      Specified by:
      hasDynMethod in interface org.gvsig.tools.dynobject.DynObject_v2
    • implement

      public void implement(org.gvsig.tools.dynobject.DynClass dynClass)
      Specified by:
      implement in interface org.gvsig.tools.dynobject.DynObject
    • invokeDynMethod

      public Object invokeDynMethod(String name, Object[] args) throws org.gvsig.tools.dynobject.exception.DynMethodException
      Specified by:
      invokeDynMethod in interface org.gvsig.tools.dynobject.DynObject
      Throws:
      org.gvsig.tools.dynobject.exception.DynMethodException
    • invokeDynMethod

      public Object invokeDynMethod(int code, Object[] args) throws org.gvsig.tools.dynobject.exception.DynMethodException
      Specified by:
      invokeDynMethod in interface org.gvsig.tools.dynobject.DynObject
      Throws:
      org.gvsig.tools.dynobject.exception.DynMethodException
    • setDynValue

      public void setDynValue(String name, Object value) throws org.gvsig.tools.dynobject.exception.DynFieldNotFoundException
      Specified by:
      setDynValue in interface org.gvsig.tools.dynobject.DynObject
      Throws:
      org.gvsig.tools.dynobject.exception.DynFieldNotFoundException
    • getMetadataChildren

      public Set getMetadataChildren()
      Specified by:
      getMetadataChildren in interface org.gvsig.metadata.Metadata
    • getMetadataName

      public String getMetadataName()
      Specified by:
      getMetadataName in interface org.gvsig.metadata.Metadata
    • createDefaultCoverageSelection

      public org.gvsig.fmap.dal.raster.CoverageSelection createDefaultCoverageSelection() throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      createDefaultCoverageSelection in interface org.gvsig.fmap.dal.raster.spi.CoverageStoreProviderServices
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • getManager

      public org.gvsig.fmap.dal.DataManager getManager()
      Specified by:
      getManager in interface org.gvsig.fmap.dal.raster.spi.CoverageStoreProviderServices
    • getProvider

      public org.gvsig.fmap.dal.raster.spi.CoverageStoreProvider getProvider()
      Specified by:
      getProvider in interface org.gvsig.fmap.dal.raster.spi.CoverageStoreProviderServices
    • notifyChange

      public void notifyChange(String notification)
      Specified by:
      notifyChange in interface org.gvsig.fmap.dal.raster.spi.CoverageStoreProviderServices
    • notifyChange

      public void notifyChange(String notification, org.gvsig.tools.undo.command.Command command)
      Specified by:
      notifyChange in interface org.gvsig.fmap.dal.raster.spi.CoverageStoreProviderServices
    • notifyChange

      public void notifyChange(String notification, org.gvsig.fmap.dal.resource.Resource resource)
      Specified by:
      notifyChange in interface org.gvsig.fmap.dal.raster.spi.CoverageStoreProviderServices
    • open

      public void open() throws org.gvsig.fmap.dal.exception.OpenException
      Throws:
      org.gvsig.fmap.dal.exception.OpenException
    • close

      public void close() throws org.gvsig.fmap.dal.exception.CloseException
      Throws:
      org.gvsig.fmap.dal.exception.CloseException
    • doDispose

      protected void doDispose() throws org.gvsig.tools.exception.BaseException
      Specified by:
      doDispose in class org.gvsig.tools.dispose.impl.AbstractDisposable
      Throws:
      org.gvsig.tools.exception.BaseException
    • allowWrite

      public boolean allowWrite()
    • createQuery

      public org.gvsig.fmap.dal.DataQuery createQuery()
      Specified by:
      createQuery in interface org.gvsig.fmap.dal.DataStore
    • getStore

      public org.gvsig.fmap.dal.DataStore getStore()
      Specified by:
      getStore in interface org.gvsig.fmap.dal.spi.DataStoreProviderServices
    • getCoverageStore

      public org.gvsig.fmap.dal.raster.CoverageStore getCoverageStore()
      Specified by:
      getCoverageStore in interface org.gvsig.fmap.dal.raster.spi.CoverageStoreProviderServices
    • clear

      public void clear()
      Specified by:
      clear in interface org.gvsig.tools.dynobject.DynObject
    • getProviderName

      public String getProviderName()
      Specified by:
      getProviderName in interface org.gvsig.fmap.dal.DataStore
    • getName

      public String getName()
      Specified by:
      getName in interface org.gvsig.fmap.dal.DataStore
    • getFullName

      public String getFullName()
      Specified by:
      getFullName in interface org.gvsig.fmap.dal.DataStore
    • getInterval

      public org.gvsig.timesupport.Interval getInterval()
      Specified by:
      getInterval in interface org.gvsig.fmap.dal.DataStore
    • getTimes

      public Collection getTimes()
      Specified by:
      getTimes in interface org.gvsig.fmap.dal.DataStore
    • getTimes

      public Collection getTimes(org.gvsig.timesupport.Interval interval)
      Specified by:
      getTimes in interface org.gvsig.fmap.dal.DataStore
    • useCache

      public void useCache(String providerName, org.gvsig.tools.dynobject.DynObject parameters) throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      useCache in interface org.gvsig.fmap.dal.DataStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • getProviderFactory

      public org.gvsig.fmap.dal.DataStoreProviderFactory getProviderFactory()
      Specified by:
      getProviderFactory in interface org.gvsig.fmap.dal.DataStore
    • getCache

      public org.gvsig.fmap.dal.DataCache getCache()
      Specified by:
      getCache in interface org.gvsig.fmap.dal.DataStore