\GnGetUUIDOfRecordByIDCommand
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 GnGetUUIDOfRecordByIDCommand
extends GnAuthenticationCommand
{
- // members
- public static string $api_url = 'srv/en/xml.metadata.get?';
- public static boolean $RequireAuth = true;
- public static string $xsl_path = '../geocatalogue/xslt/gnParseUUID.xsl';
- private string $username = '';
- private string $password = '';
- // methods
- public static void get_api_url()
- public static void set_api_url()
- public static void get_xsl_path()
- public static void set_xsl_path()
- 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 |
---|---|
86 | better error handling |
Members
private
- $password
- $username
public
- $RequireAuth
- $api_url — string
- $xsl_path
Methods
public
- execute() — Command execute
- get_api_url()
- get_xsl_path()
- set_api_url()
- set_xsl_path()
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.