Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • pccCreate

  • pccGetUdr

  • pccGetUdrList

pccCreate

This function creates a data set object that can be used with the pccGetUdr and pccGetUdrList functions described below.

Code Block
any pccCreate( string  area )

Parameters

ParameterDescription

area

The name of the area which the function is operating against.

Returns:

A data set object that can be used with the pccGetUdr or pccGetUdrList functions.

...

Info
titleExample


Code Block
pccCreate("PROD");

will create a data set object that can be used with the pccGetUdr and pccGetUdrList functions against the PROD area.

pccGetUdr

Retrieves a specific UDR based on the stated UDR type and key.

Code Block
drudr pccGetUdr( string typename, any key [, any dataset] )

Parameters

ParameterDescription

typename

The fully qualified typename of the requested UDR.

key

The reference to the requested UDR

dataset

The data set object that you want to use for retrieving the UDR. This field is optional, and if it is not used, the data set that was used last will be used for the retrieval.

Returns:

The matching UDR or null if no matching UDR was found.

...

Info
titleExample


Code Block
pccGetUdr ("PCC.Products.Provisioning.Notification", 50);

will retrieve a UDR of the type PCC.Products.Provisioning.Notification with the key 50 .

pccGetUdrList

Retrieves a list with all the UDRs with the stated UDR type.

Code Block
list<drudr> pccGetUdrList( string typename [, any dataset] )

Parameters

ParameterDescription

typename

The fully qualified UDR typename of the requested UDRs.

dataset

The data set object that you want to use for retrieving the UDRs. This field is optional, and if it is not used, the data set that was used last will be used for the retrieval.

Returns:

A list containing all the UDRs of the requested type.

...