Overview | Package | Object Type | Deprecated | Index | Help
| Oracle9iAS Portal PL/SQL API Reference - 9.0.2.6
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES
SUMMARY: EXCEPTION | TYPE | CONSTANT | VARIABLE | FUNCTION/PROCEDURE | DETAIL: EXCEPTION | TYPE | CONSTANT | VARIABLE | FUNCTION/PROCEDURE

## Package wwpro_api_node_registry

This package contains a method that returns the ID of the local node.

Scope:
  Public
Since:
  Oracle Portal 3.0.6.6.5

Exception Summary
`LOCAL_NODE_NOT_FOUND` The local node could not be found.
`NODE_ID_GENERATION_EXCEPTION` An error occurred when attempting to generate a node ID.
`NODE_RETRIEVAL_EXCEPTION` An error occurred when retrieving the node.
`NODE_VALIDATION_EXCEPTION` Deprecated. Oracle Portal 9.0.2 or later

Constant Summary
`ENABLE_DISTRIBUTION_NO` Deprecated. Oracle Portal 9.0.2 or later | `number`
`ENABLE_DISTRIBUTION_YES` Deprecated. Oracle Portal 9.0.2 or later | `number`
`NODE_TYPE_DISTRIBUTED` Deprecated. Oracle Portal 9.0.2 or later | `number`
`NODE_TYPE_LOCAL` Deprecated. Oracle Portal 9.0.2 or later | `number`

Function/Procedure Summary
`get_local_node_id` Returns the ID of the local node. | `integer`

Exception Detail

### LOCAL_NODE_NOT_FOUND

    LOCAL_NODE_NOT_FOUND exception

  The local node could not be found.

### NODE_ID_GENERATION_EXCEPTION

    NODE_ID_GENERATION_EXCEPTION exception

  An error occurred when attempting to generate a node ID.

### NODE_RETRIEVAL_EXCEPTION

    NODE_RETRIEVAL_EXCEPTION exception

  An error occurred when retrieving the node.

### NODE_VALIDATION_EXCEPTION

    NODE_VALIDATION_EXCEPTION exception

  Deprecated. Oracle Portal 9.0.2 or later

Constant Detail

### ENABLE_DISTRIBUTION_NO

    ENABLE_DISTRIBUTION_NO constant number := 0

  Deprecated. Oracle Portal 9.0.2 or later

### ENABLE_DISTRIBUTION_YES

    ENABLE_DISTRIBUTION_YES constant number := 1

  Deprecated. Oracle Portal 9.0.2 or later

### NODE_TYPE_DISTRIBUTED

    NODE_TYPE_DISTRIBUTED constant number := 0

  Deprecated. Oracle Portal 9.0.2 or later

### NODE_TYPE_LOCAL

    NODE_TYPE_LOCAL constant number := 1

  Deprecated. Oracle Portal 9.0.2 or later

Function/Procedure Detail

### get_local_node_id

    function get_local_node_id
    return integer

  Returns the ID of the local node.

  Any user can use this function.

         l_node_id := wwpro_api_node_registry.get_local_node_id;

  Returns:
    the ID of the local node
  Exceptions:
    `LOCAL_NODE_NOT_FOUND` - if the local node is not found
    `NODE_RETRIEVAL_EXCEPTION` - if an error occurs when retrieving the local node
  Since:
    Oracle Portal 3.0.6.6.5

Overview | Package | Object Type | Deprecated | Index | Help
| Oracle9iAS Portal PL/SQL API Reference - 9.0.2.6
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES
SUMMARY: EXCEPTION | TYPE | CONSTANT | VARIABLE | FUNCTION/PROCEDURE | DETAIL: EXCEPTION | TYPE | CONSTANT | VARIABLE | FUNCTION/PROCEDURE