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: DavWikiFile.java 32446 2010-11-04 08:55:46Z vmassol $
|
Field Summary |
static java.lang.String |
WIKI_TXT
Identifier for wiki text file. |
static java.lang.String |
WIKI_XML
Identifier for wiki xml file. |
| Fields inherited from interface org.apache.jackrabbit.webdav.DavResource |
COMPLIANCE_CLASS, METHODS |
|
Method Summary |
boolean |
exists()
|
long |
getModificationTime()
|
void |
init(XWikiDavResource parent,
java.lang.String name,
java.lang.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 |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
WIKI_TXT
public static final java.lang.String WIKI_TXT
- Identifier for wiki text file.
- See Also:
- Constant Field Values
WIKI_XML
public static final java.lang.String WIKI_XML
- Identifier for wiki xml file.
- See Also:
- Constant Field Values
DavWikiFile
public DavWikiFile()
init
public void init(XWikiDavResource parent,
java.lang.String name,
java.lang.String relativePath)
throws org.apache.jackrabbit.webdav.DavException
- 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 java.io.IOException
-
- Throws:
java.io.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-2011 XWiki. All Rights Reserved.