| |
|
| java.lang.Object com.flexive.shared.tree.FxTreeNode com.flexive.shared.tree.FxTreeNodeEdit
FxTreeNodeEdit | public class FxTreeNodeEdit extends FxTreeNode implements Serializable(Code) | | Editable tree node.
Make a tree node editable by invoking its #asEditable() method
author: Markus Plesser (markus.plesser@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at) See Also: FxTreeNode.asEditable |
FxTreeNodeEdit | public FxTreeNodeEdit(FxTreeNode node)(Code) | | Ctor
Parameters: node - the tree node to make editable |
activate | public FxTreeNodeEdit activate(boolean includeChildren)(Code) | | Prepare this node for activation
Parameters: includeChildren - activate all children as well? this |
clearReference | public FxTreeNodeEdit clearReference()(Code) | | Clear the reference, setting it to null
this |
createNew | public static FxTreeNodeEdit createNew(String name)(Code) | | Create a new node with the given name
Parameters: name - name of the node editable tree node |
createNewChildNode | public static FxTreeNodeEdit createNewChildNode(FxTreeNode parentNode)(Code) | | Create a new editable node that will be the child of the passed node.
Some assumptions are made: the ACL of the new node is the one of the parent node and the calling user has full access to the referenced content
Parameters: parentNode - parent node editable node |
getOriginalMode | public FxTreeMode getOriginalMode()(Code) | | If the mode was altered, this method will return the original mode
original mode |
isActivateWithChildren | public boolean isActivateWithChildren()(Code) | | Activate with children?
activate with children? |
isNew | public boolean isNew()(Code) | | Is this editable tree node for a new or an already existing node?
if this editable tree node is for a new or an already existing node |
setParentNodeId | public FxTreeNodeEdit setParentNodeId(long parentNodeId)(Code) | | Set the id of the parent node
Parameters: parentNodeId - id of the parent node this |
setPosition | public FxTreeNodeEdit setPosition(int position)(Code) | | Set this nodes position
Parameters: position - new position this |
setReference | public FxTreeNodeEdit setReference(FxPK reference)(Code) | | Set the referenced content
Parameters: reference - referenced content this |
setTemplate | public void setTemplate(String template)(Code) | | Set the template
Parameters: template - template |
|
|
|