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 privateSitesArchiverManifestReaderWriter()
-
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)ObjectgetData()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:ManifestReaderWriterGets the manifest content to write related to the exported data by theArchiver.- Specified by:
getDatain interfaceManifestReaderWriter- Returns:
- the manifest content to write
-
toPartialImports
public Stream<PartialImport> toPartialImports(Object data)
Description copied from interface:ManifestReaderWriterReads the available partial imports from the given raw JSON data- Specified by:
toPartialImportsin 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)
-
-