Class CompoundExistingEntityFinder
java.lang.Object
com.atlassian.confluence.impl.backuprestore.restore.idmapping.finders.CompoundExistingEntityFinder
- All Implemented Interfaces:
ExistingEntityFinder
This is a class which could compound the result of multiple
ExistingEntityFinder
which has same supported class and same job source- Since:
- 8.3.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindExistingObjectIds
(Collection<ImportedObjectV2> objects) Finds already existing objects in the database.Class<?>
boolean
isSupportedJobSource
(JobSource jobSource) All inner finderList must support same supported jobSource
-
Constructor Details
-
CompoundExistingEntityFinder
-
-
Method Details
-
getFinderList
-
findExistingObjectIds
Description copied from interface:ExistingEntityFinder
Finds already existing objects in the database.- Specified by:
findExistingObjectIds
in interfaceExistingEntityFinder
- Parameters:
objects
- collection of imported objects- Returns:
- map where key is the importing object and value is the id of the alredy existing object.
-
getSupportedClass
- Specified by:
getSupportedClass
in interfaceExistingEntityFinder
- Returns:
- the entity class that is processed by this finder
-
isSupportedJobSource
All inner finderList must support same supported jobSource- Specified by:
isSupportedJobSource
in interfaceExistingEntityFinder
- Parameters:
jobSource
-- Returns:
-