Interface WebdavServlet.PropertyStore
- All Known Implementing Classes:
- DataSourcePropertyStore,- WebdavServlet.MemoryPropertyStore
- Enclosing class:
- WebdavServlet
public static interface WebdavServlet.PropertyStore
Handling of dead properties on resources. This interface allows providing storage for dead properties. Store
 configuration is done through the 
propertyStore init parameter of the WebDAV Servlet, which should
 contain the class name of the store.- 
Method SummaryModifier and TypeMethodDescriptionvoidCopy resource.voidDelete specified resource.voiddestroy()Destroy the store.voidinit()Initialize the store.voidPeriodic event for maintenance tasks.booleanGenerate propfind XML fragments for dead properties.voidproppatch(String resource, ArrayList<WebdavServlet.ProppatchOperation> operations) Apply proppatch to the specified resource.
- 
Method Details- 
initvoid init()Initialize the store. This is tied to the Servlet lifecycle and is called by its init method.
- 
destroyvoid destroy()Destroy the store. This is tied to the Servlet lifecycle and is called by its destroy method.
- 
periodicEventvoid periodicEvent()Periodic event for maintenance tasks.
- 
copy
- 
deleteDelete specified resource. Dead properties on a deleted resource should be deleted.- Parameters:
- resource- the path of the resource to delete
 
- 
propfindGenerate propfind XML fragments for dead properties.- Parameters:
- resource- the resource path
- property- the dead property, if null then all dead properties must be written
- nameOnly- true if only the property name element should be generated
- generatedXML- the current generated XML for the PROPFIND response
- Returns:
- true if a property was specified and a corresponding dead property was found on the resource, false otherwise
 
- 
proppatchApply proppatch to the specified resource.- Parameters:
- resource- the resource path on which to apply the proppatch
- operations- the set and remove to apply, the final status codes of the result should be set on each operation
 
 
-