Package org.gvsig.fmap.dal.spi
Class DataServerExplorerPoolImpl
java.lang.Object
org.gvsig.fmap.dal.spi.DataServerExplorerPoolImpl
- All Implemented Interfaces:
Iterable<org.gvsig.fmap.dal.DataServerExplorerPoolEntry>,org.gvsig.fmap.dal.DataServerExplorerPool,org.gvsig.tools.persistence.Persistent
public class DataServerExplorerPoolImpl
extends Object
implements org.gvsig.fmap.dal.DataServerExplorerPool
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidbooleanbooleancontains(org.gvsig.fmap.dal.DataServerExplorerPoolEntry entry) org.gvsig.fmap.dal.DataServerExplorerPoolEntrycreateEntry(String name, String description, org.gvsig.fmap.dal.DataServerExplorerParameters explorer) org.gvsig.fmap.dal.DataServerExplorerPoolEntryget(int index) org.gvsig.fmap.dal.DataServerExplorerPoolEntryorg.gvsig.fmap.dal.StoresRepositorybooleanisEmpty()iterator()voidloadFromState(org.gvsig.tools.persistence.PersistentState state) static voidvoidremove(int explorerIndex) voidvoidremove(org.gvsig.fmap.dal.DataServerExplorerPoolEntry entry) voidsaveToState(org.gvsig.tools.persistence.PersistentState state) intsize()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
DataServerExplorerPoolImpl
public DataServerExplorerPoolImpl()
-
-
Method Details
-
contains
- Specified by:
containsin interfaceorg.gvsig.fmap.dal.DataServerExplorerPool
-
contains
public boolean contains(org.gvsig.fmap.dal.DataServerExplorerPoolEntry entry) - Specified by:
containsin interfaceorg.gvsig.fmap.dal.DataServerExplorerPool
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceorg.gvsig.fmap.dal.DataServerExplorerPool
-
createEntry
public org.gvsig.fmap.dal.DataServerExplorerPoolEntry createEntry(String name, String description, org.gvsig.fmap.dal.DataServerExplorerParameters explorer) - Specified by:
createEntryin interfaceorg.gvsig.fmap.dal.DataServerExplorerPool
-
add
- Specified by:
addin interfaceorg.gvsig.fmap.dal.DataServerExplorerPool
-
add
public void add(String name, String description, org.gvsig.fmap.dal.DataServerExplorerParameters explorer) - Specified by:
addin interfaceorg.gvsig.fmap.dal.DataServerExplorerPool
-
remove
public void remove(org.gvsig.fmap.dal.DataServerExplorerPoolEntry entry) - Specified by:
removein interfaceorg.gvsig.fmap.dal.DataServerExplorerPool
-
remove
public void remove(int explorerIndex) - Specified by:
removein interfaceorg.gvsig.fmap.dal.DataServerExplorerPool
-
remove
- Specified by:
removein interfaceorg.gvsig.fmap.dal.DataServerExplorerPool
-
size
public int size()- Specified by:
sizein interfaceorg.gvsig.fmap.dal.DataServerExplorerPool
-
get
public org.gvsig.fmap.dal.DataServerExplorerPoolEntry get(int index) - Specified by:
getin interfaceorg.gvsig.fmap.dal.DataServerExplorerPool
-
get
- Specified by:
getin interfaceorg.gvsig.fmap.dal.DataServerExplorerPool
-
iterator
-
saveToState
public void saveToState(org.gvsig.tools.persistence.PersistentState state) throws org.gvsig.tools.persistence.exception.PersistenceException - Specified by:
saveToStatein interfaceorg.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:
loadFromStatein interfaceorg.gvsig.tools.persistence.Persistent- Throws:
org.gvsig.tools.persistence.exception.PersistenceException
-
registerPersistenceDefinition
public static void registerPersistenceDefinition() -
getStoresRepository
public org.gvsig.fmap.dal.StoresRepository getStoresRepository()- Specified by:
getStoresRepositoryin interfaceorg.gvsig.fmap.dal.DataServerExplorerPool
-