org.apache.wvcm.store.webdav
Class FolderWebdavAccessor
java.lang.Object
org.apache.wvcm.store.webdav.WebdavAccessor
org.apache.wvcm.store.webdav.ResourceWebdavAccessor
org.apache.wvcm.store.webdav.FolderWebdavAccessor
- All Implemented Interfaces:
- Accessor, FolderAccessor, ResourceAccessor
public class FolderWebdavAccessor
- extends ResourceWebdavAccessor
- implements FolderAccessor
WebDAV-based implementation of FolderResourceAccessor.
- Version:
- $Revision: 1.1.1.1.2.7 $
Method Summary |
void |
doBind(java.lang.String bindingName,
Resource boundResource,
boolean overwrite)
Add a binding. |
java.util.List |
doLocateByHistoryReport(java.util.List versionHistoryList,
PropertyNameList wantedPropertyList)
Return a list of ControllableResource objects
that identify the controllable resources that are members of
this ControllableFolder and whose versionHistory property identifies
a member of the versionHistoryList parameter. |
java.util.Iterator |
doReadMemberList(PropertyNameList wantedPropertyList,
boolean deep)
Return a list of proxies containing the requested set of properties, where the list
contains the folder itself and other members of that folder. |
void |
doRebind(java.lang.String bindingName,
Resource boundResource,
boolean overwrite)
Remove a binding and add a binding. |
void |
doUnbind(java.lang.String bindingName)
Remove a binding. |
Methods inherited from class org.apache.wvcm.store.webdav.ResourceWebdavAccessor |
addLockTokens, addLockTokens, client, containsNestedProperties, doCheckExists, doCopy, doDelete, doLabel, doLock, doMove, doReadAccessControlList, doReadAllAttributes, doReadContent, doReadProperties, doSearch, doUnlock, doWriteAccessControlList, doWriteContent, doWriteProperties, getNestedExceptions, resource, setHttpMethod, setHttpMethod |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.wvcm.store.ResourceAccessor |
doCheckExists, doCopy, doDelete, doLock, doMove, doReadAccessControlList, doReadContent, doReadProperties, doSearch, doUnlock, doWriteAccessControlList, doWriteContent, doWriteProperties, resource |
FolderWebdavAccessor
public FolderWebdavAccessor(Resource resource)
- Constructor.
doReadMemberList
public java.util.Iterator doReadMemberList(PropertyNameList wantedPropertyList,
boolean deep)
throws WvcmException
- Return a list of proxies containing the requested set of properties, where the list
contains the folder itself and other members of that folder.
- Specified by:
doReadMemberList
in interface FolderAccessor
- Parameters:
wantedPropertyList
- the requested set of propertiesdeep
- if true, the result contains a proxy for every member
of the folder associated to this accessor; otherwise,
the result contains only proxies for the bound members
of the folder.
- Returns:
- an Iterator
- Throws:
WvcmException
doBind
public void doBind(java.lang.String bindingName,
Resource boundResource,
boolean overwrite)
throws WvcmException
- Add a binding.
- Specified by:
doBind
in interface FolderAccessor
- Parameters:
bindingName
- a StringboundResource
- a Resourceoverwrite
- a boolean
- Throws:
WvcmException
doUnbind
public void doUnbind(java.lang.String bindingName)
throws WvcmException
- Remove a binding.
- Specified by:
doUnbind
in interface FolderAccessor
- Parameters:
bindingName
- a String
- Throws:
WvcmException
doRebind
public void doRebind(java.lang.String bindingName,
Resource boundResource,
boolean overwrite)
throws WvcmException
- Remove a binding and add a binding.
- Specified by:
doRebind
in interface FolderAccessor
- Parameters:
bindingName
- a StringboundResource
- a Resourceoverwrite
- a boolean
- Throws:
WvcmException
doLocateByHistoryReport
public java.util.List doLocateByHistoryReport(java.util.List versionHistoryList,
PropertyNameList wantedPropertyList)
throws WvcmException
- Return a list of
ControllableResource
objects
that identify the controllable resources that are members of
this ControllableFolder
and whose versionHistory property identifies
a member of the versionHistoryList
parameter.
- Specified by:
doLocateByHistoryReport
in interface FolderAccessor
- Parameters:
versionHistoryList
- A list of VersionHistory
objects that
are being located.wantedPropertyList
- The properties to be retrieved for the
returned version-controlled resources.
- Throws:
WvcmException
Copyright (c) 2003 - Apache Software Foundation