Class SitesArchiver.SitesArchiverManifestReaderWriter
- java.lang.Object
-
- org.ametys.plugins.webcontentio.archive.SitesArchiver.SitesArchiverManifestReaderWriter
-
- All Implemented Interfaces:
ManifestReaderWriter
- Enclosing class:
- SitesArchiver
private class SitesArchiver.SitesArchiverManifestReaderWriter extends Object implements ManifestReaderWriter
-
-
Constructor Summary
Constructors Modifier Constructor Description private
SitesArchiverManifestReaderWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private Stream<PartialImport>
_allSitesToPartialImports()
private Collection<String>
_castToCollection(Object data)
private Stream<PartialImport>
_sitesDataToPartialImports(Object data)
private PartialImport
_toPartialImport(String siteName)
private I18nizableText
_toPartialImportLabel(String siteName)
Object
getData()
Gets the manifest content to write related to the exported data by theArchiver
.Stream<PartialImport>
toPartialImports(Object data)
Reads the available partial imports from the given raw JSON data
-
-
-
Constructor Detail
-
SitesArchiverManifestReaderWriter
private SitesArchiverManifestReaderWriter()
-
-
Method Detail
-
getData
public Object getData()
Description copied from interface:ManifestReaderWriter
Gets the manifest content to write related to the exported data by theArchiver
.- Specified by:
getData
in interfaceManifestReaderWriter
- Returns:
- the manifest content to write
-
toPartialImports
public Stream<PartialImport> toPartialImports(Object data)
Description copied from interface:ManifestReaderWriter
Reads the available partial imports from the given raw JSON data- Specified by:
toPartialImports
in interfaceManifestReaderWriter
- Parameters:
data
- The raw JSON data- Returns:
- the available partial imports
-
_allSitesToPartialImports
private Stream<PartialImport> _allSitesToPartialImports()
-
_sitesDataToPartialImports
private Stream<PartialImport> _sitesDataToPartialImports(Object data)
-
_castToCollection
private Collection<String> _castToCollection(Object data)
-
_toPartialImport
private PartialImport _toPartialImport(String siteName)
-
_toPartialImportLabel
private I18nizableText _toPartialImportLabel(String siteName)
-
-