info.magnolia.nodebuilder
Class ContentOps
java.lang.Object
info.magnolia.nodebuilder.ContentOps
public class ContentOps
- extends java.lang.Object
A set of methods to build NodeOperation
s using the same tems as the Content API.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContentOps
public ContentOps()
createContent
public static NodeOperation createContent(java.lang.String name,
ItemType type)
createPage
public static NodeOperation createPage(java.lang.String name,
java.lang.String template)
createCollectionNode
public static NodeOperation createCollectionNode(java.lang.String name)
createParagraph
public static NodeOperation createParagraph(java.lang.String name,
java.lang.String template)
setNodeData
public static NodeOperation setNodeData(java.lang.String name,
java.lang.Object value)
setBinaryNodeData
public static NodeOperation setBinaryNodeData(java.lang.String name,
java.lang.String fileName,
long size,
java.io.InputStream inputStream)
setTemplate
public static NodeOperation setTemplate(java.lang.String template)
Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.