geosapi (version 0.1-0)

GSDataStore: Geoserver REST API DataStore

Description

Geoserver REST API DataStore

Usage

GSDataStore

Arguments

Value

Object of R6Class for modelling a GeoServer dataStore

Format

R6Class object.

Fields

name

workspace

Methods

new(xml, dataStore, description, type, enabled, connectionParameters)

This method is used to instantiate a GSDataStore

decode(xml)

This method is used to decode a GSDataStore from XML

encode()

This method is used to encode a GSNamespace to XML. Inherited from the generic GSRESTResource encoder

setEnabled(enabled)

Sets the datastore as enabled if TRUE, disabled if FALSE

setDescription(description)

Sets the datastore description

setType(type)

Sets the datastore type

setConnectionParameters(parameters)

Sets the datastore connection parameters. The argument should be an object of class GSRESTEntrySet giving a list of key/value parameter entries.

addConnectionParameter(key, value)

Adds a datastore connection parameter. Convenience wrapper of GSRESTEntrySet addEntry method.

setConnectionParameter(key, value)

Sets a datastore connection parameter. Convenience wrapper of GSRESTEntrySet setEntry method.

delConnectionParameter(key)

Deletes a datastore connection parameter. Convenience wrapper of GSRESTEntrySet delEntry method.