Package de.hybris.platform.ldap.jobs
Interface LDIFImportStrategy
-
- All Known Implementing Classes:
DefaultLDIFImportStrategy
public interface LDIFImportStrategyInterface for creating Impex configuration and importing, based on ldif file and configuration file.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidexecuteFileBasedImport(LDIFMediaModel ldifMediaModel)Main method for generating script and importing proper data, executing in all import modes.voidexecuteFileSearchBasedImport(java.util.Map<java.lang.String,java.lang.String> searchAttributes)Method used for performing ldif file based on LDAP search.voidexecuteFileSearchBasedUserImport(java.util.Map<java.lang.String,java.lang.String> searchAttributes)Method used for performing ldif file based on LDAP search.
-
-
-
Method Detail
-
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(java.util.Map<java.lang.String,java.lang.String> searchAttributes) throws LDAPImportExceptionMethod 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(java.util.Map<java.lang.String,java.lang.String> searchAttributes) throws LDAPImportExceptionMethod 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
-
-