Package com.logicaldoc.webdav.io.handler
Class DefaultHandler
java.lang.Object
com.logicaldoc.webdav.io.handler.DefaultHandler
- All Implemented Interfaces:
IOHandler
,Serializable
For more informations, please visit
DefaultHandler
- Author:
- Sebastian Wenzky
- See Also:
-
Constructor Summary
ConstructorDescriptionDefaultHandler
(IOManager ioManager) DefaultHandler
(IOManager ioManager, String collectionNodetype, String defaultNodetype, String contentNodetype) -
Method Summary
Modifier and TypeMethodDescriptionboolean
canExport
(ExportContext context, boolean isCollection) boolean
canExport
(ExportContext context, org.apache.jackrabbit.webdav.DavResource resource) boolean
canExport
(org.apache.jackrabbit.server.io.PropertyExportContext context, boolean isCollection) boolean
canImport
(ImportContext context, boolean isCollection) boolean
canImport
(ImportContext context, org.apache.jackrabbit.webdav.DavResource resource) boolean
exportContent
(ExportContext context, boolean isCollection) boolean
exportContent
(ExportContext context, org.apache.jackrabbit.webdav.DavResource resource) boolean
exportContent
(ExportContext context, org.apache.jackrabbit.webdav.DavResource resource, Long left, Long rangeLength) boolean
exportProperties
(org.apache.jackrabbit.server.io.PropertyExportContext exportContext, boolean isCollection) getName()
boolean
importContent
(ImportContext context, boolean isCollection) boolean
importContent
(ImportContext context, org.apache.jackrabbit.webdav.DavResource resource) void
setIOManager
(IOManager ioManager) void
setResourceService
(ResourceService resourceService)
-
Constructor Details
-
DefaultHandler
public DefaultHandler() -
DefaultHandler
-
DefaultHandler
-
-
Method Details
-
setResourceService
-
getIOManager
- Specified by:
getIOManager
in interfaceIOHandler
-
setIOManager
- Specified by:
setIOManager
in interfaceIOHandler
-
getName
-
canImport
-
canImport
-
importContent
public boolean importContent(ImportContext context, boolean isCollection) throws IOException, org.apache.jackrabbit.webdav.DavException - Specified by:
importContent
in interfaceIOHandler
- Throws:
IOException
org.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:
importContent
in interfaceIOHandler
- Throws:
IOException
org.apache.jackrabbit.webdav.DavException
-
canExport
-
canExport
-
exportContent
- Specified by:
exportContent
in interfaceIOHandler
- Throws:
IOException
-
exportContent
public boolean exportContent(ExportContext context, org.apache.jackrabbit.webdav.DavResource resource) throws IOException - Specified by:
exportContent
in 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
-
exportContent
public boolean exportContent(ExportContext context, org.apache.jackrabbit.webdav.DavResource resource, Long left, Long rangeLength) throws IOException - Specified by:
exportContent
in interfaceIOHandler
- Throws:
IOException
-