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 IOHandler
public void setIOManager(IOManager ioManager)
setIOManager
in interface IOHandler
public 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 IOHandler
IOException
public boolean importContent(ImportContext context, org.apache.jackrabbit.webdav.DavResource resource) throws IOException
importContent
in interface IOHandler
IOException
protected boolean importData(ImportContext context, boolean isCollection, Resource resource) throws IOException, WebDavStorageException
IOException
WebDavStorageException
public 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 IOHandler
IOException
public boolean exportContent(ExportContext context, org.apache.jackrabbit.webdav.DavResource resource) throws IOException
exportContent
in interface IOHandler
IOException
protected void exportData(ExportContext context, boolean isCollection, Resource resource) throws IOException, WebDavStorageException
IOException
WebDavStorageException
protected boolean setContentData(ImportContext context, boolean isCollection) throws WebDavStorageException, org.apache.jackrabbit.webdav.DavException
WebDavStorageException
org.apache.jackrabbit.webdav.DavException
protected Resource getContentNode(ExportContext context, boolean isCollection) throws WebDavStorageException
WebDavStorageException
protected 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
WebDavStorageException
public boolean canImport(org.apache.jackrabbit.server.io.PropertyImportContext context, boolean isCollection)
Copyright © 2008-2014 Logical Objects. All Rights Reserved.