Oracle9iAS Portal Developer Kit

get_local_node_id function

Contained in package wwpro_api_node_registry.

Call this function to return the node ID of the local node.

function get_local_node_id

return integer;

Any user can use this function.

Version: Oracle Portal 3.0.6.6.5 or later

Returns:

The ID of the local node.

Exceptions:

  • If the local node is not found, LOCAL_NODE_NOT_FOUND_EXCEPTION is raised.

  • If an error occurs when retrieving the local node, NODE_RETRIEVAL_EXCEPTION is raised.

Note: This API adds error messages to the error stack raising an exception. This allows users to interrogate the error stack if a problem occurs.

Example:

l_node_id := wwpro_api_node_registry.get_local_node_id;

Related topics

The PL/SQL API Reference is part of the Portal Developer Kit on Portal Studio