Package com.logicaldoc.webdav.io.handler
Class DefaultHandler
- java.lang.Object
-
- com.logicaldoc.webdav.io.handler.DefaultHandler
-
- All Implemented Interfaces:
IOHandler,Serializable
public class DefaultHandler extends Object implements IOHandler
For more informations, please visitDefaultHandler- Author:
- Sebastian Wenzky
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultHandler()DefaultHandler(IOManager ioManager)DefaultHandler(IOManager ioManager, String collectionNodetype, String defaultNodetype, String contentNodetype)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanExport(ExportContext context, boolean isCollection)booleancanExport(ExportContext context, org.apache.jackrabbit.webdav.DavResource resource)booleancanExport(org.apache.jackrabbit.server.io.PropertyExportContext context, boolean isCollection)booleancanImport(ImportContext context, boolean isCollection)booleancanImport(ImportContext context, org.apache.jackrabbit.webdav.DavResource resource)booleancanImport(org.apache.jackrabbit.server.io.PropertyImportContext context, boolean isCollection)booleanexportContent(ExportContext context, boolean isCollection)booleanexportContent(ExportContext context, org.apache.jackrabbit.webdav.DavResource resource)booleanexportContent(ExportContext context, org.apache.jackrabbit.webdav.DavResource resource, Long left, Long rangeLength)booleanexportProperties(org.apache.jackrabbit.server.io.PropertyExportContext exportContext, boolean isCollection)IOManagergetIOManager()StringgetName()booleanimportContent(ImportContext context, boolean isCollection)booleanimportContent(ImportContext context, org.apache.jackrabbit.webdav.DavResource resource)voidsetIOManager(IOManager ioManager)voidsetResourceService(ResourceService resourceService)
-
-
-
Method Detail
-
setResourceService
public void setResourceService(ResourceService resourceService)
-
getIOManager
public IOManager getIOManager()
- Specified by:
getIOManagerin interfaceIOHandler
-
setIOManager
public void setIOManager(IOManager ioManager)
- Specified by:
setIOManagerin interfaceIOHandler
-
canImport
public boolean canImport(ImportContext context, boolean isCollection)
-
canImport
public boolean canImport(ImportContext context, org.apache.jackrabbit.webdav.DavResource resource)
-
importContent
public boolean importContent(ImportContext context, boolean isCollection) throws IOException, org.apache.jackrabbit.webdav.DavException
- Specified by:
importContentin interfaceIOHandler- Throws:
IOExceptionorg.apache.jackrabbit.webdav.DavException
-
importContent
public boolean importContent(ImportContext context, org.apache.jackrabbit.webdav.DavResource resource) throws IOException, org.apache.jackrabbit.webdav.DavException
- Specified by:
importContentin interfaceIOHandler- Throws:
IOExceptionorg.apache.jackrabbit.webdav.DavException
-
canExport
public boolean canExport(ExportContext context, boolean isCollection)
-
canExport
public boolean canExport(ExportContext context, org.apache.jackrabbit.webdav.DavResource resource)
-
exportContent
public boolean exportContent(ExportContext context, boolean isCollection) throws IOException
- Specified by:
exportContentin interfaceIOHandler- Throws:
IOException
-
exportContent
public boolean exportContent(ExportContext context, org.apache.jackrabbit.webdav.DavResource resource) throws IOException
- Specified by:
exportContentin interfaceIOHandler- Throws:
IOException
-
canExport
public boolean canExport(org.apache.jackrabbit.server.io.PropertyExportContext context, boolean isCollection)
-
exportProperties
public boolean exportProperties(org.apache.jackrabbit.server.io.PropertyExportContext exportContext, boolean isCollection) throws WebDavStorageException- Throws:
WebDavStorageException
-
canImport
public boolean canImport(org.apache.jackrabbit.server.io.PropertyImportContext context, boolean isCollection)
-
exportContent
public boolean exportContent(ExportContext context, org.apache.jackrabbit.webdav.DavResource resource, Long left, Long rangeLength) throws IOException
- Specified by:
exportContentin interfaceIOHandler- Throws:
IOException
-
-