public class DefaultNewLayerService extends java.lang.Object implements NewLayerService
NewLayerService
implementation.Modifier and Type | Class and Description |
---|---|
class |
DefaultNewLayerService.CantCreateNewLayerException |
class |
DefaultNewLayerService.CantLoadNewLayerException |
class |
DefaultNewLayerService.CantOpenStoreException |
NewLayerService.NewLayerServiceAdapter, NewLayerService.NewLayerServiceListener
Constructor and Description |
---|
DefaultNewLayerService(NewLayerManager manager)
DefaultNewLayerService constructor |
Modifier and Type | Method and Description |
---|---|
void |
addNewLayerServiceListener(NewLayerService.NewLayerServiceListener listener) |
void |
createTable() |
protected void |
firePostCreateTable() |
IProjection |
getDefaultProjection() |
DataServerExplorer |
getExplorer() |
EditableFeatureType |
getFeatureType() |
NewFeatureStoreParameters |
getNewStoreParameters() |
NewFeatureStoreParameters |
getNewStoreParametersQuietly() |
DataStoreParameters |
getOpenStoreParameters() |
DataStoreParameters |
getOpenStoreParametersQuietly() |
NewLayerProvider |
getProvider() |
java.util.List<NewLayerProviderFactory> |
getProviderFactories() |
NewLayerProviderFactory |
getProviderFactory() |
java.lang.String |
getStoreProviderName() |
java.lang.String |
getType() |
java.util.List<java.lang.String> |
getTypes() |
boolean |
isAddTableToProject() |
void |
setAddTableToProject(boolean b) |
void |
setDefaultProjection(IProjection projection) |
void |
setProviderFactory(NewLayerProviderFactory type) |
void |
setType(java.lang.String type) |
public DefaultNewLayerService(NewLayerManager manager)
DefaultNewLayerService
constructormanager
- public NewLayerProvider getProvider()
getProvider
in interface NewLayerService
public void createTable() throws NewLayerServiceException
createTable
in interface NewLayerService
NewLayerServiceException
public void setType(java.lang.String type)
setType
in interface NewLayerService
public DataServerExplorer getExplorer() throws NewLayerException
getExplorer
in interface NewLayerService
NewLayerException
public java.lang.String getStoreProviderName()
getStoreProviderName
in interface NewLayerService
public EditableFeatureType getFeatureType()
getFeatureType
in interface NewLayerService
public NewFeatureStoreParameters getNewStoreParameters() throws NewLayerException
getNewStoreParameters
in interface NewLayerService
NewLayerException
public DataStoreParameters getOpenStoreParameters() throws NewLayerException
getOpenStoreParameters
in interface NewLayerService
NewLayerException
public NewFeatureStoreParameters getNewStoreParametersQuietly()
getNewStoreParametersQuietly
in interface NewLayerService
public DataStoreParameters getOpenStoreParametersQuietly()
getOpenStoreParametersQuietly
in interface NewLayerService
public java.util.List<java.lang.String> getTypes()
getTypes
in interface NewLayerService
public java.lang.String getType()
getType
in interface NewLayerService
public void setAddTableToProject(boolean b)
setAddTableToProject
in interface NewLayerService
public boolean isAddTableToProject()
isAddTableToProject
in interface NewLayerService
public void setProviderFactory(NewLayerProviderFactory type)
setProviderFactory
in interface NewLayerService
public NewLayerProviderFactory getProviderFactory()
getProviderFactory
in interface NewLayerService
public java.util.List<NewLayerProviderFactory> getProviderFactories()
getProviderFactories
in interface NewLayerService
public void addNewLayerServiceListener(NewLayerService.NewLayerServiceListener listener)
addNewLayerServiceListener
in interface NewLayerService
protected void firePostCreateTable()
public void setDefaultProjection(IProjection projection)
setDefaultProjection
in interface NewLayerService
public IProjection getDefaultProjection()
getDefaultProjection
in interface NewLayerService