Interface LDIFImportStrategy

All Known Implementing Classes:
DefaultLDIFImportStrategy

public interface LDIFImportStrategy
Interface for creating Impex configuration and importing, based on ldif file and configuration file.
  • Method Details

    • executeFileBasedImport

      void executeFileBasedImport(LDIFMediaModel ldifMediaModel) throws LDAPImportException
      Main method for generating script and importing proper data, executing in all import modes.
      Parameters:
      ldifMediaModel - media model of ldif file used to create proper impex file
      Throws:
      LDAPImportException
    • executeFileSearchBasedImport

      void executeFileSearchBasedImport(Map<String,String> searchAttributes) throws LDAPImportException
      Method used for performing ldif file based on LDAP search. Method is common also for user import (determined by userMode).
      Parameters:
      searchAttributes - list of attributes used for LDAP search
      Throws:
      LDAPImportException
    • executeFileSearchBasedUserImport

      void executeFileSearchBasedUserImport(Map<String,String> searchAttributes) throws LDAPImportException
      Method used for performing ldif file based on LDAP search. Executed when usermode is true.
      Parameters:
      searchAttributes - list of attributes used for LDAp search and for executing user import
      Throws:
      LDAPImportException