MatrixTreeNode
is a tree node that uniqually identifies an Asset in its specific location in the tree. An MatrixTreeNode
is identified by an asset and a linkid
- Author
- Marc McIntyre mmcin.nosp@m.tyre.nosp@m.@squi.nosp@m.z.ne.nosp@m.t
Definition at line 32 of file MatrixTreeNode.java.
MatrixTreeNode |
( |
Asset |
asset, |
|
|
String |
linkid, |
|
|
int |
linkType, |
|
|
String |
url, |
|
|
String |
webPath, |
|
|
String |
name, |
|
|
int |
sort_order |
|
) |
| |
|
inline |
Constructs a new Asset Tree Node and sets the user object to the specified asset
- Parameters
-
asset | the asset that represents this node |
linkid | the linkid of this node |
Definition at line 61 of file MatrixTreeNode.java.
Returns the asset that represents this node
- Returns
- the asset
Definition at line 97 of file MatrixTreeNode.java.
Returns a comma separated list of assetids from the root node where this node is the last assetid in the list
- Parameters
-
node | the node of the wanted asset path |
- Returns
- the command separated asset path
- See Also
- getLinkPath()
Definition at line 201 of file MatrixTreeNode.java.
Returns the linkid to the parent asset of this node
- Returns
- the linkid
Definition at line 114 of file MatrixTreeNode.java.
Returns a comma separated list of linkids from the root node where this node is the last linkid in the list
- Parameters
-
node | the tree node of the wanted link path |
- Returns
- the link path for the specifed tree node
- See Also
- getAssetPath()
Definition at line 217 of file MatrixTreeNode.java.
Returns the preview URL of this node
- Returns
- the preview URL of this node
Definition at line 141 of file MatrixTreeNode.java.
boolean hasChildWithLinkid |
( |
String |
linkid | ) |
|
|
inline |
Returns TRUE if this node has a child with the specified linkid. It is not possible for a MatrixTreeNode to have more than 1 child with the same linkid
- Parameters
-
linkid | the linkid of the child to chech for |
- Returns
- TRUE if this node has a child with the specified linkid
Definition at line 158 of file MatrixTreeNode.java.
boolean hasPreviousNode |
( |
| ) |
|
|
inline |
Return true if this node has previous node as its first child
Definition at line 229 of file MatrixTreeNode.java.
Returns TRUE if this node is a leaf
- Returns
- TRUE if this node is a leaf
Definition at line 127 of file MatrixTreeNode.java.
The documentation for this class was generated from the following file:
- /Users/webmaster/Desktop/squiz_matrix/core/lib/asset_map/java/src/net/squiz/matrix/matrixtree/MatrixTreeNode.java