public class DefaultHandler extends Object implements IOHandler
DefaultHandler| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
log |
| Constructor and Description |
|---|
DefaultHandler() |
DefaultHandler(IOManager ioManager) |
DefaultHandler(IOManager ioManager,
String collectionNodetype,
String defaultNodetype,
String contentNodetype) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
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 |
canImport(org.apache.jackrabbit.server.io.PropertyImportContext context,
boolean isCollection) |
boolean |
exportContent(ExportContext context,
boolean isCollection) |
boolean |
exportContent(ExportContext context,
org.apache.jackrabbit.webdav.DavResource resource) |
protected void |
exportData(ExportContext context,
boolean isCollection,
Resource resource) |
boolean |
exportProperties(org.apache.jackrabbit.server.io.PropertyExportContext exportContext,
boolean isCollection) |
protected String |
getCollectionNodeType() |
protected Resource |
getContentNode(ExportContext context,
boolean isCollection) |
protected String |
getContentNodeType() |
IOManager |
getIOManager() |
String |
getName() |
protected String |
getNodeType() |
boolean |
importContent(ImportContext context,
boolean isCollection) |
boolean |
importContent(ImportContext context,
org.apache.jackrabbit.webdav.DavResource resource) |
protected boolean |
importData(ImportContext context,
boolean isCollection,
Resource resource) |
protected boolean |
setContentData(ImportContext context,
boolean isCollection) |
void |
setIOManager(IOManager ioManager) |
void |
setResourceService(ResourceService resourceService) |
public DefaultHandler()
public DefaultHandler(IOManager ioManager)
public void setResourceService(ResourceService resourceService)
public IOManager getIOManager()
getIOManager in interface IOHandlerpublic void setIOManager(IOManager ioManager)
setIOManager in interface IOHandlerpublic boolean canImport(ImportContext context, boolean isCollection)
public boolean canImport(ImportContext context, org.apache.jackrabbit.webdav.DavResource resource)
public boolean importContent(ImportContext context, boolean isCollection) throws IOException
importContent in interface IOHandlerIOExceptionpublic boolean importContent(ImportContext context, org.apache.jackrabbit.webdav.DavResource resource) throws IOException
importContent in interface IOHandlerIOExceptionprotected boolean importData(ImportContext context, boolean isCollection, Resource resource) throws IOException, WebDavStorageException
IOExceptionWebDavStorageExceptionpublic boolean canExport(ExportContext context, boolean isCollection)
public boolean canExport(ExportContext context, org.apache.jackrabbit.webdav.DavResource resource)
public boolean exportContent(ExportContext context, boolean isCollection) throws IOException
exportContent in interface IOHandlerIOExceptionpublic boolean exportContent(ExportContext context, org.apache.jackrabbit.webdav.DavResource resource) throws IOException
exportContent in interface IOHandlerIOExceptionprotected void exportData(ExportContext context, boolean isCollection, Resource resource) throws IOException, WebDavStorageException
IOExceptionWebDavStorageExceptionprotected boolean setContentData(ImportContext context, boolean isCollection) throws WebDavStorageException, org.apache.jackrabbit.webdav.DavException
WebDavStorageExceptionorg.apache.jackrabbit.webdav.DavExceptionprotected Resource getContentNode(ExportContext context, boolean isCollection) throws WebDavStorageException
WebDavStorageExceptionprotected String getCollectionNodeType()
protected String getNodeType()
protected String getContentNodeType()
public boolean canExport(org.apache.jackrabbit.server.io.PropertyExportContext context,
boolean isCollection)
public boolean exportProperties(org.apache.jackrabbit.server.io.PropertyExportContext exportContext,
boolean isCollection)
throws WebDavStorageException
WebDavStorageExceptionpublic boolean canImport(org.apache.jackrabbit.server.io.PropertyImportContext context,
boolean isCollection)
Copyright © 2008-2014 Logical Objects. All Rights Reserved.