ProjWBSTree Class [AX 2012]
The ProjWBSTree class is internal class that represents tree of Work breakdown structure task nodes.
| Method | Description | |
|---|---|---|
| activityNumberToElementNumber | Returns an ElementNumber object that corresponds to the given smmActivityNumber. |
| addChild | Adds a child node to the project WBS tree. |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| cleanupChildrenAfterDelete | Cleans up in-memory representation of the hierarchy. |
| cleanupPredecessorsAfterDelete | Cleans up dependencies in memory after deleting hierarchy from memory and DB. |
| elementNumberToActivityNumber | Gets the activity number that corresponds to the given element number. |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| expandUpToInTree | Expands the tree up to the given level. |
| failIfNotFound | |
| getChildrenOf | Gets a list of children for the given ElementNumber object. |
| getListOfElementNumbersOfSubtreeNodes | |
| getNodeByActivityNumber | Gets a node by its activity number. |
| getNodeByElementNumber | Gets a node by its element number. |
| getNodes | Gets map of ElementNumber to ProjWBSTreeNode which contains all tree nodes. |
| getNumberOfChildren | Gets the number of children. |
| getParentNodeOf | Gets the parent node of an element. |
| getPath | Gets the HierarchyPath to the given element. |
| getPredecessorNodes | Obsolete Method. |
| getPreviousSibling | Gets the previous sibling of a node. |
| getSiblingsOf | Gets the siblings of a node. |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| hasChildren | test if the element has any children. |
| hasNode | Checks if tree has a node. |
| hierarchyId | Gets hierarchy ID. |
| initPSAActivitySetupFromProjTable | |
| initPSAActivitySetupFromSalesQuotTable | |
| insertNewNode | Inserts a new node in the tree. |
| isNodeExpanded | Checks if a node is expanded. |
| isQuotation | Checks if this is a quotation. |
| isRoot | Checks if the node is a root node. |
| loadSubTree | Reloads project WBS sub-tree from database into memory. |
| loadTreeFromDatabase | Loads a WBS tree from the database. |
| maxChildEndDate | Gets the maximum end date for children of the given node. |
| maxChildSiblingNumber | Gets the maximum sibling number of the children of the given node. |
| minChildStartDate | Gets the earliest start date of all children nodes. |
| moveChildrenFromNodeToNode | Moves children nodes from specified node starting at specified sibling number. |
| new | Creates a new ProjWBSTree. |
| notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) |
| notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) |
| objectOnServer | Determines whether the object is on a server. (Inherited from Object.) |
| owner | Returns the instance that owns the object. (Inherited from Object.) |
| processRoot | |
| pruneSubTree | This method allows unloading resources associated with a sub-tree when its root is collapsed. |
| reInsertNode | Reinserts a node into the tree. |
| removeChild | Removes a child from a WBS tree. |
| rootElementNumber | Gets the root element number. |
| setChildrenOf | |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| swapWithNextSibling | Swaps node with its next sibling. |
| swapWithPreviousSibling | Swaps node with its previous sibling. |
| toString | Returns a string that represents the current object. (Inherited from Object.) |
| usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
Community Additions
ADD
Show: