public class ContentOps extends Object
NodeOperation
s using the same tems as the Content API.Constructor and Description |
---|
ContentOps() |
Modifier and Type | Method and Description |
---|---|
static NodeOperation |
createCollectionNode(String name) |
static NodeOperation |
createContent(String name,
ItemType type) |
static NodeOperation |
createPage(String name,
String template) |
static NodeOperation |
createParagraph(String name,
String template) |
static NodeOperation |
setBinaryNodeData(String name,
String fileName,
long size,
InputStream inputStream) |
static NodeOperation |
setNodeData(String name,
Object value) |
static NodeOperation |
setTemplate(String template) |
public static NodeOperation createContent(String name, ItemType type)
public static NodeOperation createPage(String name, String template)
public static NodeOperation createCollectionNode(String name)
public static NodeOperation createParagraph(String name, String template)
public static NodeOperation setNodeData(String name, Object value)
public static NodeOperation setBinaryNodeData(String name, String fileName, long size, InputStream inputStream)
public static NodeOperation setTemplate(String template)
Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.