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
  • Constructor Details

    • ConfluenceUserFinder

      public ConfluenceUserFinder(ConfluenceUserDao confluenceUserDao)
  • Method Details

    • doSecondStageFind

      public Map<ImportedObjectV2,com.atlassian.sal.api.user.UserKey> doSecondStageFind(List<ImportedObjectV2> importedObjectPartition)
      Specified by:
      doSecondStageFind in class AbstractUserEntityFinder
      Parameters:
      importedObjectPartition -
      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