it.geosolutions.geoserver.rest.encoder
Class GSPostGISDatastoreEncoder

java.lang.Object
  extended by it.geosolutions.geoserver.rest.encoder.utils.XmlElement
      extended by it.geosolutions.geoserver.rest.encoder.utils.PropertyXMLEncoder
          extended by it.geosolutions.geoserver.rest.encoder.GSPostGISDatastoreEncoder

public class GSPostGISDatastoreEncoder
extends PropertyXMLEncoder

Geoserver datastore XML encoder.

Author:
Eric Grosso, ETj, Carlo Cancellieri - carlo.cancellieri@geo-solutions.it

Constructor Summary
GSPostGISDatastoreEncoder()
           
 
Method Summary
 void addConnectionTimeout(int seconds)
          Deprecated. will be set to protected in the next release
 void addDatabase(String database)
          Deprecated. will be set to protected in the next release
 void addDatabaseType(String dbtype)
          Deprecated. will be set to protected in the next release
 void addDescription(String description)
          Deprecated. will be set to protected in the next release
 void addEnabled(boolean enabled)
          Deprecated. will be set to protected in the next release
 void addExposePrimaryKeys(boolean exposePrimaryKeys)
          Deprecated. will be set to protected in the next release
 void addFetchSize(int fetchSize)
          Deprecated. will be set to protected in the next release
 void addHost(String host)
          Deprecated. will be set to protected in the next release
 void addJndiReferenceName(String jndiReferenceName)
          Deprecated. will be set to protected in the next release
 void addLooseBBox(boolean looseBBox)
          Deprecated. will be set to protected in the next release
 void addMaxConnections(int maxConnections)
          Deprecated. will be set to protected in the next release
 void addMaxOpenPreparedStatements(int maxOpenPreparedStatements)
          Deprecated. will be set to protected in the next release
 void addMinConnections(int minConnections)
          Deprecated. will be set to protected in the next release
 void addName(String name)
          Deprecated. will be set to protected in the next release
 void addNamespace(String namespace)
          Deprecated. will be set to protected in the next release
 void addPassword(String password)
          Deprecated. will be set to protected in the next release
 void addPort(int port)
          Deprecated. will be set to protected in the next release
 void addPreparedStatements(boolean preparedStatements)
          Deprecated. will be set to protected in the next release
 void addPrimaryKeyMetadataTable(String primaryKeyMetadataTable)
          Deprecated. will be set to protected in the next release
 void addSchema(String schema)
          Deprecated. will be set to protected in the next release
 void addType(String type)
          Deprecated. will be set to protected in the next release
 void addUser(String user)
          Deprecated. will be set to protected in the next release
 void addValidateConnections(boolean validateConnections)
          Deprecated. will be set to protected in the next release
 void defaultInit()
          Set some initial defaults.
 void setConnectionTimeout(int seconds)
           
 void setDatabase(String database)
           
 void setDatabaseType(String dbtype)
           
 void setDescription(String description)
           
 void setEnabled(boolean enabled)
           
 void setExposePrimaryKeys(boolean exposePrimaryKeys)
           
 void setFetchSize(int fetchSize)
           
 void setHost(String host)
           
 void setJndiReferenceName(String jndiReferenceName)
           
 void setLooseBBox(boolean looseBBox)
           
 void setMaxConnections(int maxConnections)
           
 void setMaxOpenPreparedStatements(int maxOpenPreparedStatements)
           
 void setMinConnections(int minConnections)
           
 void setName(String name)
           
 void setNamespace(String namespace)
           
 void setPassword(String password)
           
 void setPort(int port)
           
 void setPreparedStatements(boolean preparedStatements)
           
 void setPrimaryKeyMetadataTable(String primaryKeyMetadataTable)
           
 void setSchema(String schema)
           
 void setType(String type)
           
 void setUser(String user)
           
 void setValidateConnections(boolean validateConnections)
           
 
Methods inherited from class it.geosolutions.geoserver.rest.encoder.utils.PropertyXMLEncoder
add, get, get, set
 
