Interface BinaryExportTask
- All Superinterfaces:
ContentMigrationTask
- All Known Implementing Classes:
DefaultBinaryExportTask
ContentMigrationTask to export binary (gallery/asset) data to ContentNode objects.-
Method Summary
Modifier and TypeMethodDescriptionorg.onehippo.forge.content.pojo.model.ContentNodeexportBinarySetToContentNode(Node imageSetOrAssetSetNode) Exports an imageset (e.g,hippogallery:imageset) node or an assetset (e.g,hippogallery:exampleAssetSet) node 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
-
exportBinarySetToContentNode
org.onehippo.forge.content.pojo.model.ContentNode exportBinarySetToContentNode(Node imageSetOrAssetSetNode) throws ContentMigrationException Exports an imageset (e.g,hippogallery:imageset) node or an assetset (e.g,hippogallery:exampleAssetSet) node to aContentNodeobject.- Parameters:
imageSetOrAssetSetNode- an imageset (e.g,hippogallery:imageset) node or an assetset (e.g,hippogallery:exampleAssetSet) node- Returns:
- an exported
ContentNodeobject - Throws:
ContentMigrationException- if exporting fails
-