com.xpn.xwiki.plugin.webdav.resources.domain
Class DavWikiFile
java.lang.Object
com.xpn.xwiki.plugin.webdav.resources.partial.AbstractDavResource
com.xpn.xwiki.plugin.webdav.resources.partial.AbstractDavFile
com.xpn.xwiki.plugin.webdav.resources.domain.DavWikiFile
- All Implemented Interfaces:
- XWikiDavResource, org.apache.jackrabbit.webdav.DavResource
public class DavWikiFile
- extends AbstractDavFile
The dav resource used to represent the wiki content of an XWikiDocument.
- Version:
- $Id: 639863c1e669ba8771bbd81f524d790c425b5b9c $
| Fields inherited from interface org.apache.jackrabbit.webdav.DavResource |
COMPLIANCE_CLASS, METHODS |
|
Method Summary |
boolean |
exists()
|
long |
getModificationTime()
|
void |
init(XWikiDavResource parent,
String name,
String relativePath)
Initializes this resource with common attributes inherited from the parent. |
void |
move(org.apache.jackrabbit.webdav.DavResource destination)
|
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, getInitMembers, getLocator, getLock, getLocks, getProperties, getProperty, getPropertyNames, getResourcePath, getSession, getSupportedMethods, getVirtualMembers, getVirtualProperties, hashCode, hasLock, init, isLockable, isTempResource, lock, refreshLock, removeProperty, removeVirtualMember, setProperty, unlock |
WIKI_TXT
public static final String WIKI_TXT
- Identifier for wiki text file.
- See Also:
- Constant Field Values
WIKI_XML
public static final String WIKI_XML
- Identifier for wiki xml file.
- See Also:
- Constant Field Values
DavWikiFile
public DavWikiFile()
init
public void init(XWikiDavResource parent,
String name,
String relativePath)
throws org.apache.jackrabbit.webdav.DavException
- Description copied from interface:
XWikiDavResource
- Initializes this resource with common attributes inherited from the parent.
- Specified by:
init in interface XWikiDavResource- Overrides:
init in class AbstractDavResource
- Parameters:
parent - Parent resource.name - Name of this resource.relativePath - Path relative to the parent resource.
- Throws:
org.apache.jackrabbit.webdav.DavException - If the initialization fails.
exists
public boolean exists()
spool
public void spool(org.apache.jackrabbit.webdav.io.OutputContext outputContext)
throws IOException
- Throws:
IOException
move
public void move(org.apache.jackrabbit.webdav.DavResource destination)
throws org.apache.jackrabbit.webdav.DavException
- Throws:
org.apache.jackrabbit.webdav.DavException
getModificationTime
public long getModificationTime()
Copyright © 2004-2013 XWiki. All Rights Reserved.