Functions to Populate and Maintain the Cross-Reference and DVMs

Three types of functions are available to query and maintain the DVM and cross-reference data during the transformation process.

Field or Control

Definition

Application Class methods

Application class methods are used in PeopleCode. These classes are typically used in cases in which the transformations are implemented as a PeopleCode step in an application engine program. These PeopleCode classes are used internally by the XPATH extension functions and by the web services.

XPath extension functions

XPath extension functions are used in the XSLT steps in application engine transform programs to invoke XSLT transforms using the TransformEx PeopleCode API.

Web services

Used by external systems to perform cross-reference lookups.

These functions enable you to query, manipulate, and delete cross-reference (XREF) and DVM data during transforms. The cardinality of the function is incorporated into the API naming convention. Each set of functions can be further broken down into three activities: lookup, populate, and delete.

The provided functions by class, activity, and form are:

Class

Activity

Form

Description

XREF

Populate

populateValue

Populate a transform item for a single valued element.

XREF

Populate

populateValue1M

Populate a transform element for a 1 to many mapping.

XREF

Populate

populateValueNVP

Populate a transform item for a multivalued element.

XREF

Delete

markForDelete

Mark for deletion a transform element for a single valued element. Items marked for delete can be reactivated later.

XREF

Delete

markForDeleteNVP

Mark for deletion a transform element for a multivalued element (name value pair).

XREF

Lookup

lookupValue

Look up a cross-reference value.

XREF

Lookup

lookupValue1M

Look up a cross-reference element for multiple values corresponding to a specific value in a reference element (1 to many).

XREF

Lookup

lookupValueNVP

Look up a cross-reference value for a multivalued element.

DVM

Lookup

lookupValue

Look up a domain value.

DVM

Lookup

lookupValue1M

Look up multiple domain values corresponding to a specific value in a reference element.

DVM

Lookup

lookupValueNVP

Look up a domain value for a multivalued element.

DVM

Lookup

lookup-dvm

Look up a domain value.