Home > Contents > Index > 
Expanded TOC | Accordion TOC | Annotated TOC | Index 
ICS.TreeManager
Executes a
TreeManagercommand.This method has two variants:
- TreeManager (Variant 1) executes
TreeManagercommands.- TreeManager (Variant 2) executes
TreeManagercommands and accepts a handle for theBatchContextobject.For more information on the various
TreeManagercommands, see the TreeManager command in the Sites Developer's Tag Reference.Several
TREEMANAGERcommands (addchild,addchildren,findnode,getchildren,getnode,getparent,listtrees, andnodepath) return a list. Each of those commands has atreenameargument. The name of the returned list is the value passed as the treename argument.The following columns are common to every list returned by a
TreeManagercommand:
nidnparentidnrankotypeoidoversionncode
ICS.TreeManager
Use this method to execute a TreeManager command. A list of available commands follows:
addchilddelchildrengetnodenodepathaddchildrendeletetreegetparentsetobjectcopychildfindnodelisttreesvalidatenodecreatetreegetchildrenmovechildverifypathdelchild
For more information on the various TreeManager commands, see the TreeManager command in the Sites Developer's Tag Reference.
Syntax
public boolean TreeManager(FTValList vIn)Parameters
vIn- List of name/value pairs passed to TreeManager. The
ftcmdparameter is required and specifies the specific TreeManager command to execute. Any other parameters depend on the TreeManager command. Anullindicates using existing variables.Returns
Returns
trueif TreeManager was invoked successfully.Error Numbers
Use
to check the results of the specific TreeManager command.GetErrno()Example
// add node ics.ClearErrno(); inList.removeAll(); inList.setValString("ftcmd", "addchild"); inList.setValString("treename", treeTable); inList.setValString(Msg.parentnode, node); inList.setValString(Msg.classType, topicTable); inList.setValString(Msg.classId, newId); ics.TreeManager(inList); ics.GetErrno();
ICS.TreeManager
Use this method to execute a TreeManager command.
Syntax
public boolean TreeManager(FTValList vIn, Object oBatchContext)Parameters
vIn- List of name/value pairs passed to TreeManager. The
ftcmdparameter is required and specifies the specific TreeManager command to execute. Any other parameters depend on theTreeManagercommand. Anullindicates using existing variables.
oBatchContext- A handle for the
BatchContextobject.Description
Use this method to execute a TreeManager command. This variant accepts a
BatchContextobject. The following lists the TreeManager commands that acceptBatchContextobjects:
addchild
addchildren
deletechild
deletechildrenReturns
Returns
trueif TreeManager was invoked successfully.Error Numbers
Use
to check the results of the specific TreeManager command.GetErrno()
Home > Contents > Index > 
Oracle JAVA Reference
Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.