Uses of Interface
info.magnolia.nodebuilder.NodeOperation

Packages that use NodeOperation
info.magnolia.nodebuilder   
info.magnolia.nodebuilder.task   
 

Uses of NodeOperation in info.magnolia.nodebuilder
 

Classes in info.magnolia.nodebuilder that implement NodeOperation
 class AbstractNodeOperation
          Abstract implementation of NodeOperation.
 class RecursiveOp
          Visits the hierarchy recursively and executes the operations on all nodes matching the filter.
 

Methods in info.magnolia.nodebuilder that return NodeOperation
static NodeOperation Ops.addNode(String name)
           
static NodeOperation Ops.addNode(String name, ItemType type)
           
static NodeOperation Ops.addNode(String name, String type)
           
static NodeOperation Ops.addProperty(String name, Object value)
          Adds a currently non-existing property.
static NodeOperation Ops.copyNode(String nodeName, String dest)
          Copies a node, using session-scoped operation.
static NodeOperation ContentOps.createCollectionNode(String name)
           
static NodeOperation ContentOps.createContent(String name, ItemType type)
           
static NodeOperation ContentOps.createPage(String name, String template)
           
static NodeOperation ContentOps.createParagraph(String name, String template)
           
static NodeOperation Ops.getNode(String name)
           
static NodeOperation Ops.moveNode(String nodeName, String dest)
          Moves a node, using session-scoped operation.
static NodeOperation Ops.noop()
          No operation; can be useful in ternary expression, for instance.
static NodeOperation Ops.onChildNodes(Content.ContentFilter filter, NodeOperation... childrenOps)
          Executes the operation for each child node matching the filter.
static NodeOperation Ops.onChildNodes(ItemType type, NodeOperation... childrenOps)
          Executes the operation for each child node of a certain type.
static NodeOperation Ops.onChildNodes(NodeOperation... childrenOps)
          Executes the operation for each child node excluding meta data and jcr base node.
static NodeOperation Ops.onChildNodes(String type, NodeOperation... childrenOps)
          Executes the operation for each child node of a certain type.
static NodeOperation RecursiveOp.recursive(Content.ContentFilter filter, NodeOperation... childrenOps)
           
static NodeOperation RecursiveOp.recursive(ItemType type, NodeOperation... childrenOps)
          Visits the hierarchy recursively and executes the operations on all nodes matching a certain type.
static NodeOperation RecursiveOp.recursive(NodeOperation... childrenOps)
          Visits the hierarchy recursively and executes the operations on all nodes excluding meta data and jcr base nodes.
static NodeOperation RecursiveOp.recursive(String type, NodeOperation... childrenOps)
          Visits the hierarchy recursively and executes the operations on all nodes matching a certain type.
static NodeOperation Ops.remove(String name)
          Can remove either a node or property.
static NodeOperation Ops.renameNode(String currentName, String newName)
          Renames a node.
static NodeOperation Ops.renameProperty(String name, String newName)
          Renames a property by creating a new one and copying the value.
static NodeOperation ContentOps.setBinaryNodeData(String name, String fileName, long size, InputStream inputStream)
           
static NodeOperation ContentOps.setNodeData(String name, Object value)
           
static NodeOperation Ops.setProperty(String name, Object newValue)
          Sets the value of an existing property, ignoring its current value.
static NodeOperation Ops.setProperty(String name, Object expectedCurrentValue, Object newValue)
          Sets the value of an existing property, only if the actual current value matches the given expected current value.
static NodeOperation ContentOps.setTemplate(String template)
           
 NodeOperation NodeOperation.then(NodeOperation... childrenOps)
           
 NodeOperation AbstractNodeOperation.then(NodeOperation... childrenOps)
           
 

Methods in info.magnolia.nodebuilder with parameters of type NodeOperation
static void NodeBuilderUtil.build(String repository, NodeOperation... ops)
           
static void NodeBuilderUtil.build(String repository, String rootPath, NodeOperation... ops)
           
static NodeOperation Ops.onChildNodes(Content.ContentFilter filter, NodeOperation... childrenOps)
          Executes the operation for each child node matching the filter.
static NodeOperation Ops.onChildNodes(ItemType type, NodeOperation... childrenOps)
          Executes the operation for each child node of a certain type.
static NodeOperation Ops.onChildNodes(NodeOperation... childrenOps)
          Executes the operation for each child node excluding meta data and jcr base node.
static NodeOperation Ops.onChildNodes(String type, NodeOperation... childrenOps)
          Executes the operation for each child node of a certain type.
static NodeOperation RecursiveOp.recursive(Content.ContentFilter filter, NodeOperation... childrenOps)
           
static NodeOperation RecursiveOp.recursive(ItemType type, NodeOperation... childrenOps)
          Visits the hierarchy recursively and executes the operations on all nodes matching a certain type.
static NodeOperation RecursiveOp.recursive(NodeOperation... childrenOps)
          Visits the hierarchy recursively and executes the operations on all nodes excluding meta data and jcr base nodes.
static NodeOperation RecursiveOp.recursive(String type, NodeOperation... childrenOps)
          Visits the hierarchy recursively and executes the operations on all nodes matching a certain type.
 NodeOperation NodeOperation.then(NodeOperation... childrenOps)
           
 NodeOperation AbstractNodeOperation.then(NodeOperation... childrenOps)
           
 

Constructors in info.magnolia.nodebuilder with parameters of type NodeOperation
NodeBuilder(Content root, NodeOperation... childrenOps)
           
NodeBuilder(ErrorHandler errorHandler, Content root, NodeOperation... childrenOps)
           
RecursiveOp(Content.ContentFilter filter, NodeOperation[] childrenOps)
          Visits the hierarchy recursively and executes the operations on all nodes matching the filter.
 

Uses of NodeOperation in info.magnolia.nodebuilder.task
 

Constructors in info.magnolia.nodebuilder.task with parameters of type NodeOperation
AbstractNodeBuilderTask(String name, String description, ErrorHandling errorHandling, NodeOperation... operations)
           
ModuleConfigNodeBuilderTask(String name, String description, ErrorHandling errorHandling, NodeOperation... operations)
           
ModuleNodeBuilderTask(String name, String description, ErrorHandling errorHandling, NodeOperation... operations)
           
NodeBuilderTask(String taskName, String description, ErrorHandling errorHandling, String workspaceName, NodeOperation... operations)
           
NodeBuilderTask(String taskName, String description, ErrorHandling errorHandling, String workspaceName, String rootPath, NodeOperation... operations)
           
 



Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.