|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.xpn.xwiki.plugin.webdav.resources.partial.AbstractDavResource
com.xpn.xwiki.plugin.webdav.resources.domain.DavPage
public class DavPage
The collection resource which represents a page XWikiDocument of XWiki.
| Field Summary |
|---|
| Fields inherited from class com.xpn.xwiki.plugin.webdav.resources.partial.AbstractDavResource |
|---|
locator, name, parentResource |
| Fields inherited from interface com.xpn.xwiki.plugin.webdav.resources.XWikiDavResource |
|---|
BASE_URI |
| Fields inherited from interface org.apache.jackrabbit.webdav.DavResource |
|---|
COMPLIANCE_CLASS, METHODS |
| Constructor Summary | |
|---|---|
DavPage()
|
|
| Method Summary | |
|---|---|
void |
addMember(org.apache.jackrabbit.webdav.DavResource resource,
org.apache.jackrabbit.webdav.io.InputContext inputContext)
|
boolean |
createsCycle(java.lang.String childDocName)
Utility method to verify that a member of this resource doesn't give rise to a cycle. |
XWikiDavResource |
decode(java.lang.String[] tokens,
int next)
The default decode implementation assumes the next resource in chain to be a temporary resource. |
boolean |
exists()
|
com.xpn.xwiki.doc.XWikiDocument |
getDocument()
|
java.util.List<XWikiDavResource> |
getInitMembers()
|
org.apache.jackrabbit.webdav.DavResourceIterator |
getMembers()
|
long |
getModificationTime()
|
void |
init(XWikiDavResource parent,
java.lang.String name,
java.lang.String relativePath)
Initializes this resource with common attributes inherited from the parent. |
boolean |
isCollection()
|
void |
move(org.apache.jackrabbit.webdav.DavResource destination)
|
void |
removeMember(org.apache.jackrabbit.webdav.DavResource member)
|
void |
spool(org.apache.jackrabbit.webdav.io.OutputContext outputContext)
|
| Methods inherited from class com.xpn.xwiki.plugin.webdav.resources.partial.AbstractDavResource |
|---|
addLockManager, addVirtualMember, alterProperties, alterProperties, clearCache, copy, equals, getCollection, getComplianceClass, getContext, getDisplayName, getFactory, getHref, getLocator, getLock, getLocks, getProperties, getProperty, getPropertyNames, getResourcePath, getSession, getSupportedMethods, getVirtualMembers, getVirtualProperties, hashCode, hasLock, init, isLockable, isTempResource, lock, refreshLock, removeProperty, removeVirtualMember, setProperty, unlock |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DavPage()
| Method Detail |
|---|
public void init(XWikiDavResource parent,
java.lang.String name,
java.lang.String relativePath)
throws org.apache.jackrabbit.webdav.DavException
init in interface XWikiDavResourceinit in class AbstractDavResourceparent - Parent resource.name - Name of this resource.relativePath - Path relative to the parent resource.
org.apache.jackrabbit.webdav.DavException - If the initialization fails.
public XWikiDavResource decode(java.lang.String[] tokens,
int next)
throws org.apache.jackrabbit.webdav.DavException
The default decode implementation assumes the next resource in chain to be a temporary resource. Sub classes should override this method to provide their own implementation.
decode in interface XWikiDavResourcedecode in class AbstractDavResourcetokens - segmented URL.next - next index to be processed by this resource.
XWikiDavResource corresponding to the given URL.
org.apache.jackrabbit.webdav.DavException - If it's not possible to decode the URL.public boolean exists()
public org.apache.jackrabbit.webdav.DavResourceIterator getMembers()
public void addMember(org.apache.jackrabbit.webdav.DavResource resource,
org.apache.jackrabbit.webdav.io.InputContext inputContext)
throws org.apache.jackrabbit.webdav.DavException
org.apache.jackrabbit.webdav.DavException
public void removeMember(org.apache.jackrabbit.webdav.DavResource member)
throws org.apache.jackrabbit.webdav.DavException
org.apache.jackrabbit.webdav.DavException
public void move(org.apache.jackrabbit.webdav.DavResource destination)
throws org.apache.jackrabbit.webdav.DavException
org.apache.jackrabbit.webdav.DavExceptionpublic java.util.List<XWikiDavResource> getInitMembers()
getInitMembers in interface XWikiDavResourcegetInitMembers in class AbstractDavResourcepublic boolean isCollection()
public void spool(org.apache.jackrabbit.webdav.io.OutputContext outputContext)
throws java.io.IOException
java.io.IOExceptionpublic long getModificationTime()
public com.xpn.xwiki.doc.XWikiDocument getDocument()
public boolean createsCycle(java.lang.String childDocName)
childDocName - Name of the want-to-be-member resource.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||