Class DefaultBinaryExportTask

    • Constructor Detail

      • DefaultBinaryExportTask

        public DefaultBinaryExportTask​(DocumentManager documentManager)
        Constructs with documentManager.
        Parameters:
        documentManager - DocumentManager instance
    • Method Detail

      • getContentNodeMappingItemFilter

        public org.onehippo.forge.content.pojo.mapper.ContentNodeMappingItemFilter<javax.jcr.Item> getContentNodeMappingItemFilter()
        Returns ContentNodeMappingItemFilter instance. If not set, returns a default implementation.
        Overrides:
        getContentNodeMappingItemFilter in class AbstractContentExportTask
        Returns:
        ContentNodeMappingItemFilter instance. If not set, returns a default implementation
      • exportBinarySetToContentNode

        public org.onehippo.forge.content.pojo.model.ContentNode exportBinarySetToContentNode​(javax.jcr.Node imageSetOrAssetSetNode)
                                                                                       throws ContentMigrationException
        Exports an imageset (e.g, hippogallery:imageset) node or an assetset (e.g, hippogallery:exampleAssetSet) node to a ContentNode object.
        Specified by:
        exportBinarySetToContentNode in interface BinaryExportTask
        Parameters:
        imageSetOrAssetSetNode - an imageset (e.g, hippogallery:imageset) node or an assetset (e.g, hippogallery:exampleAssetSet) node
        Returns:
        an exported ContentNode object
        Throws:
        ContentMigrationException - if exporting fails