\GetRecordByIdCommand
Retrieve the full metadata record of a specific record from the GeoNetwork node.
This command sends a request to the GeoNetwork node to retrieve a single metadata
record. It returns a XML string which is the plain XML catalogue response.
Synopsis
class GetRecordByIdCommand
extends GnAuthenticationCommand
{
- // members
- public static string $catalogue_url = 'srv/en/csw';
- // methods
- public static void get_catalogue_url()
- public static void set_catalogue_url()
- public string execute()
- // Inherited methods from GnAuthenticationCommand
- public void setUsername()
- public string getUsername()
- public void setPassword()
- public string getPassword()
- public void execute()
Hierarchy
Extends
Tasks
Line | Task |
---|---|
61 | better error handling |
Members
public
- $catalogue_url
Methods
public
- execute() — Command execute
- get_catalogue_url()
- set_catalogue_url()
Inherited from GnAuthenticationCommand
public
- execute()
- getPassword() — Returns password for GeoNetwork authentication.
- getUsername() — Returns username for GeoNetwork authentication.
- setPassword() — Sets password for GeoNetwork authentication.
- setUsername() — Sets username for GeoNetwork authentication.