21.7 SDO_CSW_PROCESS.InsertDomainInfo

Format

SDO_CSW_PROCESS.InsertDomainInfo(
    recordTypeId  IN NUMBER, 
    propertyName  IN VARCHAR2, 
    parameterName IN VARCHAR2, 
    pValue        IN MDSYS.STRINGLIST);

Description

Inserts ___domain information related to a record type.

Parameters

recordTypeId

ID of the record type

propertyName

Name of a ___domain property.

parameterName

Name of a ___domain parameter

pValue

An array of strings containing parameter values for parameterName. The MDSYS.STRINGLIST type is defined as VARRAY(1000000) OF VARCHAR2(4000).

Usage Notes

For information about support for Catalog Services for the Web, see Catalog Services for the Web (CSW) Support.

Examples

The following example inserts ___domain information for the record type named Record.

DECLARE
  rtId NUMBER;
BEGIN
  rtId := SDO_CSW_PROCESS.getRecordTypeId(
    'http://www.opengis.net/cat/csw', 'Record');
  SDO_CSW_PROCESS.insertDomainInfo(rtId,
    null,
    'GetRecords.resultType',
    MDSYS.STRINGLIST('hits', 'results', 'validate'));
END;
/