Methods inherited from class it.geosolutions.geoserver.rest.encoder.utils.XmlElement
add, addContent, getRoot, isEmpty, remove, set, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GSPostGISDatastoreEncoder

public GSPostGISDatastoreEncoder()
Method Detail

defaultInit

public void defaultInit()
Set some initial defaults.

The default parameters are as follows:


addName

public void addName(String name)
Deprecated. will be set to protected in the next release


setName

public void setName(String name)

addDescription

public void addDescription(String description)
Deprecated. will be set to protected in the next release


setDescription

public void setDescription(String description)

addType

public void addType(String type)
Deprecated. will be set to protected in the next release


setType

public void setType(String type)

addEnabled

public void addEnabled(boolean enabled)
Deprecated. will be set to protected in the next release


setEnabled

public void setEnabled(boolean enabled)

addNamespace

public void addNamespace(String namespace)
Deprecated. will be set to protected in the next release


setNamespace

public void setNamespace(String namespace)

addHost

public void addHost(String host)
Deprecated. will be set to protected in the next release


setHost

public void setHost(String host)

addPort

public void addPort(int port)
Deprecated. will be set to protected in the next release


setPort

public void setPort(int port)

addDatabase

public void addDatabase(String database)
Deprecated. will be set to protected in the next release


setDatabase

public void setDatabase(String database)

addSchema

public void addSchema(String schema)
Deprecated. will be set to protected in the next release


setSchema

public void setSchema(String schema)

addUser

public void addUser(String user)
Deprecated. will be set to protected in the next release


setUser

public void setUser(String user)

addPassword

public void addPassword(String password)
Deprecated. will be set to protected in the next release


setPassword

public void setPassword(String password)

addDatabaseType

public void addDatabaseType(String dbtype)
Deprecated. will be set to protected in the next release


setDatabaseType

public void setDatabaseType(String dbtype)

addJndiReferenceName

public void addJndiReferenceName(String jndiReferenceName)
Deprecated. will be set to protected in the next release


setJndiReferenceName

public void setJndiReferenceName(String jndiReferenceName)

addExposePrimaryKeys

public void addExposePrimaryKeys(boolean exposePrimaryKeys)
Deprecated. will be set to protected in the next release


setExposePrimaryKeys

public void setExposePrimaryKeys(boolean exposePrimaryKeys)

addMaxConnections

public void addMaxConnections(int maxConnections)
Deprecated. will be set to protected in the next release


setMaxConnections

public void setMaxConnections(int maxConnections)

addMinConnections

public void addMinConnections(int minConnections)
Deprecated. will be set to protected in the next release


setMinConnections

public void setMinConnections(int minConnections)

addFetchSize

public void addFetchSize(int fetchSize)
Deprecated. will be set to protected in the next release


setFetchSize

public void setFetchSize(int fetchSize)

addConnectionTimeout

public void addConnectionTimeout(int seconds)
Deprecated. will be set to protected in the next release


setConnectionTimeout

public void setConnectionTimeout(int seconds)

addValidateConnections

public void addValidateConnections(boolean validateConnections)
Deprecated. will be set to protected in the next release


setValidateConnections

public void setValidateConnections(boolean validateConnections)

addPrimaryKeyMetadataTable

public void addPrimaryKeyMetadataTable(String primaryKeyMetadataTable)
Deprecated. will be set to protected in the next release


setPrimaryKeyMetadataTable

public void setPrimaryKeyMetadataTable(String primaryKeyMetadataTable)

addLooseBBox

public void addLooseBBox(boolean looseBBox)
Deprecated. will be set to protected in the next release


setLooseBBox

public void setLooseBBox(boolean looseBBox)

addPreparedStatements

public void addPreparedStatements(boolean preparedStatements)
Deprecated. will be set to protected in the next release


setPreparedStatements

public void setPreparedStatements(boolean preparedStatements)

addMaxOpenPreparedStatements

public void addMaxOpenPreparedStatements(int maxOpenPreparedStatements)
Deprecated. will be set to protected in the next release


setMaxOpenPreparedStatements

public void setMaxOpenPreparedStatements(int maxOpenPreparedStatements)


Copyright © 2007-2012 GeoSolutions. All Rights Reserved.