Uses of Class
com.flexive.shared.tree.FxTreeMode

Packages that use FxTreeMode
com.flexive.shared.interfaces Local and remote interfaces of the flexive EJB engines. 
com.flexive.shared.search Value classes for FxSQL search results. 
com.flexive.shared.search.query Utility classes for formulating queries in FxSQL. 
com.flexive.shared.tree Data objects for the tree engine. 
 

Uses of FxTreeMode in com.flexive.shared.interfaces
 

Methods in com.flexive.shared.interfaces with parameters of type FxTreeMode
 void TreeEngine.activate(FxTreeMode mode, long nodeId, boolean includeChildren, boolean activateContents)
          Activates a node - copying it from the "Edit" to the "Live" tree
 void TreeEngine.clear(FxTreeMode mode)
          Clears the requested tree and creates a new root node
 long TreeEngine.copy(FxTreeMode mode, long source, long destination, int destinationPosition, boolean deepReferenceCopy)
          Copies a node to the specified parent and the specified position.
 long[] TreeEngine.createNodes(FxTreeMode mode, long parentNodeId, int position, java.lang.String path)
          Create tree folders of the given path relative to the parent node, creating all folders stored in path if they dont exist (similar to File.mkdirs()).
 boolean TreeEngine.exist(FxTreeMode mode, long id)
          Returns true if a node with the specified id exists.
 FxTreeNode TreeEngine.findChild(FxTreeMode mode, long nodeId, FxPK pk)
          Find a (direct) child with the given PK under the node nodeId.
 FxTreeNode TreeEngine.findChild(FxTreeMode mode, long nodeId, FxReference reference)
          Find a (direct) child with the given reference under the node nodeId.
 FxTreeNode TreeEngine.findChild(FxTreeMode mode, long nodeId, long referenceId)
          Find a (direct) child with the given reference ID under the node nodeId.
 FxTreeNode TreeEngine.findChild(FxTreeMode mode, long nodeId, java.lang.String name)
          Find a (direct) child with the given name under the node nodeId.
 java.lang.String[] TreeEngine.getDatas(FxTreeMode mode, long id)
          Returns all the data to use for this node ordered by relevance.
 long TreeEngine.getIdByFQNPath(FxTreeMode mode, long startNode, java.lang.String path)
          Returns the node id specified by a FQN path thats starts from the given node.
 long TreeEngine.getIdByLabelPath(FxTreeMode mode, long startNode, java.lang.String path)
          Returns the node id specified by a label path thats starts from the given node.
 long TreeEngine.getIdByPath(FxTreeMode mode, java.lang.String path)
          Returns the node id specified by a path.
 long[] TreeEngine.getIdChain(FxTreeMode mode, long nodeId)
          Returns all ids from the given node up to the root.
 java.util.List<java.lang.String> TreeEngine.getLabels(FxTreeMode mode, FxLanguage lang, long... ids)
          Returns a list of paths made up of Caption's for the given id's.
 java.util.List<java.lang.String> TreeEngine.getLabels(FxTreeMode mode, long... ids)
          Returns a list of paths made up of Caption's for the given id's.
 FxTreeNode TreeEngine.getNode(FxTreeMode mode, long id)
          Returns the informations for a single node
 java.util.List<FxTreeNode> TreeEngine.getNodesWithReference(FxTreeMode mode, long reference)
          Returns all nodes that match the given reference.
 java.lang.String TreeEngine.getPathById(FxTreeMode mode, long nodeId)
          Returns the path for a specified id.
 java.util.List<java.lang.String> TreeEngine.getPaths(FxTreeMode mode, long... ids)
          Returns a list of paths made up of FQN's for the given id's The root node will be excluded.
 long[] TreeEngine.getReverseIdChain(FxTreeMode mode, long id)
          Returns all ids from the root down to the given node.
 FxTreeNode TreeEngine.getTree(FxTreeMode mode, long nodeId, int depth)
          Retrieves a (sub)tree, starting from the given node.
 void TreeEngine.move(FxTreeMode mode, long nodeId, long destinationId, int newPosition)
          Moves a node to the specified parent and the specified position.
 void TreeEngine.populate(FxTreeMode mode)
          Populate the tree with test data with a default 3 child nodes (folder sub-levels)
 void TreeEngine.populate(FxTreeMode mode, int maxNodeChildren)
          Populate the tree with test data with a given maximum number of node children (folder sub-levels)
 void TreeEngine.remove(FxTreeMode mode, long nodeId, FxTreeRemoveOp removeOp, boolean removeChildren)
          Remove a node and optionally its children.
 void TreeEngine.setData(FxTreeMode mode, long nodeId, java.lang.String data)
          Sets the data of the node.
 

Uses of FxTreeMode in com.flexive.shared.search
 

Methods in com.flexive.shared.search that return FxTreeMode
 FxTreeMode FxSQLSearchParams.getTreeMode()
           
 

Methods in com.flexive.shared.search with parameters of type FxTreeMode
 void FxSQLSearchParams.setTreeMode(FxTreeMode treeMode)
          Set the tree for tree queries (edit or live).
 

Uses of FxTreeMode in com.flexive.shared.search.query
 

Constructors in com.flexive.shared.search.query with parameters of type FxTreeMode
TreeValueNode(int id, long nodeId, FxTreeMode treeMode, FxString nodeLabel)
           
 

Uses of FxTreeMode in com.flexive.shared.tree
 

Fields in com.flexive.shared.tree declared as FxTreeMode
protected  FxTreeMode FxTreeNode.mode
           
 

Methods in com.flexive.shared.tree that return FxTreeMode
 FxTreeMode FxTreeNode.getMode()
          Get the tree mode (live or edit)
 FxTreeMode FxTreeNodeEdit.getOriginalMode()
          If the mode was altered, this method will return the original mode
static FxTreeMode FxTreeMode.valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static FxTreeMode[] FxTreeMode.values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 

Methods in com.flexive.shared.tree with parameters of type FxTreeMode
 FxTreeNodeEdit FxTreeNodeEdit.setMode(FxTreeMode mode)
          Set the tree mode
 

Constructors in com.flexive.shared.tree with parameters of type FxTreeMode
FxTreeNode(FxTreeMode mode, FxLock lock, long id, long parentNodeId, FxPK reference, LifeCycleInfo referenceLifeCycleInfo, long referenceTypeId, java.util.List<java.lang.Long> acls, java.lang.String name, java.lang.String path, FxString label, int position, java.util.List<FxTreeNode> children, java.util.List<java.lang.Long> childIds, int depth, int directChildCount, boolean leaf, boolean dirty, long modifiedAt, java.lang.String data, boolean mayEdit, boolean mayCreate, boolean mayDelete, boolean mayRelate, boolean mayExport)
          Ctor