org.jboss.portal.cms
Class Node
java.lang.Object
org.jboss.portal.cms.Node
public class Node
- extends java.lang.Object
Abstraction over the non API webdav.
Field Summary |
protected static org.apache.log4j.Logger |
log
|
protected java.lang.String |
name
|
protected org.apache.slide.common.NamespaceAccessToken |
nat
|
protected java.lang.String |
principal
|
static org.apache.slide.common.SlideToken |
ROOT_TOKEN
|
protected org.apache.slide.common.SlideToken |
slideToken
|
protected org.jboss.portal.cms.Node.State |
state
|
protected java.lang.String |
uri
|
protected java.lang.String |
version
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ROOT_TOKEN
public static final org.apache.slide.common.SlideToken ROOT_TOKEN
log
protected static final org.apache.log4j.Logger log
nat
protected final org.apache.slide.common.NamespaceAccessToken nat
uri
protected final java.lang.String uri
name
protected final java.lang.String name
principal
protected final java.lang.String principal
version
protected final java.lang.String version
slideToken
protected final org.apache.slide.common.SlideToken slideToken
state
protected org.jboss.portal.cms.Node.State state
getContent
public Content getContent()
throws NodeException
- Throws:
NodeException
createContent
public void createContent(Content content,
boolean recursive)
throws NodeException
- Throws:
NodeException
delete
public void delete()
throws NodeException
- Throws:
NodeException
createDir
public void createDir(boolean recursive)
throws NodeException
- Throws:
NodeException
getChildren
public java.util.Map getChildren()
throws NodeException
- Throws:
NodeException
getChild
public Node getChild(java.lang.String name)
throws NodeException
- Throws:
NodeException
getParent
public Node getParent()
throws NodeException
- Throws:
NodeException
isDir
public boolean isDir()
throws NodeException
- Throws:
NodeException
moveTo
public void moveTo(java.lang.String targetURI)
throws NodeException
- Throws:
NodeException
copyTo
public void copyTo(java.lang.String targetURI)
throws NodeException
- Throws:
NodeException
exists
public boolean exists()
getName
public java.lang.String getName()
getURI
public java.lang.String getURI()
getProperty
public java.lang.String getProperty(java.lang.String namespace,
java.lang.String name)
throws NodeException
- Throws:
NodeException
setProperty
public void setProperty(java.lang.String namespace,
java.lang.String name,
java.lang.String value)
throws NodeException
- Throws:
NodeException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object