Geoserver REST API Workspace Manager
Geoserver REST API Workspace Manager
Format
R6Class object.
Value
Object of R6Class with methods for managing the workspaces
of a GeoServer instance.
Super class
geosapi::GSManager -> GSWorkspaceManager
Methods
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()
Method getWorkspaces()
Get the list of available workspace. Returns an object of class list
containing items of class GSWorkspace
Arguments
alist of GSWorkspace
Method getWorkspaceNames()
Get the list of available workspace names. Returns an vector of class character
Method getWorkspace()
Get a GSWorkspace object given a workspace name.
Returns
an object of class GSWorkspace
Method createWorkspace()
Creates a GeoServer workspace given a name, and an optional URI. If the URI
is not specified, GeoServer will automatically create an associated Namespace
with the URI built from the workspace name. If the URI is specified, the method
invokes the method createNamespace(ns, uri) of the GSNamespaceManager.
Returns TRUE if the workspace has been successfully created, FALSE otherwise
Method updateWorkspace()
Updates a GeoServer workspace given a name, and an optional URI. If the URI
is not specified, GeoServer will automatically update the associated Namespace
with the URI built from the workspace name. If the URI is specified, the method
invokes the method updateNamespace(ns, uri) of the GSNamespaceManager.
Returns TRUE if the workspace has been successfully updated, FALSE otherwise
Method getWorkspaceSettings()
Updates workspace settings
Returns
an object of class GSWorkspaceSettings
Method createWorkspaceSettings()
Creates workspace settings
Arguments
wsworkspace name
workspaceSettingsobject of class GSWorkspaceSettings
Method updateWorkspaceSettings()
Updates workspace settings
Arguments
wsworkspace name
workspaceSettingsobject of class GSWorkspaceSettings