GSNamespaceManager {geosapi}R Documentation

Geoserver REST API Namespace Manager

Description

Geoserver REST API Namespace Manager

Geoserver REST API Namespace Manager

Format

R6Class object.

Value

Object of R6Class with methods for managing the namespaces of a GeoServer instance.

Super class

geosapi::GSManager -> GSNamespaceManager

Methods

Public methods

Inherited methods

Method getNamespaces()

Get the list of available namespace. Re

Usage
GSNamespaceManager$getNamespaces()
Returns

an object of class list containing items of class GSNamespace


Method getNamespaceNames()

Get the list of available namespace names.

Usage
GSNamespaceManager$getNamespaceNames()
Returns

a vector of class character


Method getNamespace()

Get a GSNamespace object given a namespace name.

Usage
GSNamespaceManager$getNamespace(ns)
Arguments
ns

namespace

Returns

an object of class GSNamespace


Method createNamespace()

Creates a GeoServer namespace given a prefix, and an optional URI.

Usage
GSNamespaceManager$createNamespace(prefix, uri)
Arguments
prefix

prefix

uri

uri

Returns

TRUE if the namespace has been successfully created, FALSE otherwise


Method updateNamespace()

Updates a GeoServer namespace given a prefix, and an optional URI.

Usage
GSNamespaceManager$updateNamespace(prefix, uri)
Arguments
prefix

prefix

uri

uri

Returns

TRUE if the namespace has been successfully updated, FALSE otherwise


Method deleteNamespace()

Deletes a GeoServer namespace given a name.

Usage
GSNamespaceManager$deleteNamespace(name, recurse = FALSE)
Arguments
name

name

recurse

recurse

Returns

TRUE if the namespace has been successfully deleted, FALSE otherwise


Method clone()

The objects of this class are cloneable with this method.

Usage
GSNamespaceManager$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Author(s)

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Examples

## Not run: 
   GSNamespaceManager$new("http://localhost:8080/geoserver", "admin", "geoserver")

## End(Not run)


[Package geosapi version 0.7-1 Index]