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 java.lang.Object
- implements openwfe.org.jcr.Node
Magnolia wrapper for a node.
Method Summary |
openwfe.org.jcr.Node |
addNode(java.lang.String newNodeName)
|
java.lang.String |
getName()
|
openwfe.org.jcr.Node |
getNode(java.lang.String relPath)
|
java.util.Iterator |
getNodes()
|
openwfe.org.jcr.Item |
getParent()
|
java.lang.String |
getPath()
|
java.util.Iterator |
getProperties()
|
openwfe.org.jcr.Property |
getProperty(java.lang.String propertyName)
|
java.lang.Object |
getWrappedInstance()
|
boolean |
hasNode(java.lang.String relPath)
|
boolean |
hasProperty(java.lang.String propertyName)
|
boolean |
isNode()
|
void |
remove()
|
void |
save()
|
openwfe.org.jcr.Property |
setProperty(java.lang.String propertyName,
java.io.InputStream value)
|
openwfe.org.jcr.Property |
setProperty(java.lang.String propertyName,
long value)
|
openwfe.org.jcr.Property |
setProperty(java.lang.String string,
java.lang.Object object)
|
openwfe.org.jcr.Property |
setProperty(java.lang.String propertyName,
java.lang.String value)
|
openwfe.org.jcr.Property |
setProperty(java.lang.String propertyName,
java.lang.String valueStr,
int type)
|
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 java.util.Iterator getProperties()
throws openwfe.org.jcr.JcrException
- Specified by:
getProperties
in interface openwfe.org.jcr.Node
- Throws:
openwfe.org.jcr.JcrException
getNodes
public java.util.Iterator 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(java.lang.String string,
java.lang.Object object)
throws openwfe.org.jcr.JcrException
- Throws:
openwfe.org.jcr.JcrException
getPath
public java.lang.String getPath()
throws openwfe.org.jcr.JcrException
- Specified by:
getPath
in interface openwfe.org.jcr.Item
- Throws:
openwfe.org.jcr.JcrException
getWrappedInstance
public java.lang.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(java.lang.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(java.lang.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(java.lang.String propertyName,
java.lang.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(java.lang.String propertyName,
long value)
throws openwfe.org.jcr.JcrException
- Throws:
openwfe.org.jcr.JcrException
hasNode
public boolean hasNode(java.lang.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(java.lang.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(java.lang.String newNodeName)
throws openwfe.org.jcr.JcrException
- Specified by:
addNode
in interface openwfe.org.jcr.Node
- Throws:
openwfe.org.jcr.JcrException
getName
public java.lang.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(java.lang.String propertyName,
java.lang.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(java.lang.String propertyName,
java.io.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-2010 Magnolia International Ltd.. All Rights Reserved.