Class DefaultFeatureStore

java.lang.Object
org.gvsig.tools.dispose.impl.AbstractDisposable
org.gvsig.fmap.dal.spi.AbstractDataStore
org.gvsig.fmap.dal.feature.impl.DefaultFeatureStore
All Implemented Interfaces:
Cloneable, Iterable<org.gvsig.fmap.dal.feature.Feature>, org.gvsig.fmap.dal.DataFactoryUnit, org.gvsig.fmap.dal.DataStore, org.gvsig.fmap.dal.feature.FeatureStore, org.gvsig.fmap.dal.feature.spi.FeatureStoreProviderServices, org.gvsig.fmap.dal.spi.DataStoreInitializer2, org.gvsig.fmap.dal.spi.DataStoreProviderServices, org.gvsig.fmap.dal.SupportTransactions, org.gvsig.metadata.Metadata, org.gvsig.tools.dispose.Disposable, org.gvsig.tools.dynobject.DynObject, org.gvsig.tools.dynobject.DynObject_v2, org.gvsig.tools.lang.Cloneable, org.gvsig.tools.observer.ComplexObservable, org.gvsig.tools.observer.ComplexWeakReferencingObservable, org.gvsig.tools.observer.Observable, org.gvsig.tools.observer.Observer, org.gvsig.tools.observer.WeakReferencingObservable, org.gvsig.tools.persistence.Persistent, org.gvsig.tools.service.spi.Services, org.gvsig.tools.undo.UndoRedoStack, org.gvsig.tools.util.PropertiesSupport, org.gvsig.tools.util.Size64, org.gvsig.tools.visitor.Visitable

