Class ImpExImportJob.MyImpExImportReader
java.lang.Object
de.hybris.platform.impex.jalo.ImpExReader
de.hybris.platform.impex.jalo.imp.ImpExImportReader
de.hybris.platform.impex.jalo.cronjob.ImpExImportJob.MyImpExImportReader
- Enclosing class:
- ImpExImportJob
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.impex.jalo.ImpExReader
ImpExReader.ResultSetCSVReader -
Field Summary
Fields inherited from class de.hybris.platform.impex.jalo.ImpExReader
FIRST -
Constructor Summary
ConstructorsConstructorDescriptionMyImpExImportReader(CSVReader reader, boolean legacyMode, String prefixForMediaLookup) MyImpExImportReader(CSVReader reader, CSVWriter dumpWriter, ImportProcessor processor, boolean legacyMode, String prefixForMediaLookup) -
Method Summary
Modifier and TypeMethodDescriptionfindExternalDataMedia(String code) Searches the media with the given code in the context of the reader and returns it.Methods inherited from class de.hybris.platform.impex.jalo.imp.ImpExImportReader
close, createValueLine, discardNextLine, dumpNextLine, dumpNextLine, dumpUnresolvedLine, ensureValidHeaderOrMarkUnresolved, findMarker, getAfterEachCode, getCSVWriter, getCurrentValueLine, getCustomImportProcessor, getDumpedLineCount, getDumpedLineCountPerHeader, getForEachCode, getImportProcessor, getLastImportedItem, getLastImportedItemLineNumber, getLastImportedLine, getProcessedItemsCount, getProcessedItemsCountPerHeader, getResolvedItemsCount, getScriptExecutionContext, getValidationMode, getValueLineCount, incDumpCount, incItemsCount, isCreateHMCSavedValues, isDumpingAllowed, isLegacyMode, isSecondPass, postProcessValueLine, preProcessLine, processLine, processMarkerCodeLine, readAll, readLine, setAfterEachCode, setBeanShellContext, setCreateHMCSavedValues, setCSVWriter, setCurrentHeader, setDumpingAllowed, setForEachCode, setIsSecondPass, setValueLinesToSkipMethods inherited from class de.hybris.platform.impex.jalo.ImpExReader
addDefinition, addExternalDataMedia, addExternalDataMedias, addHeaderExceptionInfoAsComment, addHeaderReplacementRule, addToBeanShellContext, adjustLineIndexes, applyHeaderReplacements, assureBeanShellLoaded, checkDefinitonKey, createCodeLine, createCodeLineLegacyWay, createCodeLineModernWay, createInvalidHeader, createNewHeader, debug, debug, enableCodeExecution, enableExternalCodeExecution, enableExternalDataCodeExecution, enableExternalImpExSyntaxParsing, enableExternalSyntaxParsing, enterIfBlock, error, error, execute, execute, exitIfBlock, findExternalDataMedia, getAllExternalDataMediaCodes, getAttributeConstraintFilter, getBeforeEachCode, getCellDecorators, getCSVReader, getCurrentHeader, getCurrentLocation, getCurrentReader, getDefaultReplacements, getDocumentIDRegistry, getFromBeanShellContext, getInvalidHeaderPolicy, getLineSize, getLocale, getStrictMode, gotInsertedLines, hasCellDecorators, includeExternalData, includeExternalData, includeExternalData, includeExternalData, includeExternalData, includeExternalData, includeExternalData, includeExternalData, includeExternalData, includeExternalData, includeExternalDataMedia, includeExternalDataMedia, includeExternalDataMedia, includeExternalDataMedia, includeExternalDataMedia, includeExternalDataMedia, includeExternalDataMedia, includeExternalDataMedia, includeExternalDataMedia, includeExternalDataMedia, includeSQLData, includeSQLData, includeSQLData, info, info, initDatabase, insertLine, isCodeExecutionEnabled, isCodeLine, isCombinedSearchEnabled, isCommentLine, isDebugEnabled, isDefinition, isEmptyLine, isEndUserRights, isExternalCodeExecutionEnabled, isExternalSyntaxParsingEnabled, isHeaderLine, isIncludingExternalData, isInfoEnabled, isNotInInactiveIfBlock, isStartUserRights, legacyExecute, lineToList, modernExecute, parseHeader, parseHeader, parseHeader, parseHeader, processCodeLine, readNextCSVLine, removeExternalDataMedia, removeExternalDataMedias, replaceDefinitions, setAttributeConstraintFilter, setBeforeEachCode, setCellDecorators, setCurrentHeader, setInvalidHeaderPolicy, setLocale, setRelaxedMode, setRelaxedMode, setValidationMode, setValidationMode, sortRulesList, splitDefinitonCell, storeUserRightsLine, warn, warn, writeUserRightsLines
-
Constructor Details
-
MyImpExImportReader
-
MyImpExImportReader
public MyImpExImportReader(CSVReader reader, CSVWriter dumpWriter, ImportProcessor processor, boolean legacyMode, String prefixForMediaLookup)
-
-
Method Details
-
findExternalDataMedia
Description copied from class:ImpExReaderSearches the media with the given code in the context of the reader and returns it.- Overrides:
findExternalDataMediain classImpExReader- Parameters:
code- code of the media- Returns:
- media with given code or null if no data is found
- Throws:
JaloBusinessException- a media with the code was found but has had no data attached
-