PropertiesManager implements all WebDAV property methods that are
dependent on a specific repository manager interface. This manager is
used by ResourceImpl and its subclasses to interface with a particular
repository manager for accessing and controlling resource properties. Implementing
this interface along with NamespaceManager and LockManager is all that
is needed to provide WebDAV access to a particular repository manager.
author: Jim Amsden <jamsden@us.ibm.com>
Get all the WebDAV properties WebDAV of the managed resoure.
a MultiStatus of PropertyResponses for the properties of the resouorce. exception: com.ibm.webdav.WebDAVException -
Get the named properties for the managed resource.
Parameters: names - an array of property names to retrieve (namespace+localpart) a MultiStatus of PropertyResponses exception: com.ibm.webdav.WebDAVException -
Get the names of all properties for the managed resource
a MultiStatus of PropertyResponses(the contained PropertyValue.value is always null, but PropertyValue.status contains the status) exception: com.ibm.webdav.WebDAVException -
Initialize this PropertiesManager instance.
Parameters: resource - the resource to manager properties for Parameters: namespaceManager - its namespace manager
Load properties from their persistent store.
an XML document containing a properties element. exception: com.ibm.webdav.WebDAVException -
removeLiveProperties
public void removeLiveProperties(Document propertiesDocument)(Code)
Remove the live DAV properties from the properties document that
do not need to be saved. There is no reason to save them as long
as they are recalculated each time the properties are loaded. This
method removes the ones that are repository specific.
Parameters: propertiesDocument - an XML document containing a properties element.
Save the properties to the persistent store.
Parameters: propertiesDocument - an XML document containing a properties element. exception: com.ibm.webdav.WebDAVException -
Edit the properties of the managed resource. The updates must refer to a Document containing a WebDAV
propertyupdates element as the document root.
Parameters: updates - an XML Document containing propertyupdate elements a MultiStatus describing the result of the updatesdescribing the edits to be made exception: com.ibm.webdav.WebDAVException -
Set a property of the managed resource to a value.
Parameters: name - the property name (namespace+local part of the value element) Parameters: value - the property value exception: com.ibm.webdav.WebDAVException - exception: IOException - exception: RemoteException -
Update the live properties that are unique to the
repository implementation
Parameters: document - an XML document containing a properties to update. exception: com.ibm.webdav.WebDAVException -