info.magnolia.beancoder
Class MgnlNode
java.lang.Object
info.magnolia.beancoder.MgnlNode
- All Implemented Interfaces:
- openwfe.org.jcr.Item, openwfe.org.jcr.Node
public class MgnlNode
- extends Object
- implements openwfe.org.jcr.Node
Magnolia wrapper for a node.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MgnlNode
public MgnlNode(Content mnode)
getProperties
public Iterator<MgnlProperty> getProperties()
throws openwfe.org.jcr.JcrException
- Specified by:
getProperties
in interface openwfe.org.jcr.Node
- Throws:
openwfe.org.jcr.JcrException
getNodes
public Iterator<MgnlNode> getNodes()
throws openwfe.org.jcr.JcrException
- Specified by:
getNodes
in interface openwfe.org.jcr.Node
- Throws:
openwfe.org.jcr.JcrException
setProperty
public openwfe.org.jcr.Property setProperty(String string,
Object object)
throws openwfe.org.jcr.JcrException
- Throws:
openwfe.org.jcr.JcrException
getPath
public String getPath()
throws openwfe.org.jcr.JcrException
- Specified by:
getPath
in interface openwfe.org.jcr.Item
- Throws:
openwfe.org.jcr.JcrException
getWrappedInstance
public Object getWrappedInstance()
throws openwfe.org.jcr.JcrException
- Specified by:
getWrappedInstance
in interface openwfe.org.jcr.Item
- Throws:
openwfe.org.jcr.JcrException
hasProperty
public boolean hasProperty(String propertyName)
throws openwfe.org.jcr.JcrException
- Specified by:
hasProperty
in interface openwfe.org.jcr.Node
- Throws:
openwfe.org.jcr.JcrException
getProperty
public openwfe.org.jcr.Property getProperty(String propertyName)
throws openwfe.org.jcr.JcrException
- Specified by:
getProperty
in interface openwfe.org.jcr.Node
- Throws:
openwfe.org.jcr.JcrException
setProperty
public openwfe.org.jcr.Property setProperty(String propertyName,
String value)
throws openwfe.org.jcr.JcrException
- Specified by:
setProperty
in interface openwfe.org.jcr.Node
- Throws:
openwfe.org.jcr.JcrException
setProperty
public openwfe.org.jcr.Property setProperty(String propertyName,
long value)
throws openwfe.org.jcr.JcrException
- Throws:
openwfe.org.jcr.JcrException
hasNode
public boolean hasNode(String relPath)
throws openwfe.org.jcr.JcrException
- Specified by:
hasNode
in interface openwfe.org.jcr.Node
- Throws:
openwfe.org.jcr.JcrException
getNode
public openwfe.org.jcr.Node getNode(String relPath)
throws openwfe.org.jcr.JcrException
- Specified by:
getNode
in interface openwfe.org.jcr.Node
- Throws:
openwfe.org.jcr.JcrException
addNode
public openwfe.org.jcr.Node addNode(String newNodeName)
throws openwfe.org.jcr.JcrException
- Specified by:
addNode
in interface openwfe.org.jcr.Node
- Throws:
openwfe.org.jcr.JcrException
getName
public String getName()
throws openwfe.org.jcr.JcrException
- Specified by:
getName
in interface openwfe.org.jcr.Item
- Throws:
openwfe.org.jcr.JcrException
getParent
public openwfe.org.jcr.Item getParent()
throws openwfe.org.jcr.JcrException
- Specified by:
getParent
in interface openwfe.org.jcr.Item
- Throws:
openwfe.org.jcr.JcrException
isNode
public boolean isNode()
throws openwfe.org.jcr.JcrException
- Specified by:
isNode
in interface openwfe.org.jcr.Item
- Throws:
openwfe.org.jcr.JcrException
save
public void save()
throws openwfe.org.jcr.JcrException
- Throws:
openwfe.org.jcr.JcrException
setProperty
public openwfe.org.jcr.Property setProperty(String propertyName,
String valueStr,
int type)
throws openwfe.org.jcr.JcrException
- Specified by:
setProperty
in interface openwfe.org.jcr.Node
- Throws:
openwfe.org.jcr.JcrException
- See Also:
Node.setProperty(java.lang.String, java.lang.String, int)
remove
public void remove()
throws openwfe.org.jcr.JcrException
- Specified by:
remove
in interface openwfe.org.jcr.Node
- Throws:
openwfe.org.jcr.JcrException
setProperty
public openwfe.org.jcr.Property setProperty(String propertyName,
InputStream value)
throws openwfe.org.jcr.JcrException
- Specified by:
setProperty
in interface openwfe.org.jcr.Node
- Throws:
openwfe.org.jcr.JcrException
- See Also:
Node.setProperty(java.lang.String, java.io.InputStream)
Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.