public class WFSServerExplorer extends AbstractDataServerExplorer implements DataServerExplorerProvider
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
LOGGERFILESYSTEM_SERVER_EXPLORER_NAME, MODE_ALL, MODE_FEATURE, MODE_GEOMETRY, MODE_RASTER| Constructor and Description |
|---|
WFSServerExplorer(WFSServerExplorerParameters parameters,
DataServerExplorerProviderServices services) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(java.lang.String providerName,
NewDataStoreParameters parameters,
boolean overwrite)
Creates a new DataStore in this server.
|
boolean |
canAdd()
Indicates whether this DataServerExplorer can create a new DataStore in
the server.
|
boolean |
canAdd(java.lang.String storeName)
Indicates whether this DataServerExplorer can create a new DataStore in
the server, given the store name.
|
protected void |
doDispose()
Internal implementation for the
AbstractDisposable.dispose() method, to be
implemented by child classes. |
java.lang.String |
getAbstract() |
NewDataStoreParameters |
getAddParameters(java.lang.String storeName)
Given the store's name, returns its parameters for creation.
|
java.util.List |
getDataStoreProviderNames()
Return the list of provider names that this server allow.
|
WFSFeature |
getFeatureInfo(java.lang.String nameSpace,
java.lang.String layerName)
Returns all the feature information retrieved using a
describeFeatureTypeOpearion
|
java.util.Hashtable |
getFeatures()
Returns an array of WFSLayerNode's with the descriptors of
all features (retrieved using the getCapabilities operation)
|
int |
getMaxFeatures() |
WFSServerExplorerParameters |
getParameters()
Returns this DataServerExplorer parameters
|
DataStoreParameters |
getParametersFor(WFSFeature feature) |
java.lang.String |
getProviderName()
Returns the DataServerExplorer's name
|
DataServerExplorerProviderServices |
getServerExplorerProviderServices() |
java.lang.String |
getServerType() |
int |
getTimeOut() |
java.lang.String |
getTitle() |
java.lang.String |
getUrl() |
java.lang.String |
getVersion() |
void |
initialize(DataServerExplorerProviderServices dataServerExplorerProviderServices) |
java.util.List |
list()
Provides a list of available stores in the server.
|
java.util.List |
list(int mode)
Provides a list of available stores in the server of a type.
|
void |
remove(DataStoreParameters parameters)
Removes a store from the server given its DataStoreParameters.
|
void |
setMaxFeatures(int buffer) |
void |
setTimeOut(int timeout) |
void |
setUserName(java.lang.String userName) |
close, createSQLBuilder, exists, get, getProperties, getProperty, getResourcePath, getResourcesStorage, getResourcesStorage, getResourcesStorage, open, open, setPropertydispose, disposeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexists, get, getResourcePath, getResourcesStorage, getResourcesStorage, getResourcesStoragedisposepublic static final java.lang.String NAME
public WFSServerExplorer(WFSServerExplorerParameters parameters, DataServerExplorerProviderServices services) throws InitializeException
parameters - InitializeExceptionpublic WFSFeature getFeatureInfo(java.lang.String nameSpace, java.lang.String layerName) throws WFSException
nameSpace - layerName - Feature nameWFSExceptionpublic java.util.Hashtable getFeatures()
public boolean add(java.lang.String providerName,
NewDataStoreParameters parameters,
boolean overwrite)
throws DataException
DataServerExploreradd in interface DataServerExplorerparameters - , an instance of DataStoreParameters from
DataServerExplorer.getAddParameters(String) that describes the
new DataStore.overwrite - if the store already existsDataExceptionpublic boolean canAdd()
DataServerExplorercanAdd in interface DataServerExplorerpublic boolean canAdd(java.lang.String storeName)
throws DataException
DataServerExplorercanAdd in interface DataServerExplorerstoreName - store name.DataExceptionprotected void doDispose()
throws BaseException
AbstractDisposableAbstractDisposable.dispose() method, to be
implemented by child classes.doDispose in class AbstractDataServerExplorerBaseExceptionAbstractDisposable.dispose()public NewDataStoreParameters getAddParameters(java.lang.String storeName) throws DataException
DataServerExplorergetAddParameters in interface DataServerExplorerDataExceptionpublic java.lang.String getProviderName()
DataServerExplorergetProviderName in interface DataServerExplorerpublic WFSServerExplorerParameters getParameters()
DataServerExplorergetParameters in interface DataServerExplorergetParameters in class AbstractDataServerExplorerpublic java.util.List list()
throws DataException
DataServerExplorerlist in interface DataServerExplorerDataExceptionpublic DataStoreParameters getParametersFor(WFSFeature feature) throws DataException
DataExceptionpublic java.util.List list(int mode)
throws DataException
DataServerExplorerlist in interface DataServerExplorermode - , filter store from a type: DataServerExplorer.MODE_ALL,
DataServerExplorer.MODE_FEATURE, #MODE_FEATURE_GEOMETRY,
DataServerExplorer.MODE_RASTERDataExceptionpublic void remove(DataStoreParameters parameters) throws DataException
DataServerExplorerremove in interface DataServerExplorerDataExceptionpublic DataServerExplorerProviderServices getServerExplorerProviderServices()
getServerExplorerProviderServices in interface DataServerExplorerProvidergetServerExplorerProviderServices in class AbstractDataServerExplorerpublic void initialize(DataServerExplorerProviderServices dataServerExplorerProviderServices)
public java.lang.String getTitle()
public java.lang.String getAbstract()
public java.lang.String getServerType()
public java.lang.String getUrl()
public int getMaxFeatures()
public int getTimeOut()
public void setUserName(java.lang.String userName)
userName - public void setMaxFeatures(int buffer)
buffer - public void setTimeOut(int timeout)
timeout - public java.lang.String getVersion()
public java.util.List getDataStoreProviderNames()
DataServerExplorergetDataStoreProviderNames in interface DataServerExplorer