com.xpn.xwiki.plugin.webdav.resources.views.pages
Class PagesView

java.lang.Object
  extended by com.xpn.xwiki.plugin.webdav.resources.partial.AbstractDavResource
      extended by com.xpn.xwiki.plugin.webdav.resources.partial.AbstractDavView
          extended by com.xpn.xwiki.plugin.webdav.resources.views.pages.PagesView
All Implemented Interfaces:
XWikiDavResource

public class PagesView
extends AbstractDavView

This view lists all the documents organized by space.


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
 
Constructor Summary
PagesView()
           
 
Method Summary
 void addMember(DavResource resource, InputContext inputContext)
           
 XWikiDavResource decode(String[] tokens, int next)
          The default decode implementation assumes the next resource in chain to be a temporary resource.
 DavResourceIterator getMembers()
           
 void removeMember(DavResource member)
           
 
Methods inherited from class com.xpn.xwiki.plugin.webdav.resources.partial.AbstractDavView
exists, getModificationTime, isCollection, move, spool
 
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, 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

PagesView

public PagesView()
Method Detail

decode

public XWikiDavResource decode(String[] tokens,
                               int next)
                        throws DavException
Description copied from class: AbstractDavResource
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.

Specified by:
decode in interface XWikiDavResource
Overrides:
decode in class AbstractDavResource
Parameters:
tokens - segmented URL.
next - next index to be processed by this resource.
Returns:
the XWikiDavResource corresponding to the given URL.
Throws:
DavException - If it's not possible to decode the URL.

getMembers

public DavResourceIterator getMembers()

addMember

public void addMember(DavResource resource,
                      InputContext inputContext)
               throws DavException
Overrides:
addMember in class AbstractDavView
Throws:
DavException

removeMember

public void removeMember(DavResource member)
                  throws DavException
Overrides:
removeMember in class AbstractDavView
Throws:
DavException