info.magnolia.nodebuilder
Class ContentOps
java.lang.Object
info.magnolia.nodebuilder.ContentOps
public class ContentOps
- extends 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(String name,
ItemType type)
createPage
public static NodeOperation createPage(String name,
String template)
createCollectionNode
public static NodeOperation createCollectionNode(String name)
createParagraph
public static NodeOperation createParagraph(String name,
String template)
setNodeData
public static NodeOperation setNodeData(String name,
Object value)
setBinaryNodeData
public static NodeOperation setBinaryNodeData(String name,
String fileName,
long size,
InputStream inputStream)
setTemplate
public static NodeOperation setTemplate(String template)
Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.