public class DefaultFeatureStore extends org.gvsig.fmap.dal.spi.AbstractDataStore implements org.gvsig.fmap.dal.spi.DataStoreInitializer2, org.gvsig.fmap.dal.feature.spi.FeatureStoreProviderServices, org.gvsig.fmap.dal.feature.FeatureStore, org.gvsig.fmap.dal.SupportTransactions, org.gvsig.tools.observer.Observer
  • Field Details

    • sample_feature_cache_timeout_ms

      public static long sample_feature_cache_timeout_ms
  • Constructor Details

    • DefaultFeatureStore

      public DefaultFeatureStore()
  • Method Details

    • getDataManager

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

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

      public void setProvider(org.gvsig.fmap.dal.DataStoreProvider provider)
      Specified by:
      setProvider in interface org.gvsig.fmap.dal.spi.DataStoreInitializer2
    • getParameters

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

      public int getMode()
      Specified by:
      getMode in interface org.gvsig.fmap.dal.feature.FeatureStore
    • getManager

      public org.gvsig.fmap.dal.DataManager getManager()
      Specified by:
      getManager in interface org.gvsig.fmap.dal.feature.spi.FeatureStoreProviderServices
    • getChildren

      public org.gvsig.tools.util.UnmodifiableBasicMap<String,org.gvsig.fmap.dal.DataStore> getChildren()
      Specified by:
      getChildren in interface org.gvsig.fmap.dal.DataStore
      Overrides:
      getChildren in class org.gvsig.fmap.dal.spi.AbstractDataStore
    • getProvider

      public org.gvsig.fmap.dal.feature.spi.FeatureStoreProvider getProvider()
      Specified by:
      getProvider in interface org.gvsig.fmap.dal.feature.spi.FeatureStoreProviderServices
    • getFeatureManager

      public FeatureManager getFeatureManager()
    • setFeatureTypes

      public void setFeatureTypes(List types, org.gvsig.fmap.dal.feature.FeatureType defaultType)
      Specified by:
      setFeatureTypes in interface org.gvsig.fmap.dal.feature.spi.FeatureStoreProviderServices
    • open

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

      public void refresh() throws org.gvsig.fmap.dal.exception.OpenException, org.gvsig.fmap.dal.exception.InitializeException
      Specified by:
      refresh in interface org.gvsig.fmap.dal.DataStore
      Throws:
      org.gvsig.fmap.dal.exception.OpenException
      org.gvsig.fmap.dal.exception.InitializeException
    • 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()
      Specified by:
      allowWrite in interface org.gvsig.fmap.dal.feature.FeatureStore
    • canWriteGeometry

      public boolean canWriteGeometry(int geometryType) throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      canWriteGeometry in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • getExplorer

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

      public org.gvsig.fmap.geom.primitive.Envelope getEnvelope() throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      getEnvelope in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • getSRSDefaultGeometry

      public org.gvsig.crs.projection.lib.Projection getSRSDefaultGeometry() throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      getSRSDefaultGeometry in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • createDefaultFeatureSelection

      public org.gvsig.fmap.dal.feature.FeatureSelection createDefaultFeatureSelection() throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      createDefaultFeatureSelection in interface org.gvsig.fmap.dal.feature.spi.FeatureStoreProviderServices
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • createDefaultFeatureProvider

      public org.gvsig.fmap.dal.feature.spi.FeatureProvider createDefaultFeatureProvider(org.gvsig.fmap.dal.feature.FeatureType type) throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      createDefaultFeatureProvider in interface org.gvsig.fmap.dal.feature.spi.FeatureStoreProviderServices
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • 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 persistentState) throws org.gvsig.tools.persistence.exception.PersistenceException
      Specified by:
      loadFromState in interface org.gvsig.tools.persistence.Persistent
      Throws:
      org.gvsig.tools.persistence.exception.PersistenceException
    • getStoreProviderServices

      public org.gvsig.fmap.dal.spi.DataStoreProviderServices getStoreProviderServices()
    • selfRegister

      public static void selfRegister(List<Exception> exs)
    • 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
    • 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
    • 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
    • setSelection

      public void setSelection(org.gvsig.fmap.dal.feature.FeatureSet selection) throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      setSelection in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • setSelection

      public void setSelection(org.gvsig.fmap.dal.feature.FeatureSet selection, boolean undoable) throws org.gvsig.fmap.dal.exception.DataException
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • createFeatureSelection

      public org.gvsig.fmap.dal.feature.FeatureSelection createFeatureSelection() throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      createFeatureSelection in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • createLargeFeatureSelection

      public org.gvsig.fmap.dal.feature.FeatureSelection createLargeFeatureSelection() throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      createLargeFeatureSelection in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • createMemoryFeatureSelection

      public org.gvsig.fmap.dal.feature.FeatureSelection createMemoryFeatureSelection() throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      createMemoryFeatureSelection in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • getFeatureSelection

      public org.gvsig.fmap.dal.feature.FeatureSelection getFeatureSelection() throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      getFeatureSelection in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • getFeatureSelectionQuietly

      public org.gvsig.fmap.dal.feature.FeatureSelection getFeatureSelectionQuietly()
      Specified by:
      getFeatureSelectionQuietly in interface org.gvsig.fmap.dal.feature.FeatureStore
    • isFeatureSelectionEmpty

      public boolean isFeatureSelectionEmpty()
      Specified by:
      isFeatureSelectionEmpty in interface org.gvsig.fmap.dal.feature.FeatureStore
    • notifyChange

      public org.gvsig.fmap.dal.feature.FeatureStoreNotification notifyChange(org.gvsig.fmap.dal.feature.FeatureStoreNotification storeNotification)
      Specified by:
      notifyChange in interface org.gvsig.fmap.dal.feature.spi.FeatureStoreProviderServices
    • notifyChange

      public org.gvsig.fmap.dal.feature.FeatureStoreNotification notifyChange(String notification)
      Specified by:
      notifyChange in interface org.gvsig.fmap.dal.feature.spi.FeatureStoreProviderServices
    • notifyChange

      public org.gvsig.fmap.dal.feature.FeatureStoreNotification notifyChange(String notification, String editingSessionCode)
    • notifyChange

      public org.gvsig.fmap.dal.feature.FeatureStoreNotification notifyChange(String notification, String editingSessionCode, int editMode)
    • notifyChange

      public org.gvsig.fmap.dal.feature.FeatureStoreNotification notifyChange(String notification, Iterator<org.gvsig.fmap.dal.feature.FeatureReference> deleteds, Iterator<org.gvsig.fmap.dal.feature.EditableFeature> inserteds, Iterator<org.gvsig.fmap.dal.feature.EditableFeature> updateds, Iterator<org.gvsig.fmap.dal.feature.FeatureType.FeatureTypeChanged> featureTypesChanged, boolean isSelectionCompromised)
    • notifyChange

      public org.gvsig.fmap.dal.feature.FeatureStoreNotification notifyChange(String notification, org.gvsig.fmap.dal.feature.spi.FeatureProvider data)
      Specified by:
      notifyChange in interface org.gvsig.fmap.dal.feature.spi.FeatureStoreProviderServices
    • notifyChange

      public org.gvsig.fmap.dal.feature.FeatureStoreNotification notifyChange(String notification, org.gvsig.fmap.dal.feature.Feature feature)
    • notifyChange

      public org.gvsig.fmap.dal.feature.FeatureStoreNotification notifyChange(String notification, org.gvsig.expressionevaluator.Expression expression)
    • notifyChange

      public org.gvsig.fmap.dal.feature.FeatureStoreNotification notifyChange(String notification, org.gvsig.tools.undo.command.Command command)
    • notifyChange

      public org.gvsig.fmap.dal.feature.FeatureStoreNotification notifyChange(String notification, org.gvsig.fmap.dal.feature.EditableFeatureType type)
    • notifyChange

      public org.gvsig.fmap.dal.feature.FeatureStoreNotification notifyChange(String notification, org.gvsig.fmap.dal.resource.Resource resource)
      Specified by:
      notifyChange in interface org.gvsig.fmap.dal.feature.spi.FeatureStoreProviderServices
    • isLocksSupported

      public boolean isLocksSupported()
      Specified by:
      isLocksSupported in interface org.gvsig.fmap.dal.feature.FeatureStore
    • getLocks

      public org.gvsig.fmap.dal.feature.FeatureLocks getLocks() throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      getLocks in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • 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
    • beginComplexNotification

      public void beginComplexNotification()
      Specified by:
      beginComplexNotification 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 observer)
      Specified by:
      addObserver in interface org.gvsig.tools.observer.Observable
    • deleteObserver

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

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

      public void update(org.gvsig.tools.observer.Observable observable, Object notification)
      Specified by:
      update in interface org.gvsig.tools.observer.Observer
    • getSubmode

      public int getSubmode()
      Specified by:
      getSubmode in interface org.gvsig.fmap.dal.feature.FeatureStore
    • edit

      public void edit() throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      edit in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • edit

      public void edit(int mode) throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      edit in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • edit

      public void edit(int mode, int submode) throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      edit in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • isEditing

      public boolean isEditing()
      Specified by:
      isEditing in interface org.gvsig.fmap.dal.feature.FeatureStore
    • isAppending

      public boolean isAppending()
      Specified by:
      isAppending in interface org.gvsig.fmap.dal.feature.FeatureStore
    • update

      public void update(org.gvsig.fmap.dal.feature.EditableFeatureType type) throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      update in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • delete

      public void delete(org.gvsig.fmap.dal.feature.Feature feature) throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      delete in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • delete

      public void delete(String filter)
      Specified by:
      delete in interface org.gvsig.fmap.dal.feature.FeatureStore
    • delete

      public void delete(org.gvsig.expressionevaluator.Expression filter)
      Specified by:
      delete in interface org.gvsig.fmap.dal.feature.FeatureStore
    • doDelete

      public void doDelete(org.gvsig.fmap.dal.feature.Feature feature) throws org.gvsig.fmap.dal.exception.DataException
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • insert

      public void insert(org.gvsig.fmap.dal.feature.FeatureSet set) throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      insert in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • insert

      public void insert(org.gvsig.fmap.dal.feature.EditableFeature feature) throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      insert in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • doInsert

      public void doInsert(org.gvsig.fmap.dal.feature.EditableFeature feature) throws org.gvsig.fmap.dal.exception.DataException
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • update

      public void update(org.gvsig.fmap.dal.feature.EditableFeature feature) throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      update in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • update

      public void update(Object... parameters) throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      update in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • doUpdate

      public void doUpdate(org.gvsig.fmap.dal.feature.EditableFeature feature, org.gvsig.fmap.dal.feature.Feature oldFeature) throws org.gvsig.fmap.dal.exception.DataException
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • redo

      public void redo() throws org.gvsig.tools.undo.RedoException
      Specified by:
      redo in interface org.gvsig.tools.undo.UndoRedoStack
      Throws:
      org.gvsig.tools.undo.RedoException
    • undo

      public void undo() throws org.gvsig.tools.undo.UndoException
      Specified by:
      undo in interface org.gvsig.tools.undo.UndoRedoStack
      Throws:
      org.gvsig.tools.undo.UndoException
    • getRedoInfos

      public List getRedoInfos()
      Specified by:
      getRedoInfos in interface org.gvsig.tools.undo.UndoRedoStack
    • getUndoInfos

      public List getUndoInfos()
      Specified by:
      getUndoInfos in interface org.gvsig.tools.undo.UndoRedoStack
    • getCommandsStack

      public FeatureCommandsStack getCommandsStack() throws org.gvsig.fmap.dal.exception.DataException
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • cancelEditingQuietly

      public boolean cancelEditingQuietly()
      Specified by:
      cancelEditingQuietly in interface org.gvsig.fmap.dal.feature.FeatureStore
    • cancelEditing

      public void cancelEditing() throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      cancelEditing in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • finishEditingQuietly

      public boolean finishEditingQuietly()
      Specified by:
      finishEditingQuietly in interface org.gvsig.fmap.dal.feature.FeatureStore
    • finishEditing

      public void finishEditing() throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      finishEditing in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • getEditingSession

      public String getEditingSession()
      Specified by:
      getEditingSession in interface org.gvsig.fmap.dal.feature.FeatureStore
    • commitChanges

      public void commitChanges() throws org.gvsig.fmap.dal.exception.DataException
      Save changes in the provider without leaving the edit mode. Do not call observers to communicate a change of ediding mode. The operation's history is eliminated to prevent inconsistencies in the data.
      Specified by:
      commitChanges in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • canCommitChanges

      public boolean canCommitChanges() throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      canCommitChanges in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • beginEditingGroup

      public void beginEditingGroup(String description) throws org.gvsig.fmap.dal.feature.exception.NeedEditingModeException
      Specified by:
      beginEditingGroup in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.feature.exception.NeedEditingModeException
    • endEditingGroup

      public void endEditingGroup() throws org.gvsig.fmap.dal.feature.exception.NeedEditingModeException
      Specified by:
      endEditingGroup in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.feature.exception.NeedEditingModeException
    • isAppendModeSupported

      public boolean isAppendModeSupported()
      Specified by:
      isAppendModeSupported in interface org.gvsig.fmap.dal.feature.FeatureStore
    • export

      public void export(org.gvsig.fmap.dal.DataServerExplorer explorer, String provider, org.gvsig.fmap.dal.feature.NewFeatureStoreParameters params, String name) throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      export in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • copyTo

      public void copyTo(org.gvsig.fmap.dal.feature.FeatureStore target)
      Specified by:
      copyTo in interface org.gvsig.fmap.dal.feature.FeatureStore
    • 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
    • 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
    • getFeatureSet

      public org.gvsig.fmap.dal.feature.FeatureSet getFeatureSet() throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      getFeatureSet in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • getFeatureSet

      public org.gvsig.fmap.dal.feature.FeatureSet getFeatureSet(org.gvsig.fmap.dal.feature.FeatureQuery featureQuery) throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      getFeatureSet in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • getFeatureSet

      public org.gvsig.fmap.dal.feature.FeatureSet getFeatureSet(String filter) throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      getFeatureSet in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • getFeatureSet

      public org.gvsig.fmap.dal.feature.FeatureSet getFeatureSet(String filter, String sortBy) throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      getFeatureSet in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • getFeatureSet

      public org.gvsig.fmap.dal.feature.FeatureSet getFeatureSet(org.gvsig.expressionevaluator.Expression filter) throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      getFeatureSet in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • getFeatureSet

      public org.gvsig.fmap.dal.feature.FeatureSet getFeatureSet(org.gvsig.expressionevaluator.Expression filter, String sortBy) throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      getFeatureSet in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • getFeatureSet

      public org.gvsig.fmap.dal.feature.FeatureSet getFeatureSet(org.gvsig.expressionevaluator.Expression filter, String sortBy, boolean asc) throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      getFeatureSet in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • getFeatureSet

      public org.gvsig.fmap.dal.feature.FeatureSet getFeatureSet(String filter, String sortBy, boolean asc) throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      getFeatureSet in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • getFeatures

      public List<org.gvsig.fmap.dal.feature.Feature> getFeatures(String filter)
      Specified by:
      getFeatures in interface org.gvsig.fmap.dal.feature.FeatureStore
    • getFeatures

      public List<org.gvsig.fmap.dal.feature.Feature> getFeatures(String filter, String sortBy)
      Specified by:
      getFeatures in interface org.gvsig.fmap.dal.feature.FeatureStore
    • getFeatures

      public List<org.gvsig.fmap.dal.feature.Feature> getFeatures(String filter, String sortBy, boolean asc)
      Specified by:
      getFeatures in interface org.gvsig.fmap.dal.feature.FeatureStore
    • getFeatures

      public List<org.gvsig.fmap.dal.feature.Feature> getFeatures(org.gvsig.expressionevaluator.Expression filter)
      Specified by:
      getFeatures in interface org.gvsig.fmap.dal.feature.FeatureStore
    • getFeatures

      public List<org.gvsig.fmap.dal.feature.Feature> getFeatures(org.gvsig.expressionevaluator.Expression filter, String sortBy)
      Specified by:
      getFeatures in interface org.gvsig.fmap.dal.feature.FeatureStore
    • getFeatures

      public List<org.gvsig.fmap.dal.feature.Feature> getFeatures(org.gvsig.expressionevaluator.Expression filter, String sortBy, boolean asc)
      Specified by:
      getFeatures in interface org.gvsig.fmap.dal.feature.FeatureStore
    • getFeatures

      public List<org.gvsig.fmap.dal.feature.Feature> getFeatures(org.gvsig.fmap.dal.feature.FeatureQuery query)
      Specified by:
      getFeatures in interface org.gvsig.fmap.dal.feature.FeatureStore
    • getFeatures

      public List<org.gvsig.fmap.dal.feature.Feature> getFeatures(org.gvsig.fmap.dal.feature.FeatureQuery query, int pageSize)
      Specified by:
      getFeatures in interface org.gvsig.fmap.dal.feature.FeatureStore
    • getFeatures

      public List<org.gvsig.fmap.dal.feature.Feature> getFeatures()
      Specified by:
      getFeatures in interface org.gvsig.fmap.dal.feature.FeatureStore
    • getFeatures64

      public org.gvsig.tools.util.GetItemWithSizeIsEmptyAndIterator64<org.gvsig.fmap.dal.feature.Feature> getFeatures64()
      Specified by:
      getFeatures64 in interface org.gvsig.fmap.dal.feature.FeatureStore
    • getFeatures64

      public org.gvsig.tools.util.GetItemWithSizeIsEmptyAndIterator64<org.gvsig.fmap.dal.feature.Feature> getFeatures64(String filter)
      Specified by:
      getFeatures64 in interface org.gvsig.fmap.dal.feature.FeatureStore
    • getFeatures64

      public org.gvsig.tools.util.GetItemWithSizeIsEmptyAndIterator64<org.gvsig.fmap.dal.feature.Feature> getFeatures64(String filter, String sortBy, boolean asc)
      Specified by:
      getFeatures64 in interface org.gvsig.fmap.dal.feature.FeatureStore
    • getFeatures64

      public org.gvsig.tools.util.GetItemWithSizeIsEmptyAndIterator64<org.gvsig.fmap.dal.feature.Feature> getFeatures64(org.gvsig.fmap.dal.feature.FeatureQuery query, int pageSize)
      Specified by:
      getFeatures64 in interface org.gvsig.fmap.dal.feature.FeatureStore
    • first

      public org.gvsig.fmap.dal.feature.Feature first() throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      first in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • findFirst

      public org.gvsig.fmap.dal.feature.Feature findFirst(String filter) throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      findFirst in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • findFirst

      public org.gvsig.fmap.dal.feature.Feature findFirst(String filter, String sortBy) throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      findFirst in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • findFirst

      public org.gvsig.fmap.dal.feature.Feature findFirst(String filter, String sortBy, boolean asc) throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      findFirst in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • findFirst

      public org.gvsig.fmap.dal.feature.Feature findFirst(String filter, org.gvsig.expressionevaluator.Expression sortBy, boolean asc) throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      findFirst in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • findFirst

      public org.gvsig.fmap.dal.feature.Feature findFirst(org.gvsig.expressionevaluator.Expression filter) throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      findFirst in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • findFirst

      public org.gvsig.fmap.dal.feature.Feature findFirst(org.gvsig.expressionevaluator.Expression filter, String sortBy) throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      findFirst in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • findFirst

      public org.gvsig.fmap.dal.feature.Feature findFirst(org.gvsig.expressionevaluator.Expression filter, String sortBy, boolean asc) throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      findFirst in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • findFirst

      public org.gvsig.fmap.dal.feature.Feature findFirst(org.gvsig.expressionevaluator.Expression filter, org.gvsig.expressionevaluator.Expression sortBy, boolean asc) throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      findFirst in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • findFirst

      public org.gvsig.fmap.dal.feature.Feature findFirst(org.gvsig.fmap.dal.feature.FeatureQuery query) throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      findFirst in interface org.gvsig.fmap.dal.feature.FeatureStore
      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
    • getFeatureType

      public org.gvsig.fmap.dal.feature.FeatureType getFeatureType(org.gvsig.fmap.dal.feature.FeatureQuery featureQuery) throws org.gvsig.fmap.dal.exception.DataException
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • getFeatureSet

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

      public void getFeatureSet(org.gvsig.fmap.dal.feature.FeatureQuery query, org.gvsig.tools.observer.Observer observer) throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      getFeatureSet in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • getFeatureByReference

      public org.gvsig.fmap.dal.feature.Feature getFeatureByReference(org.gvsig.fmap.dal.feature.FeatureReference reference) throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      getFeatureByReference in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • getFeatureByReference

      public org.gvsig.fmap.dal.feature.Feature getFeatureByReference(org.gvsig.fmap.dal.feature.FeatureReference reference, org.gvsig.fmap.dal.feature.FeatureType featureType) throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      getFeatureByReference in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • getDefaultFeatureType

      public org.gvsig.fmap.dal.feature.FeatureType getDefaultFeatureType() throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      getDefaultFeatureType in interface org.gvsig.fmap.dal.feature.FeatureStore
      Specified by:
      getDefaultFeatureType in interface org.gvsig.fmap.dal.feature.spi.FeatureStoreProviderServices
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • getDefaultFeatureTypeQuietly

      public org.gvsig.fmap.dal.feature.FeatureType getDefaultFeatureTypeQuietly()
      Specified by:
      getDefaultFeatureTypeQuietly in interface org.gvsig.fmap.dal.feature.FeatureStore
    • getFeatureType

      public org.gvsig.fmap.dal.feature.FeatureType getFeatureType(String featureTypeId) throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      getFeatureType in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • getProviderDefaultFeatureType

      public org.gvsig.fmap.dal.feature.FeatureType getProviderDefaultFeatureType()
    • getFeatureTypes

      public List getFeatureTypes() throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      getFeatureTypes in interface org.gvsig.fmap.dal.feature.FeatureStore
      Specified by:
      getFeatureTypes in interface org.gvsig.fmap.dal.feature.spi.FeatureStoreProviderServices
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • getProviderFeatureTypes

      public List getProviderFeatureTypes() throws org.gvsig.fmap.dal.exception.DataException
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • createFeature

      public org.gvsig.fmap.dal.feature.Feature createFeature(org.gvsig.fmap.dal.feature.spi.FeatureProvider data) throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      createFeature in interface org.gvsig.fmap.dal.feature.spi.FeatureStoreProviderServices
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • createFeature

      public org.gvsig.fmap.dal.feature.Feature createFeature(org.gvsig.fmap.dal.feature.spi.FeatureProvider data, org.gvsig.fmap.dal.feature.FeatureType type) throws org.gvsig.fmap.dal.exception.DataException
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • createNewFeature

      public org.gvsig.fmap.dal.feature.EditableFeature createNewFeature(org.gvsig.fmap.dal.feature.FeatureType type, org.gvsig.fmap.dal.feature.Feature defaultValues) throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      createNewFeature in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • createNewFeature

      public org.gvsig.fmap.dal.feature.EditableFeature createNewFeature(org.gvsig.fmap.dal.feature.FeatureType type, boolean defaultValues) throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      createNewFeature in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • createNewFeature

      public org.gvsig.fmap.dal.feature.EditableFeature createNewFeature(boolean defaultValues) throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      createNewFeature in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • createNewFeature

      public org.gvsig.fmap.dal.feature.EditableFeature createNewFeature() throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      createNewFeature in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • createNewFeature

      public org.gvsig.fmap.dal.feature.EditableFeature createNewFeature(org.gvsig.fmap.dal.feature.Feature defaultValues) throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      createNewFeature in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • createNewFeature

      public org.gvsig.fmap.dal.feature.EditableFeature createNewFeature(javax.json.JsonObject defaultValues) throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      createNewFeature in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • createFeatureType

      public org.gvsig.fmap.dal.feature.EditableFeatureType createFeatureType()
      Specified by:
      createFeatureType in interface org.gvsig.fmap.dal.feature.spi.FeatureStoreProviderServices
    • createFeatureType

      public org.gvsig.fmap.dal.feature.EditableFeatureType createFeatureType(String id)
      Specified by:
      createFeatureType in interface org.gvsig.fmap.dal.feature.spi.FeatureStoreProviderServices
    • getIndexes

      public org.gvsig.fmap.dal.feature.FeatureIndexes getIndexes()
      Specified by:
      getIndexes in interface org.gvsig.fmap.dal.feature.FeatureStore
    • createIndex

      public org.gvsig.fmap.dal.feature.FeatureIndex createIndex(org.gvsig.fmap.dal.feature.FeatureType featureType, String attributeName, String indexName) throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      createIndex in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • createIndex

      public org.gvsig.fmap.dal.feature.FeatureIndex createIndex(String indexTypeName, org.gvsig.fmap.dal.feature.FeatureType featureType, String attributeName, String indexName) throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      createIndex in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • createIndex

      public org.gvsig.fmap.dal.feature.FeatureIndex createIndex(org.gvsig.fmap.dal.feature.FeatureType featureType, String attributeName, String indexName, org.gvsig.tools.observer.Observer observer) throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      createIndex in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • createIndex

      public org.gvsig.fmap.dal.feature.FeatureIndex createIndex(String indexTypeName, org.gvsig.fmap.dal.feature.FeatureType featureType, String attributeName, String indexName, org.gvsig.tools.observer.Observer observer) throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      createIndex in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • getTransforms

      public org.gvsig.fmap.dal.feature.FeatureStoreTransforms getTransforms()
      Specified by:
      getTransforms in interface org.gvsig.fmap.dal.feature.FeatureStore
    • createFeatureQuery

      public org.gvsig.fmap.dal.feature.FeatureQuery createFeatureQuery()
      Specified by:
      createFeatureQuery in interface org.gvsig.fmap.dal.feature.FeatureStore
    • createFeatureQuery

      public org.gvsig.fmap.dal.feature.FeatureQuery createFeatureQuery(org.gvsig.expressionevaluator.Expression filter, String sortBy, boolean asc)
      Specified by:
      createFeatureQuery in interface org.gvsig.fmap.dal.feature.FeatureStore
    • createFeatureQuery

      public org.gvsig.fmap.dal.feature.FeatureQuery createFeatureQuery(String filter)
      Specified by:
      createFeatureQuery in interface org.gvsig.fmap.dal.feature.FeatureStore
    • createFeatureQuery

      public org.gvsig.fmap.dal.feature.FeatureQuery createFeatureQuery(org.gvsig.expressionevaluator.Expression filter)
      Specified by:
      createFeatureQuery in interface org.gvsig.fmap.dal.feature.FeatureStore
    • createFeatureQuery

      public org.gvsig.fmap.dal.feature.FeatureQuery createFeatureQuery(String filter, String sortBy, boolean asc)
      Specified by:
      createFeatureQuery in interface org.gvsig.fmap.dal.feature.FeatureStore
    • createFeatureQuery

      public org.gvsig.fmap.dal.feature.FeatureQuery createFeatureQuery(org.gvsig.expressionevaluator.Expression filter, org.gvsig.expressionevaluator.Expression sortBy, boolean asc)
      Specified by:
      createFeatureQuery in interface org.gvsig.fmap.dal.feature.FeatureStore
    • createFeatureQuery

      public org.gvsig.fmap.dal.feature.FeatureQuery createFeatureQuery(String filter, org.gvsig.expressionevaluator.Expression sortBy, boolean asc)
      Specified by:
      createFeatureQuery in interface org.gvsig.fmap.dal.feature.FeatureStore
    • createQuery

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

      public boolean canRedo()
      Specified by:
      canRedo in interface org.gvsig.tools.undo.UndoRedoStack
    • canUndo

      public boolean canUndo()
      Specified by:
      canUndo in interface org.gvsig.tools.undo.UndoRedoStack
    • redo

      public void redo(int num) throws org.gvsig.tools.undo.RedoException
      Specified by:
      redo in interface org.gvsig.tools.undo.UndoRedoStack
      Throws:
      org.gvsig.tools.undo.RedoException
    • undo

      public void undo(int num) throws org.gvsig.tools.undo.UndoException
      Specified by:
      undo in interface org.gvsig.tools.undo.UndoRedoStack
      Throws:
      org.gvsig.tools.undo.UndoException
    • 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
    • getFeatureTypeManager

      public FeatureTypeManager getFeatureTypeManager()
    • getFeatureCount

      public long getFeatureCount() throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      getFeatureCount in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • getProviderFeatureType

      public org.gvsig.fmap.dal.feature.FeatureType getProviderFeatureType(String featureTypeId)
      Specified by:
      getProviderFeatureType in interface org.gvsig.fmap.dal.feature.spi.FeatureStoreProviderServices
    • getFeatureProviderFromFeature

      public org.gvsig.fmap.dal.feature.spi.FeatureProvider getFeatureProviderFromFeature(org.gvsig.fmap.dal.feature.Feature feature)
      Specified by:
      getFeatureProviderFromFeature in interface org.gvsig.fmap.dal.feature.spi.FeatureStoreProviderServices
    • getStore

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

      public org.gvsig.fmap.dal.feature.FeatureStore getFeatureStore()
      Specified by:
      getFeatureStore in interface org.gvsig.fmap.dal.feature.spi.FeatureStoreProviderServices
    • createCache

      public void createCache(String name, org.gvsig.tools.dynobject.DynObject parameters) throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      createCache in interface org.gvsig.fmap.dal.feature.FeatureStore
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • getCache

      public org.gvsig.fmap.dal.feature.FeatureCache getCache()
      Specified by:
      getCache in interface org.gvsig.fmap.dal.DataStore
      Specified by:
      getCache in interface org.gvsig.fmap.dal.feature.FeatureStore
    • clear

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

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

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

      protected String getFullNameForTraces()
    • getProviderName

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

      public boolean isKnownEnvelope()
      Specified by:
      isKnownEnvelope in interface org.gvsig.fmap.dal.feature.FeatureStore
    • hasRetrievedFeaturesLimit

      public boolean hasRetrievedFeaturesLimit()
      Specified by:
      hasRetrievedFeaturesLimit in interface org.gvsig.fmap.dal.feature.FeatureStore
    • getRetrievedFeaturesLimit

      public int getRetrievedFeaturesLimit()
      Specified by:
      getRetrievedFeaturesLimit in interface org.gvsig.fmap.dal.feature.FeatureStore
    • 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
    • setTimeSupport

      public void setTimeSupport(org.gvsig.fmap.dal.feature.FeatureStoreTimeSupport timeSupport)
    • clone

      public Object clone() throws CloneNotSupportedException
      Specified by:
      clone in interface org.gvsig.tools.lang.Cloneable
      Overrides:
      clone in class Object
      Throws:
      CloneNotSupportedException
    • getFeature

      public org.gvsig.fmap.dal.feature.Feature getFeature(org.gvsig.tools.dynobject.DynObject dynobject)
      Specified by:
      getFeature in interface org.gvsig.fmap.dal.feature.FeatureStore
    • iterator

      public Iterator iterator()
      Specified by:
      iterator in interface Iterable<org.gvsig.fmap.dal.feature.Feature>
    • size64

      public long size64()
      Specified by:
      size64 in interface org.gvsig.tools.util.Size64
    • createExpressionBuilder

      public org.gvsig.expressionevaluator.ExpressionBuilder createExpressionBuilder()
      Specified by:
      createExpressionBuilder in interface org.gvsig.fmap.dal.feature.FeatureStore
    • createExpression

      public org.gvsig.expressionevaluator.ExpressionBuilder createExpression()
      Specified by:
      createExpression in interface org.gvsig.fmap.dal.feature.FeatureStore
    • features

      public org.gvsig.fmap.dal.feature.FeatureSet features() throws org.gvsig.fmap.dal.exception.DataException
      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
    • 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
    • isBroken

      public boolean isBroken()
      Specified by:
      isBroken in interface org.gvsig.fmap.dal.feature.FeatureStore
    • getBreakingsCause

      public Throwable getBreakingsCause()
      Specified by:
      getBreakingsCause in interface org.gvsig.fmap.dal.feature.FeatureStore
    • wrapSpatialIndex

      public org.gvsig.fmap.geom.SpatialIndex wrapSpatialIndex(org.gvsig.fmap.geom.SpatialIndex index)
      Specified by:
      wrapSpatialIndex in interface org.gvsig.fmap.dal.feature.FeatureStore
    • getFeatureReference

      public org.gvsig.fmap.dal.feature.FeatureReference getFeatureReference(String code)
      Specified by:
      getFeatureReference in interface org.gvsig.fmap.dal.feature.FeatureStore
    • getPendingChangesCount

      public long getPendingChangesCount()
      Specified by:
      getPendingChangesCount in interface org.gvsig.fmap.dal.feature.FeatureStore
    • getResourcesStorage

      public org.gvsig.tools.resourcesstorage.ResourcesStorage getResourcesStorage()
      Specified by:
      getResourcesStorage in interface org.gvsig.fmap.dal.DataStore
      Overrides:
      getResourcesStorage in class org.gvsig.fmap.dal.spi.AbstractDataStore
    • getStoresRepository

      public org.gvsig.fmap.dal.StoresRepository getStoresRepository()
      Specified by:
      getStoresRepository in interface org.gvsig.fmap.dal.DataStore
      Overrides:
      getStoresRepository in class org.gvsig.fmap.dal.spi.AbstractDataStore
    • getSampleFeature

      public org.gvsig.fmap.dal.feature.Feature getSampleFeature()
      Specified by:
      getSampleFeature in interface org.gvsig.fmap.dal.feature.FeatureStore
    • supportReferences

      public boolean supportReferences()
      Specified by:
      supportReferences in interface org.gvsig.fmap.dal.feature.FeatureStore
    • isTemporary

      public boolean isTemporary()
      Specified by:
      isTemporary in interface org.gvsig.fmap.dal.feature.FeatureStore
    • setTemporary

      public void setTemporary(Boolean temporary)
      Specified by:
      setTemporary in interface org.gvsig.fmap.dal.feature.FeatureStore
    • getOriginalFeatureType

      public org.gvsig.fmap.dal.feature.FeatureType getOriginalFeatureType(org.gvsig.fmap.dal.feature.FeatureType featureType)
    • getProperty

      public Object getProperty(String name)
      Specified by:
      getProperty in interface org.gvsig.tools.util.PropertiesSupport
    • setProperty

      public void setProperty(String name, Object value)
      Specified by:
      setProperty in interface org.gvsig.tools.util.PropertiesSupport
    • getProperties

      public Map<String,Object> getProperties()
      Specified by:
      getProperties in interface org.gvsig.tools.util.PropertiesSupport
    • getOriginalFeature

      public org.gvsig.fmap.dal.feature.Feature getOriginalFeature(org.gvsig.fmap.dal.feature.FeatureReference id)
      Specified by:
      getOriginalFeature in interface org.gvsig.fmap.dal.feature.FeatureStore
    • getOriginalFeature

      public org.gvsig.fmap.dal.feature.Feature getOriginalFeature(org.gvsig.fmap.dal.feature.Feature feature)
      Specified by:
      getOriginalFeature in interface org.gvsig.fmap.dal.feature.FeatureStore
    • isFeatureModified

      public boolean isFeatureModified(org.gvsig.fmap.dal.feature.FeatureReference id)
      Specified by:
      isFeatureModified in interface org.gvsig.fmap.dal.feature.FeatureStore
    • isFeatureModified

      public boolean isFeatureModified(org.gvsig.fmap.dal.feature.Feature feature)
      Specified by:
      isFeatureModified in interface org.gvsig.fmap.dal.feature.FeatureStore
    • setTransaction

      public void setTransaction(org.gvsig.fmap.dal.DataTransaction transaction)
      Specified by:
      setTransaction in interface org.gvsig.fmap.dal.SupportTransactions
    • getTransaction

      public org.gvsig.fmap.dal.DataTransaction getTransaction()
      Specified by:
      getTransaction in interface org.gvsig.fmap.dal.SupportTransactions
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • createUniqueID

      public String createUniqueID()
    • getEditedFeatures

      public List<org.gvsig.fmap.dal.feature.FeatureReference> getEditedFeatures()
      Specified by:
      getEditedFeatures in interface org.gvsig.fmap.dal.feature.FeatureStore
    • getEditedFeaturesNotValidated

      public List<org.gvsig.fmap.dal.feature.FeatureReference> getEditedFeaturesNotValidated()
      Specified by:
      getEditedFeaturesNotValidated in interface org.gvsig.fmap.dal.feature.FeatureStore
    • getFeaturesIterator

      public Iterator<org.gvsig.fmap.dal.feature.Feature> getFeaturesIterator(Iterator<org.gvsig.fmap.dal.feature.FeatureReference> references)
      Specified by:
      getFeaturesIterator in interface org.gvsig.fmap.dal.feature.FeatureStore
    • getFeaturesIterable

      public Iterable<org.gvsig.fmap.dal.feature.Feature> getFeaturesIterable(Iterator<org.gvsig.fmap.dal.feature.FeatureReference> references)
      Specified by:
      getFeaturesIterable in interface org.gvsig.fmap.dal.feature.FeatureStore
    • isFeatureSelectionAvailable

      public boolean isFeatureSelectionAvailable()
      Specified by:
      isFeatureSelectionAvailable in interface org.gvsig.fmap.dal.feature.FeatureStore
    • canBeEdited

      public boolean canBeEdited()
      Specified by:
      canBeEdited in interface org.gvsig.fmap.dal.feature.FeatureStore
    • getLabel

      public String getLabel()
      Specified by:
      getLabel in interface org.gvsig.fmap.dal.feature.FeatureStore
    • addRequiredAttributes

      public void addRequiredAttributes(org.gvsig.fmap.dal.feature.FeatureQuery fq)
    • setNotificationsFilter

      public Predicate<org.gvsig.fmap.dal.feature.FeatureStoreNotification> setNotificationsFilter(Predicate<org.gvsig.fmap.dal.feature.FeatureStoreNotification> filter)
      Specified by:
      setNotificationsFilter in interface org.gvsig.fmap.dal.feature.FeatureStore
    • allowGeometry

      public boolean allowGeometry(String name, org.gvsig.fmap.geom.Geometry geometry)
      Specified by:
      allowGeometry in interface org.gvsig.fmap.dal.feature.FeatureStore