Share via


SysTreeNode Class [AX 2012]

The SysTreeNode class is a framework class. Customizing this class may cause problems with future upgrades to the software.

Syntax

class SysTreeNode extends SysVersionControllableBase implements SysMergeable

Run On

Called

Methods

  Method Description
Gg966505.pubmethod(en-us,AX.60).gif addNewFile Creates a new file that is associated with this object. (Inherited from SysVersionControllableBase.)
Gg966505.pubmethod(en-us,AX.60).gif allowCheckIn (Overrides the allowCheckIn Method.)
Gg966505.pubmethod(en-us,AX.60).gif allowCreate (Overrides the allowCreate Method.)
Gg966505.pubmethod(en-us,AX.60).gif allowLockDuringCheckIn (Overrides the allowLockDuringCheckIn Method.)
Gg966505.pubmethod(en-us,AX.60).gif allowMultipleCheckout (Overrides the allowMultipleCheckout Method.)
Gg966505.pubmethod(en-us,AX.60).gif aotGetPropertiesExt
Gg966505.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg966505.pubmethod(en-us,AX.60).gif canCreate Checks whether an item can be created in the source control. (Overrides the canCreate Method.)
Gg966505.pubmethod(en-us,AX.60).gif canMergeDeleteSubnodes
Gg966505.pubmethod(en-us,AX.60).gif canMergeInsertSubnodes
Gg966505.pubmethod(en-us,AX.60).gif comparableName
Gg966505.pubmethod(en-us,AX.60).gif comparableTextList
Gg966505.protmethod(en-us,AX.60).gif comparableTextListCode
Gg966505.protmethod(en-us,AX.60).gif comparableTextListProperties
Gg966505.protmethod(en-us,AX.60).gif comparableTextListSubnodes
Gg966505.privmethod(en-us,AX.60).gif compareCurrentLayerOnly
Gg966505.pubmethod(en-us,AX.60).gif delete (Overrides the delete Method.)
Gg966505.pubmethod(en-us,AX.60).gif deleteFile Deletes the file that is associated with this object. (Inherited from SysVersionControllableBase.)
Gg966505.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg966505.pubmethod(en-us,AX.60).gif fileExtension (Overrides the fileExtension Method.)
Gg966505.pubmethod(en-us,AX.60).gif findMatchingComparable
Gg966505.pubmethod(en-us,AX.60).gif forceSynchronize (Overrides the forceSynchronize Method.)
Gg966505.pubmethod(en-us,AX.60).gif fromFile (Overrides the fromFile Method.)
Gg966505.pubmethod(en-us,AX.60).gif getEnumerator
Gg966505.pubmethod(en-us,AX.60).gif getOriginalSysTreenode
Gg966505.pubmethod(en-us,AX.60).gif getOriginalTreenode
Gg966505.pubmethod(en-us,AX.60).gif getProperty
Gg966505.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg966505.pubmethod(en-us,AX.60).gif getVCSModelId Gets the model ID, which is used to construct the file name path in the version control system.
Gg966505.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg966505.pubmethod(en-us,AX.60).gif hasOrdering
Gg966505.pubmethod(en-us,AX.60).gif hasProperty
Gg966505.protmethod(en-us,AX.60).gif isListOfChildrenFixed
Gg966505.pubmethod(en-us,AX.60).gif isNewNameValid Indicates whether the new name of the element is valid. (Overrides the isNewNameValid Method.)
Gg966505.pubmethod(en-us,AX.60).gif isPropertyReadOnly
Gg966505.pubmethod(en-us,AX.60).gif mergeDeleteSubnode
Gg966505.pubmethod(en-us,AX.60).gif mergeInsertSubnode
Gg966505.pubmethod(en-us,AX.60).gif mergeText
Gg966505.protmethod(en-us,AX.60).gif mergeTextNode
Gg966505.pubmethod(en-us,AX.60).gif name
Gg966505.protmethod(en-us,AX.60).gif new Initializes a new instance of the SysTreeNode class.
Gg966505.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
Gg966505.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
Gg966505.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg966505.pubmethod(en-us,AX.60).gif onCheckOut (Overrides the onCheckOut Method.)
Gg966505.pubmethod(en-us,AX.60).gif onComparableFocus
Gg966505.pubmethod(en-us,AX.60).gif onComparableSelected
Gg966505.pubmethod(en-us,AX.60).gif onUndoCheckOut (Overrides the onUndoCheckOut Method.)
Gg966505.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg966505.pubmethod(en-us,AX.60).gif parmTreeNode Gets or sets the TreeNode parameter.
Gg966505.pubmethod(en-us,AX.60).gif preAddAction Executes an action before an add operation. (Overrides the preAddAction Method.)
Gg966505.pubmethod(en-us,AX.60).gif preCheckInUpdate (Overrides the preCheckInUpdate Method.)
Gg966505.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg966505.pubmethod(en-us,AX.60).gif suppressIDPropertyDuringCompare Controls whether a comparison will include the ID property.
Gg966505.pubmethod(en-us,AX.60).gif toFile (Overrides the toFile Method.)
Gg966505.pubmethod(en-us,AX.60).gif toString
Gg966505.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
Gg966505.pubmethod(en-us,AX.60).gif versionControlFilePath (Overrides the versionControlFilePath Method.)
Gg966505.pubmethod(en-us,AX.60).gif versionControlItemPath (Overrides the versionControlItemPath Method.)
Gg966505.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg966505.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::aotStructApplObjectPathMap
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::applObjectName
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::applObjectPath
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::applObjectPathDoublePathDelimitersMap
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::applObjectPathSet
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::applObjectPathTypeMap
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::applObjectTypePathMap
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::canEdit
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::codeIsSource This function checks whether the UtilElementType class that is passed has a text source in the node.
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::construct Initializes a new instance of the SysTreeNode class.
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::copyNode
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::createProject
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::duplicatePathDelimiters
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::existsInLayer Checks whether an item exists in the given layer
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::findMatchingOriginal
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::findNodeInLayer
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::getFirstModelIdFromSubElements Finds the first child element in the specified layer and retrieves the model ID for the model to which that element belongs.
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::getHighestLayer Gets the highest layer in which the tree node exists.
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::getLayer Gets a layer of a specified tree node.
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::getLayeredNode Gets the version of a Treenode class from the layer stack.
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::getLayeredNodeMap Builds a map with the layer stack.
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::getNode
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::getPath
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::getPrivateProject
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::getRootElement Gets the root element of a tree node.
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::getRootElementPath Gets the path of the root element of a tree node.
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::getSharedProject
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::getVCSControllableElement Returns the VCS controllable element for a tree node.
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::hasID
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::hasLegacyID Indicates whether the specified tree node is expected to have a legacy ID.
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::hasSource Checks whether the _treeNode parameter that is passed has X++ code or any text source in the node.
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::isNodeInLayer
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::isNodeInPatchLayer
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::isPatchLayer
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::isProject
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::isSourceText Indicates whether the specified UtilElementType object has a text source in the node.
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::isType
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::isUnwanted
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::modelElement2Path Constructs a tree node path for a model element.
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::modelElement2RootElementPath Constructs the tree node path of a root element for a model element.
Gg966505.privmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::modelElementRecId2Path
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::newTreeNode Creates a new SysTreeNode instance.
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::newTreeNodePath
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::nodeInLayer Retrieves the specified tree node in the specified layer.
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::numOfLayers
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::path2ApplObjectName
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::path2ApplObjectType
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::path2Image
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::path2ProjectGroupNodeType
Gg966505.privmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::pathDoublePathDelimitersMap
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::pathName
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::pathParent
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::pathProjectGroupNodeTypeMap
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::refreshAll
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::supportsGranularVcsOperations Indicates whether the granular source control operations are supported on the given tree node path
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::treeNodePath2FilePath
Gg966505.pubmethod(en-us,AX.60).gif Gg966505.static(en-us,AX.60).gif ::treeNodesWithSource

Top

Remarks

Note

Many of the SysTreeNode methods can delete or modify Microsoft Dynamics AX. Therefore, these methods pose a security risk. No direct user input should be passed to these methods. Whenever possible use the equivalent methods in the SysDict classes instead of the SysTreeNode methods to make sure that they have read-only access.

Inheritance Hierarchy

Object Class
  SysVersionControllableBase Class
    SysTreeNode Class
      SysTreeNodeDelayLoaded Class
      SysTreeNodeVirtual Class
      SysTreeNodeVSItem Class
      SysTreeNodeVSProject Class
      SysUpgradeTreenode Class