Geoserver REST API Namespace Manager
Geoserver REST API Namespace Manager
Object of R6Class with methods for managing the namespaces
of a GeoServer instance.
R6Class object.
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
geosapi::GSManager -> GSNamespaceManager
Inherited methods
geosapi::GSManager$ERROR()geosapi::GSManager$INFO()geosapi::GSManager$WARN()geosapi::GSManager$connect()geosapi::GSManager$getClassName()geosapi::GSManager$getCoverageStoreManager()geosapi::GSManager$getDataStoreManager()geosapi::GSManager$getNamespaceManager()geosapi::GSManager$getServiceManager()geosapi::GSManager$getStyleManager()geosapi::GSManager$getSystemStatus()geosapi::GSManager$getUrl()geosapi::GSManager$getWorkspaceManager()geosapi::GSManager$initialize()geosapi::GSManager$logger()geosapi::GSManager$monitor()geosapi::GSManager$reload()
getNamespaces()Get the list of available namespace. Re
GSNamespaceManager$getNamespaces()an object of class list containing items of class GSNamespace
getNamespaceNames()Get the list of available namespace names.
GSNamespaceManager$getNamespaceNames()a vector of class character
getNamespace()Get a GSNamespace object given a namespace name.
GSNamespaceManager$getNamespace(ns)nsnamespace
an object of class GSNamespace
createNamespace()Creates a GeoServer namespace given a prefix, and an optional URI.
GSNamespaceManager$createNamespace(prefix, uri)prefixprefix
uriuri
TRUE if the namespace has been successfully created, FALSE otherwise
updateNamespace()Updates a GeoServer namespace given a prefix, and an optional URI.
GSNamespaceManager$updateNamespace(prefix, uri)prefixprefix
uriuri
TRUE if the namespace has been successfully updated, FALSE otherwise
deleteNamespace()Deletes a GeoServer namespace given a name.
GSNamespaceManager$deleteNamespace(name, recurse = FALSE)namename
recurserecurse
TRUE if the namespace has been successfully deleted, FALSE otherwise
clone()The objects of this class are cloneable with this method.
GSNamespaceManager$clone(deep = FALSE)deepWhether to make a deep clone.
if (FALSE) {
GSNamespaceManager$new("http://localhost:8080/geoserver", "admin", "geoserver")
}
Run the code above in your browser using DataLab