| Modifier and Type | Method and Description |
|---|---|
void |
ClassificationAttributeTranslator.notifyTranslationEnd(ValueLine line,
HeaderDescriptor header,
Item processedItem) |
Collection<UnitAwareValue> |
ClassificationAttributeTranslator.translateCurrentUnitAwareValues(ValueLine line,
ClassAttributeAssignment assignment,
Product processedItem) |
Collection<Object> |
ClassificationAttributeTranslator.translateCurrentValues(ValueLine line,
ClassAttributeAssignment assignment,
Product processedItem)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Item |
ImpExImportCUDHandler.create(ComposedType targetType,
Map<String,Object> values,
ValueLine valueLine)
Process creation of new item.
|
void |
ImpExImportCUDHandler.delete(Item toRemove,
ValueLine valueLine)
Process delete operation.
|
Map<? extends StandardColumnDescriptor,T> |
ValueLineTranslator.translateColumnValues(Collection<? extends StandardColumnDescriptor> columnDescriptors,
ValueLine valueLine,
ItemModel existingItemModel) |
void |
ImpExImportCUDHandler.update(Item toUpdate,
Map<String,Object> values,
ValueLine valueLine)
Process update operation.
|
| Modifier and Type | Method and Description |
|---|---|
String |
ImportDataDumpStrategy.dump(ValueLine valueLine)
Dumps single
ValueLine object into String representation of an ImpEx import. |
| Modifier and Type | Method and Description |
|---|---|
String |
ImportDataDumpStrategy.dump(List<ValueLine> valueLines)
Dumps collection of
ValueLine objects into String representation of an ImpEx import. |
| Modifier and Type | Method and Description |
|---|---|
ValueLine |
BatchData.ImportData.getValueLine() |
| Modifier and Type | Method and Description |
|---|---|
String |
DefaultImportDataDumpStrategy.dump(ValueLine valueLine) |
| Modifier and Type | Method and Description |
|---|---|
String |
DefaultImportDataDumpStrategy.dump(List<ValueLine> valueLines) |
| Constructor and Description |
|---|
ImportData(BatchData myBatch,
ValueLine valueLine,
Set<StandardColumnDescriptor> descriptorsForCurrentMode,
SortedMap<StandardColumnDescriptor,Object> uniqueValues,
Map<StandardColumnDescriptor,Object> currentModeValues) |
| Constructor and Description |
|---|
BatchData(ImportDataDumpStrategy dumpStrategy,
ImportBatchParser.BatchingImpexReader reader,
HeaderDescriptor headerDescriptor,
List<ValueLine> valueLines) |
| Modifier and Type | Field and Description |
|---|---|
protected ValueLine |
InsufficientDataException.valueLine |
| Modifier and Type | Method and Description |
|---|---|
ValueLine |
InsufficientDataException.getValueLine() |
| Constructor and Description |
|---|
InsufficientDataException(ValueLine line,
String message,
InsufficientDataException.ErrorCode detail) |
InsufficientDataException(ValueLine line,
String messge,
InsufficientDataException.ErrorCode detail,
Throwable exThrowable) |
| Modifier and Type | Method and Description |
|---|---|
protected ValueLine |
ImpExReader.createValueLine(HeaderDescriptor header,
Map<Integer,String> line)
Creates from a line which represents a data row a value line.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
ImpExImportJob.MyImportProcessor.getSavedValuesMessage(SavedValues savedValues,
Item existingItem,
ValueLine valueLine) |
protected String |
ImpExImportJob.MyMultiThreadedImportProcessor.getSavedValuesMessage(SavedValues savedValues,
Item existingItem,
ValueLine valueLine) |
| Modifier and Type | Method and Description |
|---|---|
void |
SpecialColumnDescriptor.notifyTranslationEnd(ValueLine line,
HeaderDescriptor header,
PK processedItemPK) |
| Modifier and Type | Method and Description |
|---|---|
ValueLine |
ValueLine.createCopy()
Creates a copy of this value except the assigned item, unresolved flag and/or hidden value lines.
|
protected ValueLine |
ImpExImportReader.createValueLine(HeaderDescriptor header,
Map<Integer,String> line) |
protected ValueLine |
MultiThreadedImpExImportReader.fetchNextValueLine(ImpExWorker worker) |
ValueLine |
ImpExImportReader.getCurrentValueLine()
Returns the ValueLine which is currently processed.
|
ValueLine |
ImpExImportReader.getLastImportedLine() |
ValueLine |
ImpExWorkerResult.getLine() |
ValueLine |
ItemConflictException.getLine()
Gets the value line which defines the attributes for a new item creation and are in conflict to the existing item.
|
ValueLine |
InsufficientDataException.getValueLine() |
| Modifier and Type | Method and Description |
|---|---|
Collection<ValueLine> |
ValueLine.createCopies(int count)
Creates a number of copies of this line without copying the potentially assigned item pk, unresolved flags and/or
hidden value lines.
|
Collection<ValueLine> |
ValueLine.getHiddenLines()
Gets all hidden lines.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ValueLine.addHiddenLine(ValueLine line)
Adds another value line mainly created by the
createCopy() method, representing another item resolved by
this value line. |
protected void |
DefaultImportProcessor.assertTargetTypePermitted(HeaderDescriptor header,
ComposedType targetType,
ValueLine valueLine) |
Item |
DefaultImpExImportCUDHandler.create(ComposedType targetType,
Map<String,Object> values,
ValueLine valueLine) |
protected void |
DefaultExistingItemResolver.createLookupTableEntry(ValueLine valueLine,
AbstractColumnDescriptor acd) |
protected void |
DefaultExistingItemResolver.createLookupTableEntryIfNeeded(ValueLine valueLine) |
protected QueryParameters |
DefaultExistingItemResolver.createQueryParameters(ValueLineTranslator valueLineTranslator,
ValueLine line) |
void |
DefaultImpExImportCUDHandler.delete(Item toRemove,
ValueLine valueLine) |
protected Item |
DefaultImpExImportCUDHandler.doCreate(ComposedType targetType,
Map<String,Object> values,
ValueLine valueLine) |
protected void |
DefaultImpExImportCUDHandler.doUpdate(Item toUpdate,
Map<String,Object> values,
ValueLine valueLine)
Do update operation on passed as parameter item.
|
protected void |
DefaultImpExImportCUDHandler.doUpdateReadOnlyAttributes(Item toUpdate,
Map<String,Object> values,
ValueLine valueLine)
Updates all attributes which are read-only but having an force write option manually (because they can not be
processed by setAllAttributes).
|
protected void |
ImpExImportReader.dumpUnresolvedLine(ValueLine line) |
protected void |
DefaultImportProcessor.enableLegacyFlagWhenLineIsUsingJaloOnlyFeatures(ValueLine line) |
protected boolean |
ImpExImportReader.ensureValidHeaderOrMarkUnresolved(ValueLine valueLine) |
protected boolean |
MultiThreadedImpExImportReader.ensureValidHeaderOrMarkUnresolved(ValueLine valueLine) |
Collection |
CachingExistingItemResolver.findExisting(ValueLineTranslator valueTranslator,
ValueLine line) |
Collection |
ExistingItemResolver.findExisting(ValueLineTranslator valueLineTranslator,
ValueLine line) |
Collection<Item> |
DefaultExistingItemResolver.findExisting(ValueLineTranslator valueLineTranslator,
ValueLine line) |
protected SessionContext |
MultiThreadedImportProcessor.getCreationContext(ComposedType targetType,
Map<StandardColumnDescriptor,Object> attributeValueMappings,
ValueLine valueLine)
Switching off TA for creation of items in parallel mode due to deadlocks.
|
protected SessionContext |
DefaultImportProcessor.getCreationContext(ComposedType targetType,
Map<StandardColumnDescriptor,Object> attributeValueMappings,
ValueLine valueLine) |
protected ExistingItemResolver |
DefaultImportProcessor.getExistingItemResolver(ValueLine valueLine) |
ImpExImportCUDHandler |
DefaultImportProcessor.getHandlerForLine(ValueLine line) |
protected String |
DefaultImportProcessor.getSavedValuesMessage(SavedValues savedValues,
Item existingItem,
ValueLine valueLine) |
protected Map<String,Object> |
DefaultImpExImportCUDHandler.getSessionParameters(ValueLine valueLine) |
protected ValueLineTranslator |
DefaultImportProcessor.getValueLineTranslator(ValueLine valueLine) |
protected void |
DefaultImportProcessor.handleExceptionDuringImport(ValueLine valueLine,
Exception e,
ImpExProcessModeEnum mode,
String message) |
protected boolean |
DefaultImportProcessor.hasUnresolvedMandatoryOrInitialColumns(Collection<StandardColumnDescriptor> columns,
ValueLine valueLine) |
protected boolean |
MultiThreadedImpExImportReader.mustMarkLineAsUnresolved(ImpExWorkerResult result,
ValueLine line) |
void |
CachingExistingItemResolver.notifyItemCreatedOrRemoved(ValueLineTranslator valueTranlator,
ValueLine line) |
void |
ExistingItemResolver.notifyItemCreatedOrRemoved(ValueLineTranslator valueLineTranslator,
ValueLine line) |
void |
DefaultExistingItemResolver.notifyItemCreatedOrRemoved(ValueLineTranslator valueLineTranslator,
ValueLine line) |
protected void |
ImpExImportReader.postProcessValueLine(ValueLine currentValueLine,
Item ret,
Exception error) |
protected void |
MultiThreadedImpExImportReader.postProcessValueLine(ValueLine currentValueLine,
Item ret,
Exception error)
Now does nothing since at this time the value line is just put into queue and no result is available yet.
|
protected void |
MultiThreadedImpExImportReader.postProcessValueLineInternal(ValueLine currentValueLine,
AbstractProcessResult ret,
Exception error)
Real post processing of lines after the worker finished importing.
|
protected de.hybris.platform.impex.jalo.imp.ImpExImportReader.PreProcessResult |
ImpExImportReader.preProcessLine(ValueLine valueLine)
Does pre-processing and tells if line can be imported at all.
|
protected Item |
DefaultImportProcessor.processInsertLine(Collection<Item> existingItems,
ValueLine valueLine,
ComposedType targetType) |
protected Item |
DefaultImportProcessor.processInsertLine(ValueLine valueLine,
HeaderDescriptor header,
ComposedType targetType) |
protected Item |
DefaultImportProcessor.processInsertLineInternal(Collection<Item> existingItems,
ValueLine valueLine,
ComposedType targetType) |
protected Item |
DefaultImportProcessor.processItemCreation(ComposedType targetType,
Map<StandardColumnDescriptor,Object> attributeValueMappings,
ValueLine valueLine) |
Item |
DefaultImportProcessor.processItemData_Impl(ValueLine valueLine) |
Item |
DefaultImportProcessor.processItemData_TX(ValueLine valueLine) |
Item |
MultiThreadedImportProcessor.processItemData(ValueLine valueLine)
Overwritten to release any worker locks after finishing value line processing
|
Item |
DefaultImportProcessor.processItemData(ValueLine valueLine) |
Item |
ImportProcessor.processItemData(ValueLine valueLine) |
protected void |
DefaultImportProcessor.processItemRemoval(Item toRemove,
ValueLine valueLine) |
protected void |
DefaultImportProcessor.processItemUpdate(Item toUpdate,
Map<StandardColumnDescriptor,Object> attributeValueMappings,
ValueLine valueLine) |
protected Item |
ImpExImportReader.processLine(ValueLine valueLine) |
protected Item |
MultiThreadedImpExImportReader.processLine(ValueLine valueLine)
Now enqueues the value line to be processed by one of our workers.
|
protected Item |
DefaultImportProcessor.processRemoveLine(Collection<Item> existingItems,
ValueLine valueLine) |
protected void |
DefaultImportProcessor.processRemoveLine(Item item,
ValueLine valueLine,
HeaderDescriptor header) |
protected void |
DefaultImportProcessor.processUpdateLine(Item item,
ValueLine valueLine,
HeaderDescriptor header,
ComposedType targetType) |
protected Item |
MultiThreadedImpExImportReader.processValueLineFromWorker(ValueLine line)
Called from
ImpExWorker to trigger item data processing e.g. |
protected Collection<Item> |
DefaultExistingItemResolver.resolveByPK(ValueLine line) |
protected Collection<Item> |
DefaultExistingItemResolver.resolveByQuery(ValueLine line,
QueryParameters queryParameters) |
Map<StandardColumnDescriptor,Object> |
DefaultValueLineTranslator.translateColumnValues(Collection<StandardColumnDescriptor> columnDescriptors,
ValueLine valueLine,
Item existing) |
Map<StandardColumnDescriptor,Object> |
ValueLineTranslator.translateColumnValues(Collection<StandardColumnDescriptor> columnDescriptors,
ValueLine valueLine,
Item existing) |
protected Map<StandardColumnDescriptor,Object> |
DefaultExistingItemResolver.translateUniqueKeys(ValueLineTranslator valueLineTranslator,
ValueLine line,
Set<StandardColumnDescriptor> uniqueColumns) |
void |
DefaultImpExImportCUDHandler.update(Item toUpdate,
Map<String,Object> values,
ValueLine valueLine) |
| Constructor and Description |
|---|
ImpExWorkerResult(ImpExWorker worker,
ValueLine valueLine,
Item ret,
Exception error) |
InsufficientDataException(ValueLine line,
String message,
int errorCode) |
ItemConflictException(Item existingItem,
ValueLine line)
Deprecated.
|
ItemConflictException(PK existingItemPk,
ValueLine line)
Creates a new exception which indicates an item PK conflict.
|
| Modifier and Type | Method and Description |
|---|---|
void |
NotifiedSpecialValueTranslator.notifyTranslationEnd(ValueLine line,
HeaderDescriptor header,
Item processedItem)
Is called if all
SpecialValueTranslators used in header have been triggered. |
| Modifier and Type | Method and Description |
|---|---|
ValueLine |
ImpExValueLineError.getLine() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TestExistingItemResolver.createLookupTableEntry(ValueLine valueLine,
AbstractColumnDescriptor acd) |
protected ExistingItemResolver |
TestImportProcessor.getExistingItemResolver(ValueLine valueLine) |
| Modifier and Type | Method and Description |
|---|---|
ValueLine |
ValueLineError.getLine() |
ValueLine |
ValueLineError.getValueLine() |
| Modifier and Type | Method and Description |
|---|---|
protected Item |
SLImpexImportCUDHandler.doCreate(ComposedType targetType,
Map<String,Object> values,
ValueLine valueLine) |
protected void |
SLImpexImportCUDHandler.doUpdate(Item toUpdate,
Map<String,Object> values,
ValueLine valueLine) |
| Constructor and Description |
|---|
ValueLineError(ValueLine valueLine) |
Copyright © 2017 SAP SE. All Rights Reserved.