Class ImpExImportJob.MyMultiThreadedImpExImportReader
- java.lang.Object
-
- de.hybris.platform.impex.jalo.ImpExReader
-
- de.hybris.platform.impex.jalo.imp.ImpExImportReader
-
- de.hybris.platform.impex.jalo.imp.MultiThreadedImpExImportReader
-
- de.hybris.platform.impex.jalo.cronjob.ImpExImportJob.MyMultiThreadedImpExImportReader
-
- Enclosing class:
- ImpExImportJob
protected static class ImpExImportJob.MyMultiThreadedImpExImportReader extends MultiThreadedImpExImportReader
-
-
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
Constructors Constructor Description MyMultiThreadedImpExImportReader(CSVReader reader, boolean legacyMode, java.lang.String prefixForMediaLookup)MyMultiThreadedImpExImportReader(CSVReader reader, CSVWriter dumpWriter, MultiThreadedImportProcessor processor, boolean legacyMode, java.lang.String prefixForMediaLookup)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImpExMediafindExternalDataMedia(java.lang.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.MultiThreadedImpExImportReader
addNewWorker, addReadingError, addResult, createNewHeader, createWorker, discardNextLine, dumpNextLine, ensureValidHeaderOrMarkUnresolved, execute, fetchNextValueLine, fetchNextWorkerResult, getAllocatedThreads, getInitialThreads, getLogFilter, getMaxThreads, handOffToResultProcessorWorker, hasUnrecoverableError, isAllWorkerFinished, isInParallelMode, isReaderFinished, isResultProcessorFinished, mustMarkLineAsUnresolved, postProcessValueLine, postProcessValueLineInternal, processLine, processPendingResult, processValueLineFromWorker, readLine, readLineFromWorker, setCurrentHeader, setDumpingAllowed, setLogFilter, setMaxThreads, tryAllocateWorkers, tryToBorrowThread, tryToBorrowThread, writeUserRightsLines
-
Methods inherited from class de.hybris.platform.impex.jalo.imp.ImpExImportReader
close, createValueLine, dumpNextLine, dumpUnresolvedLine, findMarker, getAfterEachCode, getCSVWriter, getCurrentValueLine, getCustomImportProcessor, getDumpedLineCount, getDumpedLineCountPerHeader, getForEachCode, getImportProcessor, getLastImportedItem, getLastImportedItemLineNumber, getLastImportedLine, getProcessedItemsCount, getProcessedItemsCountPerHeader, getResolvedItemsCount, getScriptExecutionContext, getValidationMode, getValueLineCount, incDumpCount, incItemsCount, isCreateHMCSavedValues, isDumpingAllowed, isLegacyMode, isSecondPass, preProcessLine, processMarkerCodeLine, readAll, setAfterEachCode, setBeanShellContext, setCreateHMCSavedValues, setCSVWriter, setForEachCode, setIsSecondPass, setValueLinesToSkip
-
Methods inherited from class de.hybris.platform.impex.jalo.ImpExReader
addDefinition, addExternalDataMedia, addExternalDataMedias, addHeaderExceptionInfoAsComment, addHeaderReplacementRule, addToBeanShellContext, adjustLineIndexes, applyHeaderReplacements, assureBeanShellLoaded, checkDefinitonKey, createCodeLine, createCodeLineLegacyWay, createCodeLineModernWay, createInvalidHeader, debug, debug, enableCodeExecution, enableExternalCodeExecution, enableExternalDataCodeExecution, enableExternalImpExSyntaxParsing, enableExternalSyntaxParsing, enterIfBlock, error, error, 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
-
-
-
-
Constructor Detail
-
MyMultiThreadedImpExImportReader
public MyMultiThreadedImpExImportReader(CSVReader reader, boolean legacyMode, java.lang.String prefixForMediaLookup)
-
MyMultiThreadedImpExImportReader
public MyMultiThreadedImpExImportReader(CSVReader reader, CSVWriter dumpWriter, MultiThreadedImportProcessor processor, boolean legacyMode, java.lang.String prefixForMediaLookup)
-
-
Method Detail
-
findExternalDataMedia
public ImpExMedia findExternalDataMedia(java.lang.String code) throws JaloBusinessException
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
-
-