Class ConfluenceUserFinder
- java.lang.Object
-
- com.atlassian.confluence.impl.backuprestore.restore.idmapping.finders.AbstractUserEntityFinder
-
- com.atlassian.confluence.impl.backuprestore.restore.idmapping.finders.ConfluenceUserFinder
-
- All Implemented Interfaces:
ExistingEntityFinder
public class ConfluenceUserFinder extends AbstractUserEntityFinder
Finds users by lower usernames for server imports. This finder must not be created and used for site imports because all users should be persisted as is.- Since:
- 8.1.0
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.impl.backuprestore.restore.idmapping.finders.AbstractUserEntityFinder
confluenceUserDao
-
-
Constructor Summary
Constructors Constructor Description ConfluenceUserFinder(ConfluenceUserDao confluenceUserDao)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<ImportedObjectV2,com.atlassian.sal.api.user.UserKey>
doSecondStageFind(List<ImportedObjectV2> importedObjectPartition)
Class<?>
getSupportedClass()
boolean
isSupportedJobSource(JobSource jobSource)
-
Methods inherited from class com.atlassian.confluence.impl.backuprestore.restore.idmapping.finders.AbstractUserEntityFinder
findExistingObjectIds
-
-
-
-
Constructor Detail
-
ConfluenceUserFinder
public ConfluenceUserFinder(ConfluenceUserDao confluenceUserDao)
-
-
Method Detail
-
doSecondStageFind
public Map<ImportedObjectV2,com.atlassian.sal.api.user.UserKey> doSecondStageFind(List<ImportedObjectV2> importedObjectPartition)
- Specified by:
doSecondStageFind
in classAbstractUserEntityFinder
- Returns:
- Map of import objects and their UserKeys if they were found.
-
getSupportedClass
public Class<?> getSupportedClass()
- Returns:
- the entity class that is processed by this finder
-
isSupportedJobSource
public boolean isSupportedJobSource(JobSource jobSource)
- Returns:
- the JobSource this finder accepts
-
-