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
protected static class ImpExImportJob.MyImpExImportReader extends ImpExImportReader
-
-
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 MyImpExImportReader(CSVReader reader, boolean legacyMode, java.lang.String prefixForMediaLookup)MyImpExImportReader(CSVReader reader, CSVWriter dumpWriter, ImportProcessor 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.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, 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, 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 Detail
-
MyImpExImportReader
public MyImpExImportReader(CSVReader reader, boolean legacyMode, java.lang.String prefixForMediaLookup)
-
MyImpExImportReader
public MyImpExImportReader(CSVReader reader, CSVWriter dumpWriter, ImportProcessor 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
-
-