Skip to contents

The function GNManager$new will set-up the right Geonetwork manager depending on the GeoNetwork version specified by the user. For the time-being, GeoNetwork with version < 4 will be interfaced with the GeoNetwork legacy API (see detailed documentation at GNLegacyAPIManager), while starting with GeoNetwork 3.2, the new GeoNetwork OpenAPI will be used.

Format

R6Class object.

Value

Object of R6Class with methods for communication with the API of a GeoNetwork instance.

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Super class

geonapi::GNAbstractManager -> GNManager

Methods

Inherited methods


Method new()

Initializes a GNManager

Usage

GNManager$new(url, user = NULL, pwd = NULL, version, logger = NULL)

Arguments

url

url

user

user

pwd

pwd

version

version

logger

logger


Method clone()

The objects of this class are cloneable with this method.

Usage

GNManager$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

# \dontrun{
   GMManager$new("http://localhost:8080/geonetwork", "admin", "geonetwork", "3.0.0")
#> Error in eval(expr, envir, enclos): object 'GMManager' not found
# }