Package org.ametys.plugins.contentio.archive
package org.ametys.plugins.contentio.archive
-
ClassDescription
Enumerator
for listing available archives for import.Archive data on disk.Component responsible to archive data.Extention point forArchiver
.Convenient methods forArchiver
API implementationsException indicating an Ametys Object cannot be importedArchives contents in /ametys:root/ametys:contentsExport a contents collection as individual XML files.A filler in order to fill additional attributes on imported contentsDefault implementation of aPluginArchiver
.Job for archiving data on disk, for backup or other purposes.ForMergers.IGNORE
, we need to use session.getImportContentHandler and filter the SAX events from the XML input stream
For all <sv:property sv:name="jcr:uuid" sv:type="String"> and get their <sv:value>, query the repository to check if it already exists and if it should be ignored
And for each sax event of sv:node if exists in the repository => ignore the node import if does not exist in the repository => send SAX eventClientSideElement
for import archive button.ARunnable
which schedules aImportArchiveSchedulable
for importing data from an archive.Job for importing data from an archive.An exception which must propagate and stop the global import process.A report of an import ,whether it is a global, partial or unitary one.An error during an import, which can beadded
to anImportReport
The manifest reader/writer, which is responsible to write into the Manifest file the exposedPartialImport
s, and to read from a Manifest file those exposedPartialImport
s.Exception which can be thrown during a merge.The policy to apply when trying to import an object with same identifier as an existing object.Enumerator
for listing merge policies for import.A merger, which is responsible to handle UUID collision when encountered.The result ofMerger.merge(java.lang.String)
.The component holding theMerger
implementationsA partial import, i.e.Component responsible to archive plugin data.Extention point forPluginArchiver
.Archives resources in /ametys:pluginsRetrieves the additional data of resources types (files, binaries, rich texts)Archives resources in /ametys:root/ametys:resourcesExport a resources collection as individual files.ContentHandler filtering first level elements from the JCR system view export of a plugin Node.Unitary importer of an abstract object into Ametys.Utility class to retrievePath
representing folders or files under a ZIP archive.