Class Mergers.DeleteBefore
- java.lang.Object
-
- org.ametys.plugins.contentio.archive.Mergers.DeleteBefore
-
- All Implemented Interfaces:
Merger
- Enclosing class:
- Mergers
private static class Mergers.DeleteBefore extends Object implements Merger
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ametys.plugins.contentio.archive.Merger
Merger.AfterMerge
-
-
Constructor Summary
Constructors Modifier Constructor Description private
DeleteBefore()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
deleteBeforePartialImport()
int
getImportUuidBehavior()
Gets the UUID Behavior for JCR import
SeeImportUUIDBehavior
andSession.importXML(String, java.io.InputStream, int)
Merger.AfterMerge
merge(String id)
Merges the existing object with given idboolean
needsMerge(String id)
Returnstrue
if the object with the given id needs to be merged-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.ametys.plugins.contentio.archive.Merger
jcrImportXml
-
-
-
-
Constructor Detail
-
DeleteBefore
private DeleteBefore()
-
-
Method Detail
-
deleteBeforePartialImport
public boolean deleteBeforePartialImport()
Description copied from interface:Merger
- Specified by:
deleteBeforePartialImport
in interfaceMerger
- Returns:
true
if existing objects must be deleted
-
needsMerge
public boolean needsMerge(String id)
Description copied from interface:Merger
Returnstrue
if the object with the given id needs to be merged- Specified by:
needsMerge
in interfaceMerger
- Parameters:
id
- The id- Returns:
true
if the object with the given id needs to be merged
-
merge
public Merger.AfterMerge merge(String id)
Description copied from interface:Merger
Merges the existing object with given id
-
getImportUuidBehavior
public int getImportUuidBehavior()
Description copied from interface:Merger
Gets the UUID Behavior for JCR import
SeeImportUUIDBehavior
andSession.importXML(String, java.io.InputStream, int)
- Specified by:
getImportUuidBehavior
in interfaceMerger
- Returns:
- the UUID Behavior
-
-