public abstract class AbstractContentDiffAdapter extends Object implements ContentDiffAdapter
| Modifier and Type | Field and Description |
|---|---|
protected org.nuxeo.ecm.core.api.DocumentModel |
adaptedDoc |
| Constructor and Description |
|---|
AbstractContentDiffAdapter() |
| Modifier and Type | Method and Description |
|---|---|
protected ContentDiffAdapterManager |
getContentDiffAdapterManager()
Gets the content diff adapter manager.
|
protected abstract List<org.nuxeo.ecm.core.api.Blob> |
getContentDiffBlobs(org.nuxeo.ecm.core.api.DocumentModel otherDoc,
ContentDiffConversionType conversionType,
Locale locale) |
protected abstract List<org.nuxeo.ecm.core.api.Blob> |
getContentDiffBlobs(org.nuxeo.ecm.core.api.DocumentModel otherDoc,
String xpath,
ContentDiffConversionType conversionType,
Locale locale) |
List<org.nuxeo.ecm.core.api.Blob> |
getFileContentDiffBlobs(org.nuxeo.ecm.core.api.DocumentModel otherDoc,
ContentDiffConversionType conversionType,
Locale locale) |
List<org.nuxeo.ecm.core.api.Blob> |
getFileContentDiffBlobs(org.nuxeo.ecm.core.api.DocumentModel otherDoc,
String xpath,
ContentDiffConversionType conversionType,
Locale locale) |
String |
getFileContentDiffURL(org.nuxeo.ecm.core.api.DocumentModel otherDoc,
ContentDiffConversionType conversionType,
String locale) |
String |
getFileContentDiffURL(org.nuxeo.ecm.core.api.DocumentModel otherDoc,
String xpath,
ContentDiffConversionType conversionType,
String locale) |
void |
setAdaptedDocument(org.nuxeo.ecm.core.api.DocumentModel doc) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcachable, cleanuppublic String getFileContentDiffURL(org.nuxeo.ecm.core.api.DocumentModel otherDoc, ContentDiffConversionType conversionType, String locale)
getFileContentDiffURL in interface ContentDiffAdapterpublic String getFileContentDiffURL(org.nuxeo.ecm.core.api.DocumentModel otherDoc, String xpath, ContentDiffConversionType conversionType, String locale)
getFileContentDiffURL in interface ContentDiffAdapterpublic List<org.nuxeo.ecm.core.api.Blob> getFileContentDiffBlobs(org.nuxeo.ecm.core.api.DocumentModel otherDoc, ContentDiffConversionType conversionType, Locale locale) throws ContentDiffException, org.nuxeo.ecm.core.convert.api.ConversionException
getFileContentDiffBlobs in interface ContentDiffAdapterContentDiffExceptionorg.nuxeo.ecm.core.convert.api.ConversionExceptionpublic List<org.nuxeo.ecm.core.api.Blob> getFileContentDiffBlobs(org.nuxeo.ecm.core.api.DocumentModel otherDoc, String xpath, ContentDiffConversionType conversionType, Locale locale) throws ContentDiffException, org.nuxeo.ecm.core.convert.api.ConversionException
getFileContentDiffBlobs in interface ContentDiffAdapterContentDiffExceptionorg.nuxeo.ecm.core.convert.api.ConversionExceptionprotected abstract List<org.nuxeo.ecm.core.api.Blob> getContentDiffBlobs(org.nuxeo.ecm.core.api.DocumentModel otherDoc, ContentDiffConversionType conversionType, Locale locale) throws ContentDiffException, org.nuxeo.ecm.core.convert.api.ConversionException
ContentDiffExceptionorg.nuxeo.ecm.core.convert.api.ConversionExceptionprotected abstract List<org.nuxeo.ecm.core.api.Blob> getContentDiffBlobs(org.nuxeo.ecm.core.api.DocumentModel otherDoc, String xpath, ContentDiffConversionType conversionType, Locale locale) throws ContentDiffException, org.nuxeo.ecm.core.convert.api.ConversionException
ContentDiffExceptionorg.nuxeo.ecm.core.convert.api.ConversionExceptionpublic void setAdaptedDocument(org.nuxeo.ecm.core.api.DocumentModel doc)
setAdaptedDocument in interface ContentDiffAdapterprotected final ContentDiffAdapterManager getContentDiffAdapterManager() throws ContentDiffException
ContentDiffException - the content diff exceptionCopyright © 2019 Nuxeo SA. All rights reserved.