Interface DocumentVariantExportTask
- All Superinterfaces:
ContentMigrationTask
- All Known Implementing Classes:
WorkflowDocumentVariantExportTask
ContentMigrationTask to export document variant nodes to ContentNode objects.-
Method Summary
Modifier and TypeMethodDescriptionorg.onehippo.forge.content.pojo.model.ContentNodeexportVariantToContentNode(org.hippoecm.repository.api.Document document) Exports a document variant (Document),document, to aContentNodeobject.Methods inherited from interface org.onehippo.forge.content.exim.core.ContentMigrationTask
beginRecord, endRecord, getContentMigrationRecords, getLogger, getStartedTimeMillis, getStoppedTimeMillis, getSummary, logSummary, readContentNodeFromJsonFile, readContentNodeFromXmlFile, setLogger, start, stop, writeContentNodeToJsonFile, writeContentNodeToXmlFile
-
Method Details
-
exportVariantToContentNode
org.onehippo.forge.content.pojo.model.ContentNode exportVariantToContentNode(org.hippoecm.repository.api.Document document) throws ContentMigrationException Exports a document variant (Document),document, to aContentNodeobject.- Parameters:
document- a document variant (Document)- Returns:
- a
ContentNodeobject written with thedocumentdata - Throws:
ContentMigrationException- if exporting fails
-