it.geosolutions.geoserver.rest.encoder.datastore
Class GSPostGISDatastoreEncoder
java.lang.Object
it.geosolutions.geoserver.rest.encoder.utils.XmlElement
it.geosolutions.geoserver.rest.encoder.utils.PropertyXMLEncoder
it.geosolutions.geoserver.rest.encoder.GSAbstractStoreEncoder
it.geosolutions.geoserver.rest.encoder.datastore.GSAbstractDatastoreEncoder
it.geosolutions.geoserver.rest.encoder.datastore.GSPostGISDatastoreEncoder
public class GSPostGISDatastoreEncoder
- extends GSAbstractDatastoreEncoder
Encoder for a datastore.
- Author:
- Eric Grosso, ETj, Carlo Cancellieri - carlo.cancellieri@geo-solutions.it, Oscar Fonts
Methods inherited from class it.geosolutions.geoserver.rest.encoder.GSAbstractStoreEncoder |
ensureValidName, ensureValidType, getDescription, getEnabled, getName, getStoreType, getType, setDescription, setEnabled, setName, setType |
GSPostGISDatastoreEncoder
public GSPostGISDatastoreEncoder(String name)
- Parameters:
name
- DataStore name
setNamespace
public void setNamespace(String namespace)
setHost
public void setHost(String host)
setPort
public void setPort(int port)
setDatabase
public void setDatabase(String database)
setSchema
public void setSchema(String schema)
setUser
public void setUser(String user)
setPassword
public void setPassword(String password)
setDatabaseType
public void setDatabaseType(String dbtype)
setJndiReferenceName
public void setJndiReferenceName(String jndiReferenceName)
setExposePrimaryKeys
public void setExposePrimaryKeys(boolean exposePrimaryKeys)
setMaxConnections
public void setMaxConnections(int maxConnections)
setMinConnections
public void setMinConnections(int minConnections)
setFetchSize
public void setFetchSize(int fetchSize)
setConnectionTimeout
public void setConnectionTimeout(int seconds)
setValidateConnections
public void setValidateConnections(boolean validateConnections)
setPrimaryKeyMetadataTable
public void setPrimaryKeyMetadataTable(String primaryKeyMetadataTable)
setLooseBBox
public void setLooseBBox(boolean looseBBox)
setPreparedStatements
public void setPreparedStatements(boolean preparedStatements)
setMaxOpenPreparedStatements
public void setMaxOpenPreparedStatements(int maxOpenPreparedStatements)
getValidType
protected String getValidType()
- Description copied from class:
GSAbstractDatastoreEncoder
- The type of the implementing datastore.
- Specified by:
getValidType
in class GSAbstractDatastoreEncoder
- Returns:
Copyright © 2007-2013 GeoSolutions. All Rights Reserved.