Class ImportBatchParser.BatchingImpexReader
- java.lang.Object
-
- de.hybris.platform.impex.jalo.ImpExReader
-
- de.hybris.platform.impex.distributed.batch.impl.ImportBatchParser.BatchingImpexReader
-
- Enclosing class:
- ImportBatchParser
public static class ImportBatchParser.BatchingImpexReader extends ImpExReader
-
-
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 BatchingImpexReader(ImportBatchHandler batchHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(AbstractCodeLine line, java.util.Map csvLine)Executes the code line at the bean shell.AbstractCodeLinegetAfterEachExpr()protected booleanprocessMarkerCodeLine(AbstractCodeLine line)Processes the special logic of the marker set to the given code line and returns true, if the code line should be executed or the marker prohibits the execution.-
Methods inherited from class de.hybris.platform.impex.jalo.ImpExReader
addDefinition, addExternalDataMedia, addExternalDataMedias, addHeaderExceptionInfoAsComment, addHeaderReplacementRule, addToBeanShellContext, adjustLineIndexes, applyHeaderReplacements, assureBeanShellLoaded, checkDefinitonKey, close, createCodeLine, createCodeLineLegacyWay, createCodeLineModernWay, createInvalidHeader, createNewHeader, createValueLine, debug, debug, enableCodeExecution, enableExternalCodeExecution, enableExternalDataCodeExecution, enableExternalImpExSyntaxParsing, enableExternalSyntaxParsing, enterIfBlock, error, error, execute, exitIfBlock, findExternalDataMedia, findExternalDataMedia, findMarker, getAllExternalDataMediaCodes, getAttributeConstraintFilter, getBeforeEachCode, getCellDecorators, getCSVReader, getCurrentHeader, getCurrentLocation, getCurrentReader, getDefaultReplacements, getDocumentIDRegistry, getFromBeanShellContext, getInvalidHeaderPolicy, getLineSize, getLocale, getScriptExecutionContext, getStrictMode, getValidationMode, 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, readLine, readNextCSVLine, removeExternalDataMedia, removeExternalDataMedias, replaceDefinitions, setAttributeConstraintFilter, setBeanShellContext, setBeforeEachCode, setCellDecorators, setCurrentHeader, setCurrentHeader, setInvalidHeaderPolicy, setLocale, setRelaxedMode, setRelaxedMode, setValidationMode, setValidationMode, sortRulesList, splitDefinitonCell, storeUserRightsLine, warn, warn, writeUserRightsLines
-
-
-
-
Constructor Detail
-
BatchingImpexReader
public BatchingImpexReader(ImportBatchHandler batchHandler)
-
-
Method Detail
-
execute
public void execute(AbstractCodeLine line, java.util.Map csvLine)
Description copied from class:ImpExReaderExecutes the code line at the bean shell.- Overrides:
executein classImpExReader- Parameters:
line- the code linecsvLine- current line object for context variable 'line'
-
processMarkerCodeLine
protected boolean processMarkerCodeLine(AbstractCodeLine line) throws ImpExException
Description copied from class:ImpExReaderProcesses the special logic of the marker set to the given code line and returns true, if the code line should be executed or the marker prohibits the execution.- Overrides:
processMarkerCodeLinein classImpExReader- Parameters:
line- the code line with set marker- Returns:
- true, if line has to be executed
- Throws:
ImpExException- the marker set to the code line is unknown
-
getAfterEachExpr
public AbstractCodeLine getAfterEachExpr()
-
-