Home > Contents > Index >
TREEMANAGER.validatenode
Verifies that the given node is valid.
Syntax
<TREEMANAGER> <ARGUMENT NAME="ftcmd" VALUE="validatenode"/> <ARGUMENT NAME="treename" VALUE="name"/> <ARGUMENT NAME="node" VALUE="nodeid"/> </TREEMANAGER>Parameters
ftcmd (required)- Value must be set to
validatenode.
treename (required)- Name of the tree.
node (required)- ID of the node. Returns success or failure in the result code.
Description
The
validatenodecommand verifies that the given node is valid. There must exist an object table with theotypeof the node and there must be an object in that table with theoidof the node.errno
The possible values of
errnoinclude:
Value Description -3 No access privileges to table. -110 Invalid tree name. -114 Missing class type (Ifvalidateistrue). -115 Unknown object class (if validate is true).Example
<SETVAR NAME="errno" VALUE="0"/> <TREEMANAGER> <ARGUMENT NAME="ftcmd" VALUE="validatenode"/> <ARGUMENT NAME="treename" VALUE="TreetestTree2"/> <ARGUMENT NAME="node" VALUE="Variables.setme"/> </TREEMANAGER> <IF COND="IsError.Variables.errno=false"> <THEN> <BR/>success<BR/> </THEN> <ELSE> <BR/>failed<BR/> </ELSE> </IF>
Home > Contents > Index > ![]()
Oracle XML Tag Reference
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.