| Modifier and Type | Method and Description |
|---|---|
ImportConfig |
ImportConfigStrategy.createImportConfig(ItemImportTaskData ctx)
Creates an ImpEx ImportConfig
|
| Modifier and Type | Method and Description |
|---|---|
ImportConfig |
DefaultImportConfigStrategy.createImportConfig(ItemImportTaskData ctx) |
void |
DefaultImportConfigStrategyUnitTest.testCreateResourceThrowsImpExException() |
void |
DefaultImportConfigStrategyUnitTest.testDistributedImpExIsFalseAndSldIsFalse() |
void |
DefaultImportConfigStrategyUnitTest.testDistributedImpExIsFalseAndSldIsTrue() |
void |
DefaultImportConfigStrategyUnitTest.testDistributedImpExIsTrueAndSldIsFalse() |
void |
DefaultImportConfigStrategyUnitTest.testDistributedImpExIsTrueAndSldIsTrue() |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultItemImportFacadeUnitTest.setUp() |
| Modifier and Type | Method and Description |
|---|---|
void |
ImportErrorsConverterUnitTest.testDoesNotAttemptToCollectErrorsWhenResultIsSuccessful() |
| Modifier and Type | Method and Description |
|---|---|
ImpExResource |
ImpExResourceFactory.createResource(ItemImportTaskData ctx)
Creates an import resource for the specified import context.
|
void |
ImpexHeaderValidator.validateImpexHeader(String header,
String macros) |
| Modifier and Type | Method and Description |
|---|---|
ImpExResource |
DataHubImpExResourceFactory.createResource(ItemImportTaskData ctx) |
protected InputStream |
DataHubImpExResourceFactory.createScriptStream(ItemImportTaskData ctx)
Creates an input stream to read the final ImpEx script content, which includes the data, because the original
script does not contain actual data.
|
protected List<ImpExFragment> |
DataHubImpExResourceFactory.extractFragments(ItemImportTaskData ctx)
Reads ImpEx script from the input stream and splits it into the logical fragments based on the script content.
|
List<ImpExFragment> |
FragmentReader.readScriptFragments(ItemImportTaskData ctx)
Reads an ImpEx script and splits it into fragments.
|
List<ImpExFragment> |
DefaultFragmentReader.readScriptFragments(ItemImportTaskData ctx) |
void |
DataHubImpExResourceFactoryUnitTest.testCreatesAnInputStreamThatReadsAllFragmentsSequentiallyFromOriginalInputStream() |
void |
DefaultFragmentReaderUnitTest.testInjectFacadeIntoTheDataFragment() |
void |
DefaultFragmentReaderUnitTest.testPreservesTheOrderOfTheFragmentsAsInTheOriginalScript() |
void |
DefaultFragmentReaderUnitTest.testSplitsImpexScriptIntoLogicalBlocks() |
void |
DataHubImpExResourceFactoryUnitTest.testThrowsExceptionWhenFailedToReadFragmentContent() |
void |
DataHubImpExResourceFactoryUnitTest.testUsesExplicitlyAssignedReader() |
void |
DefaultImpexHeaderValidator.validateImpexHeader(String header,
String macros) |
protected void |
DataHubDataFragment.validateImpexHeader(String header,
String macros) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ImpexRunListener.importCsv(String csvFile,
String encoding)
Imports given csv file from classpath using given encoding.
|
protected void |
ImpexRunListener.importStream(InputStream inputStream,
String encoding,
String resourceName) |
| Modifier and Type | Method and Description |
|---|---|
void |
BMECatClassificationAttributeTranslator.performImport(String cellValue,
Item processedItem) |
| Modifier and Type | Method and Description |
|---|---|
void |
ClassificationAttributeTranslator.notifyTranslationEnd(ValueLine line,
HeaderDescriptor header,
Item processedItem) |
String |
ClassificationAttributeTranslator.performExport(Item item) |
void |
ClassificationAttributeTranslator.performImport(String cellValue,
Item processedItem) |
void |
ClassificationAttributeTranslatorTest.testEmptyValue() |
void |
ClassificationAttributeTranslatorTest.testIllegalClAttrTypeImport() |
void |
ClassificationAttributeTranslatorTest.testPLA10283() |
void |
ClassificationAttributeTranslatorTest.testSameAttributeDifferentClasses() |
| Modifier and Type | Method and Description |
|---|---|
static void |
CommentDaoTest.createCommentData() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractBundleValidationTest.importString(String impex)
Import given string as ImpEx.
|
void |
AbstractBundleValidationTest.setup() |
void |
BundleTemplateStructureValidationTest.shouldAllowDependentComponent() |
void |
BundleTemplateStructureValidationTest.shouldAllowLeafsToHaveSelectionCriteria() |
void |
BundleTemplateProductValidationTest.shouldAllowLeafWithProducts() |
void |
BundleTemplateStructureValidationTest.shouldAllowNonLeafsToHaveNoSelectionCriteria() |
void |
BundleTemplateProductValidationTest.shouldAllowNonLeafWithoutProducts() |
void |
BundleTemplateStructureValidationTest.shouldAllowRequiredComponent() |
void |
BundleTemplateStructureValidationTest.shouldDenyDisableRulesInNonLeafs() |
void |
BundleTemplateStructureValidationTest.shouldDenyNonLeafsToHaveAnyCriteria() |
void |
PriceRuleValidationTest.shouldDenyNonLeafsToHavePriceRules() |
void |
BundleTemplateStructureValidationTest.shouldDenyPriceRulesInNonLeafs() |
void |
PriceRuleValidationTest.shouldInformAboutEmptyConditionalProducts() |
void |
DisableRuleValidationTest.shouldNotDenyForeignersInTargetProducts() |
void |
DisableRuleValidationTest.shouldNotDenyMixedInTargetProducts() |
void |
BundleTemplateStructureValidationTest.shouldNotRejectForeignersInDependentComponents() |
void |
BundleTemplateStructureValidationTest.shouldNotRejectForeignersInRequiredComponents() |
void |
BundleTemplateStructureValidationTest.shouldRejectAncestorInDependingComponents() |
void |
BundleTemplateStructureValidationTest.shouldRejectAncestorInRequiredComponents() |
void |
BundleTemplateStructureValidationTest.shouldRejectNonLeafInDependingComponents() |
void |
BundleTemplateStructureValidationTest.shouldRejectNonLeafInRequiredComponents() |
void |
BundleTemplateProductValidationTest.shouldRejectNonLeafWithProducts() |
void |
BundleTemplateStructureValidationTest.shouldRejectParentInRequiredComponents() |
void |
PriceRuleValidationTest.shouldRejectRulesWithForeignTargetProducts() |
void |
BundleTemplateStructureValidationTest.shouldRejectThisInDependingComponents() |
void |
BundleTemplateStructureValidationTest.shouldRejectThisInRequiredComponents() |
void |
BundleTemplateStructureValidationTest.shouldTakeCustomMessageFromImpex() |
void |
BundleTemplateStructureValidationTest.shouldTakeDefaultMessageFromImpex() |
void |
BundleTemplateStructureValidationTest.shouldValidateOnCreate() |
void |
DisableRuleValidationTest.shouldWarnAboutEmptyConditionalProducts() |
void |
BundleTemplateProductValidationTest.shouldWarnAboutEmptyLeafs() |
void |
BundleTemplateProductValidationTest.shouldWarnAboutEmptyProductListOfLeaf() |
void |
DisableRuleValidationTest.shouldWarnAboutEmptyTargetProductList() |
void |
PriceRuleValidationTest.shouldWarnAboutEmptyTargetProductList() |
void |
PriceRuleValidationTest.shouldWarnAboutForeignersInTargetProducts() |
void |
PriceRuleValidationTest.shouldWarnAboutMixedInTargetProducts() |
void |
DisableRuleValidationTest.shouldWarnAboutStandaloneInTargetProducts() |
void |
PriceRuleValidationTest.shouldWarnAboutStandaloneInTargetProducts() |
| Modifier and Type | Method and Description |
|---|---|
void |
BundleTemplatePrepareInterceptorIntegrationTest.setUp() |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractCouponAwareCartIT.setUp() |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultRuleBasedCouponActionDaoIntegrationTest.setUp() |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultAgendaFilterCreationStrategiesTest.setUp() |
void |
DefaultAgendaFilterCreationStrategiesTest.testActionTriggerintLimitAgendaFilter() |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultRAOActionTest.setUp() |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultDroolsEngineServiceTest.setUp() |
void |
DroolsRuleValidationTest.setUp() |
void |
DefaultDroolsRuleMaintenanceServiceTest.setUp() |
void |
DroolsRuleValidationTest.testDroolsRuleInvalidCharacterInRuleCode() |
void |
DroolsRuleValidationTest.testDroolsRuleInvalidCharacterInRuleCodeValidationDisabled() |
void |
DroolsRuleValidationTest.testDroolsRuleInvalidCharacterInRuleName() |
void |
DroolsRuleValidationTest.testDroolsRuleInvalidCharacterInRuleNameValidationDisabled() |
void |
DroolsRuleValidationTest.testDroolsRuleNameAndPackageValidateInterceptorNotTriggered() |
void |
DroolsRuleValidationTest.testDroolsRuleNameAndPackageValidateInterceptorTriggeredAfterCreate() |
void |
DroolsRuleValidationTest.testDroolsRuleNameAndPackageValidateInterceptorTriggeredDuringCreate() |
| Modifier and Type | Method and Description |
|---|---|
void |
Europe1PricesTranslatorTest.testModificatedTimeByUpdatingPriceRows() |
void |
Europe1DiscountsTranslatorTest.testModificatedTimeByUpdatingProductDiscountRows() |
void |
Europe1DiscountsTranslatorTest.testModificatedTimeByUpdatingUserDiscountRows() |
| Modifier and Type | Method and Description |
|---|---|
Item |
ImpExImportCUDHandler.create(ComposedType targetType,
Map<String,Object> values,
ValueLine valueLine)
Process creation of new item.
|
void |
ImpExImportCUDHandler.update(Item toUpdate,
Map<String,Object> values,
ValueLine valueLine)
Process update operation.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
PersistableDocumentIDRegistry.addID(String qualifier,
String documentID,
long pk,
DocumentIDRegistry.MODE mode) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
ImportBatchParser.BatchingImpexReader.processMarkerCodeLine(AbstractCodeLine line) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
BatchingImportReader.processCodeLine(AbstractCodeLine line) |
| Modifier and Type | Method and Description |
|---|---|
ErrorHandler.RESULT |
ErrorHandler.handleError(ImpExException exception,
ImpExReader reader)
Evaluated the given error and finds a decision concerning the further ImpEx processing.
|
ErrorHandler.RESULT |
AlwaysFailErrorHandler.handleError(ImpExException exception,
ImpExReader reader) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
DocumentIDRegistry.addID(String qualifier,
String documentID,
long pk,
DocumentIDRegistry.MODE mode)
Adds a new mapping ID<->PK to the registry.
|
protected void |
ImpExReader.assureBeanShellLoaded()
Assures that the bean shell instance is loaded.
|
protected void |
ImpExReader.checkDefinitonKey(String newKey,
Map currentDefinitions)
Checks if a key of a definition is a prefix of an already present key.
|
ImpExExportCronJob |
ImpExManager.createDefaultExportCronJob(HeaderLibrary headerlibrary,
Collection<Item> items)
Creates an export cronjob with default values including the
DEST_MEDIA media and
ItemPKsMedia media with the given list (null for all Items of the System). |
ImpExExportCronJob |
ImpExManager.createDefaultExportCronJob(ImpExExportJob impexExportJob,
HeaderLibrary headerlibrary,
Collection<Item> items)
Creates an export cronjob with default values including the
DEST_MEDIA media and
ItemPKsMedia media with the given list (null for all Items of the System). |
Item |
ImpExManager.createItem(String type,
String attributes,
String values)
Creates any item using ImpEx specific syntax.
|
protected Item |
Importer.doImport()
Performs the
readLine method on used ImpExImportReader instance and returns read item. |
protected void |
ImpExReader.execute(AbstractCodeLine line,
Map csvLine)
Executes the code line at the bean shell.
|
protected void |
ImpExReader.execute(AbstractCodeLine line,
Map csvLine,
boolean forEachMode)
Executes the code line at the bean shell.
|
Export |
ImpExManager.exportData(ExportConfiguration config,
HeaderLibrary library,
Collection<Item> items,
boolean synchronous)
Exports data using a new
ImpExExportCronJob instance. |
Export |
ImpExManager.exportDataLight(ExportConfiguration config)
Exports data without using a cronjob.
ATTENTION: No logs are available except of these fired to the log4j system. |
Export |
ImpExManager.exportDataLight(ExportConfiguration config,
HeaderLibrary library,
Collection<Item> items)
Exports data without using a cronjob.
ATTENTION: No logs are available except of these fired to the log4j system. |
void |
Importer.importAll()
The import process will be performed from input stream given in constructor.
|
protected void |
MediaImportTest.importCsv(String data,
String encoding) |
Importer |
ImpExManager.importDataLight(CSVReader reader,
boolean codeexecution)
Imports data without using a cronjob.
Amount of maximal performed passes will be set to infinit (-1). For getting further informations about passed import process, the used Importer instance is returned.ATTENTION: No logs are available except of those fired to the log4j system. |
Importer |
ImpExManager.importDataLight(CSVReader reader,
boolean codeexecution,
int passes)
Imports data without using a cronjob.
For getting further informations about passed import process, the used Importer instance is returned.ATTENTION: No logs are available except of these fired to the log4j system. |
Importer |
ImpExManager.importDataLight(InputStream input,
String encoding,
boolean codeexecution)
Imports data without using a cronjob.
Amount of maximal performed passes will be set to infinit (-1). For getting further informations about passed import process, the used Importer instance is returned.ATTENTION: No logs are available except of these fired to the log4j system. |
void |
BeanShellImportable.importFile(File file,
String encoding,
int linesToSkip)
Creates a new temporary reader with given file and encoding and redirects the main reader to that temporary reader
for including external data.
|
void |
BeanShellImporter.importFile(File file,
String encoding,
int linesToSkip) |
Item |
Importer.importNext()
Tries to import the next item from input stream.
|
protected Item |
Importer.importNextInternal() |
void |
ImpExReader.includeExternalData(InputStream inputStream,
String encoding,
boolean setNewHeader)
Creates a new temporary reader with given input stream and encoding and redirects the main reader to that
temporary reader for including external data.
|
protected void |
MultiThreadedImporter.init() |
protected void |
Importer.init()
Initializes the instance and switches to running state.
|
protected void |
ImpExReader.legacyExecute(AbstractCodeLine line,
Map<Integer,String> csvLine) |
protected void |
ImpExReader.modernExecute(AbstractScriptingEngineCodeLine line,
Map csvLine) |
static HeaderDescriptor |
ImpExReader.parseHeader(String headerLine)
Generates a header object from given line.
|
static HeaderDescriptor |
ImpExReader.parseHeader(String headerLine,
DocumentIDRegistry docIdRegistry)
Generates a header object from given line.
|
static HeaderDescriptor |
ImpExReader.parseHeader(String headerLine,
EnumerationValue mode)
Generates a header object from given line.
|
static HeaderDescriptor |
ImpExReader.parseHeader(String headerLine,
EnumerationValue mode,
DocumentIDRegistry docIdRegistry)
Generates a header object from given line.
|
protected boolean |
Importer.prepareNextPass()
After checking the need for a next pass, it prepares the next import cycle by calling
prepareNextPass
of used DumpHandler and setting old dump file as input. |
protected void |
ImpExReader.processCodeLine(AbstractCodeLine line)
Processes given code line.
|
protected boolean |
ImpExReader.processMarkerCodeLine(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.
|
Object |
ImpExReader.readLine()
Fetches the next line, parses it and returns it encapsulated in a
HeaderDescriptor if the line was a
header definition or a ValueLine if it was a data row. |
Object |
ScriptValidationReader.readLine() |
String |
DocumentIDRegistry.registerID(String qualifier,
String documentID,
long pk)
Registers a new mapping ID<->PK to the registry.
|
void |
ImpExReader.setCurrentHeader(String headerCSVDefinition)
Generates from given header line a
HeaderDescriptor and sets it as current header for further reading
of input. |
void |
ImpExMultThreadedTest.testAfterEachInMultiThreadedImpEx() |
void |
ImpExImportTest.testAlternativePatterns()
Tests the alternative pattern syntax of header for import.
|
void |
PLA_12772_Test.testBehaviourOnExhaustedGlobalPool() |
void |
PLA_12550_Test.testCloseBeforeReaderFinished() |
void |
ImpExImportTest.testCollectionModification()
Tests adding and removing of values to an collection using the different possibilities.
|
void |
ImpExMultThreadedTest.testIgnoreMissingItemsForRemoval() |
void |
ImpExMultThreadedTest.testImport() |
void |
ImpExMultiThreadedPerformanceTest.testImport() |
void |
ImpExImportTest.testImportingPrivateAttributes()
Tests if the import of private attributes is possible.
|
void |
ImpExTranslatorTest.testMapValueTranslatorImport()
Test
importValue method of MapValueTranslator. |
void |
ImpExMultThreadedTest.testMinimalThreadSetup() |
void |
ImpExImportTest.testModeInsertUpdate()
Tests the import in insert update mode.
|
void |
ImpExImportTest.testModeRemove()
Tests the import in remove mode.
|
void |
ImpExImportTest.testModeUpdate()
Tests the import in update mode.
|
void |
ImpExImportTest.testModificatedTimeByInsertUpdate() |
void |
ImpExModifierTest.testModifierCollectionDelimiter()
Tests import of collections using different collection delimiters with modifier collection-delimiter.
|
void |
PLA_12772_Test.testMultipleTimes() |
void |
ImpExMultThreadedTest.testPLA11906() |
void |
ImpExImportTest.testReferencesWithNullValues() |
void |
ImpExExportTest.testScriptBasedExport()
Scenario: execution of an script based export mode: strict input: script.
|
void |
ImpExExportTest.testScriptBasedLocalizedExport()
Scenario: execution of an localized script based export mode: strict input: script.
|
void |
ImpExMultThreadedTest.testUniqueKeySerialization() |
void |
ImpExMultiThreadedPerformanceTest.testUnitImportBig() |
void |
ImpExImportTest.testUserRightsImportComma()
Tests the import of user rights using comma as separator.
|
void |
ImpExImportTest.testUserRightsImportSemicolon()
Tests the import of user rights using semicolon as separator.
|
void |
ScriptValidationReader.validateScript() |
static void |
ScriptValidationReader.validateScript(CSVReader reader)
Validates a script using the given reader.
|
static void |
ScriptValidationReader.validateScript(InputStream inputStream,
String encoding)
Validates a script using the given stream.
|
protected void |
ImpExReader.writeUserRightsLines()
Writes all stored UserRights lines to an temporary buffer and imports this file with the
ImportExportUserRightsHelper. |
| Modifier and Type | Method and Description |
|---|---|
ErrorHandler.RESULT |
CronJobErrorHandler.handleError(ImpExException impexException,
ImpExReader reader) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ImpExImportCronJob.extractZip()
Extracts all relevant files from ZIP-file to cronjob attributes.
|
void |
DefaultCronJobMediaDataHandler.importData(Media destMedia,
String path) |
protected ImpExMedia |
ImpExImportJob.prepareMedia(ImpExImportCronJob cronJob)
Gets the media used as source data.
|
void |
CronJobDumpHandler.switchDump() |
| Modifier and Type | Method and Description |
|---|---|
static ImpExMedia |
ExportUtils.createExportScript(HeaderLibrary headerlibrary,
Collection<Item> items) |
protected ImpExExportWriter |
Exporter.createExportWriter() |
Export |
Exporter.export() |
Export |
DeprecatedExporter.export() |
void |
Exporter.exportAllHeader() |
void |
DeprecatedExporter.exportAllHeader() |
protected void |
Exporter.exportInternal() |
void |
Exporter.exportItems(Collection<Item> items)
Called via bean shell - exports items specified by given item list.
Example: |
void |
DeprecatedExporter.exportItems(Collection<Item> items) |
void |
Exporter.exportItems(String typecode)
Called via bean shell - exports all items of given type not including subtypes.
Example: |
void |
DeprecatedExporter.exportItems(String typecode) |
void |
Exporter.exportItems(String[] pklist)
Called via bean shell - exports items specified by given PK list.
Example: |
void |
DeprecatedExporter.exportItems(String[] pklist) |
void |
Exporter.exportItems(String typecode,
boolean inclSubTypes)
Called via bean shell - exports all items of given type.
Example: |
void |
DeprecatedExporter.exportItems(String typecode,
boolean inclSubTypes) |
void |
Exporter.exportItems(String typecode,
int count)
Called via bean shell - exports all items of given type not including subtypes with given range for flexible
search.
Example: |
void |
DeprecatedExporter.exportItems(String typecode,
int count) |
void |
Exporter.exportItems(String typecode,
int count,
boolean inclSubTypes)
Called via bean shell - exports all items of given type.
Example: |
void |
DeprecatedExporter.exportItems(String typecode,
int count,
boolean inclSubTypes) |
void |
Exporter.exportItems(String query,
Map values,
List resultClasses,
boolean failOnUnknownFields,
boolean dontNeedTotal,
int start,
int count)
Deprecated.
|
void |
DeprecatedExporter.exportItems(String query,
Map values,
List resultClasses,
boolean failOnUnknownFields,
boolean dontNeedTotal,
int start,
int count) |
void |
Exporter.exportItemsFlexibleSearch(String query)
Called via bean shell - exports all items resulting from given flexible search.
Performs a call of |
void |
DeprecatedExporter.exportItemsFlexibleSearch(String query) |
void |
Exporter.exportItemsFlexibleSearch(String query,
int count)
Called via bean shell - exports all items resulting from given flexible search.
Performs a call of |
void |
DeprecatedExporter.exportItemsFlexibleSearch(String query,
int count) |
void |
Exporter.exportItemsFlexibleSearch(String query,
Map values,
List resultClasses,
boolean failOnUnknownFields,
boolean dontNeedTotal,
int start,
int count)
Called via bean shell - exports all items resulting from given flexible search.
|
void |
DeprecatedExporter.exportItemsFlexibleSearch(String query,
Map values,
List resultClasses,
boolean failOnUnknownFields,
boolean dontNeedTotal,
int start,
int count) |
protected void |
Exporter.exportUserRights() |
void |
ImpExExportWriter.setCurrentHeader(String headerLine,
EnumerationValue headerValidationMode)
Sets the current Header.
|
void |
ImpExExportWriter.setCurrentHeader(String headerLine,
EnumerationValue headerValidationMode,
DocumentIDRegistry docIDRegistry)
Sets the current Header which uses given document id registry for id resolving.
|
void |
ImpExExportWriter.setCurrentHeader(String headerLine,
EnumerationValue headerValidationMode,
DocumentIDRegistry docIDRegistry,
boolean outputHeader)
Sets the current Header which uses given document id registry for id resolving.
|
void |
Exporter.setLocale(Locale l)
Called via bean shell - sets the locale to use while import.
|
void |
DeprecatedExporter.setLocale(Locale l) |
void |
Exporter.setRelaxedMode(boolean isRelaxedMode)
Deprecated.
use
"#% impex.setValidationMode( ""import_relax"" );" or
"#% impex.setValidationMode( ImpExManager.getImportRelaxedMode() );" , instead |
void |
DeprecatedExporter.setRelaxedMode(boolean isRelaxedMode) |
void |
Exporter.setTargetFile(String filename)
Called via bean shell - sets the name of the target file within zip for resulting data of next header.
|
void |
DeprecatedExporter.setTargetFile(String filename) |
void |
Exporter.setTargetFile(String filename,
boolean writeHeader)
Called via bean shell - sets the name of the target file within zip for resulting data of next header.
|
void |
DeprecatedExporter.setTargetFile(String filename,
boolean writeHeader) |
void |
Exporter.setTargetFile(String filename,
boolean writeHeader,
int linesToSkip,
int offset)
Called via bean shell - sets the name of the target file within zip for resulting data of next header.
|
void |
DeprecatedExporter.setTargetFile(String filename,
boolean writeHeader,
int linesToSkip,
int offset) |
void |
Exporter.setValidationMode(String mode)
Called via bean shell - sets the validation mode to use.
|
void |
DeprecatedExporter.setValidationMode(String mode) |
void |
ImpExCSVExportWriter.writeCurrentHeader(boolean asComment) |
void |
ImpExXMLExportWriter.writeCurrentHeader(boolean asComment) |
abstract void |
ImpExExportWriter.writeCurrentHeader(boolean asComment)
Writes the the current header either as a comment, if
asComment is set to true, or as a
normal row if asComment is false. |
void |
ImpExCSVExportWriter.writeLine(Item item) |
void |
ImpExXMLExportWriter.writeLine(Item item) |
abstract void |
ImpExExportWriter.writeLine(Item item)
Exports the Item into the underlying Writer using current header.
|
| Constructor and Description |
|---|
ExportConfiguration(ImpExMedia source,
EnumerationValue headerValidationMode)
The assigned impex media represents an impex based command script (see the sample below).
|
Exporter(ExportConfiguration config) |
Exporter(ImpExMedia source,
EnumerationValue headerValidationMode) |
| Modifier and Type | Class and Description |
|---|---|
class |
HeaderValidationException
Inidicates a header which is incompatible with the current type system.
|
class |
UnresolvedValueException |
| Modifier and Type | Method and Description |
|---|---|
void |
SpecialColumnDescriptor.notifyTranslationEnd(ValueLine line,
HeaderDescriptor header,
PK processedItemPK) |
String |
SpecialColumnDescriptor.performExport(Item item) |
void |
SpecialColumnDescriptor.performImport(String cellValue,
Item processedItem) |
void |
SpecialColumnDescriptor.performImport(String cellValue,
PK processedItemPK) |
void |
DocumentIDColumnDescriptor.registerIDForItem(String cellValue,
Item item)
Registers the given ID for the given item at the document id registry, so that the ID will be resolved to that
item later.
|
void |
DocumentIDColumnDescriptor.registerIDForItem(String cellValue,
PK itemPK) |
| Modifier and Type | Class and Description |
|---|---|
class |
AmbiguousItemException
Exception thrown if several items found instead of one or zero.
|
class |
InsufficientDataException
Indicates that a value line does not provide all attribute data which is necessary to perform the operation described
by the according header.
|
class |
ItemConflictException
Exception thrown if you want to create an item where an item with same mandatory attributes already exists.
|
| Modifier and Type | Method and Description |
|---|---|
Item |
DefaultImpExImportCUDHandler.create(ComposedType targetType,
Map<String,Object> values,
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 |
MultiThreadedImpExImportReader.execute(AbstractCodeLine line,
Map csvLine,
boolean forEachMode)
Called for each code line.
|
ImportProcessor |
ImpExImportReader.getCustomImportProcessor(HeaderDescriptor header)
Evaluates the 'processor' modifier of the header and creates the defined processor if present, otherwise null.
|
protected void |
DefaultImportProcessor.handleExceptionDuringImport(ValueLine valueLine,
Exception e,
ImpExProcessModeEnum mode,
String message) |
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 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.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 boolean |
ImpExImportReader.processMarkerCodeLine(AbstractCodeLine line) |
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. |
void |
ImpExImportReader.readAll() |
Object |
ImpExImportReader.readLine()
Imports the next item from the csv reader.
|
Object |
MultiThreadedImpExImportReader.readLine()
Fetches next available result item.
|
protected boolean |
MultiThreadedImpExImportReader.readLineFromWorker()
Called from
ImpExReaderWorker asynchronously. |
void |
DefaultDumpHandler.switchDump() |
void |
DumpHandler.switchDump()
References the 'current' dump storage as 'last' dump storage (
DumpHandler.getReaderOfLastDump() now provides a reader
object to that storage) and creates a new 'current' dump storage (DumpHandler.getWriterOfCurrentDump() now provides a
writer object to that storage). |
protected void |
DefaultImportProcessor.throwImpExOrRuntimeException(Exception e) |
protected Map<String,Object> |
DefaultImportProcessor.translateValueMappings(Item existingItem,
Map<StandardColumnDescriptor,Object> attributeValueMappings) |
void |
DefaultImpExImportCUDHandler.update(Item toUpdate,
Map<String,Object> values,
ValueLine valueLine) |
protected void |
MultiThreadedImpExImportReader.writeUserRightsLines()
Overwritten to wait until line queue is empty.
|
| Modifier and Type | Method and Description |
|---|---|
String |
MediaDataHandler.exportData(Media media) |
void |
MediaDataHandler.importData(Media media,
String path) |
void |
DefaultMediaDataHandler.importData(Media media,
String path) |
String |
MediaDataTranslator.performExport(Item processedItem) |
void |
MediaDataTranslator.performImport(String cellValue,
Item processedItem) |
| 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. |
String |
UserPasswordTranslator.performExport(Item item) |
String |
AbstractSpecialValueTranslator.performExport(Item item) |
String |
SpecialValueTranslator.performExport(Item item)
Called each time an item is exported using the enclosing header.
|
String |
VelocityTranslator.performExport(Item item) |
void |
UserPasswordTranslator.performImport(String cellValue,
Item processedItem) |
void |
AbstractSpecialValueTranslator.performImport(String cellValue,
Item processedItem) |
void |
SpecialValueTranslator.performImport(String cellValue,
Item processedItem)
Called each time a non-empty cell value has to be imported.
|
void |
ConvertPlaintextToEncodedUserPasswordTranslator.performImport(String cellValue,
Item processedItem) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ImportCockpitCronJob.extractZip() |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultImportCockpitMediaServiceIntegrationTest.setUp() |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultOndemandPreferenceSelectorServiceTest.setUp() |
| Modifier and Type | Method and Description |
|---|---|
void |
LDIFWriter.export(List items) |
| Modifier and Type | Method and Description |
|---|---|
void |
PermissionsWebserviceTest.importTestData() |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultRuleActionServiceTest.setUp() |
| Modifier and Type | Method and Description |
|---|---|
void |
PromotionRuleCompilerListenerUnitTest.setUp() |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultPromotionSourceRuleDaoIT.setUp() |
| Modifier and Type | Method and Description |
|---|---|
void |
RuleBasePrepareInterceptorIT.setUp() |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultIntegrationPromotionActionServiceTest.setUp() |
void |
DefaultPromotionEngineServiceTest.setUp() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractPromotionTest.createPromotionData()
Reference to current session.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RefundServiceTest.importCSVFromResources(String fileName) |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultRuleActionServiceTest.setUp() |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultCommerceRuleEngineCacheServiceIT.setup() |
void |
DefaultCommerceRuleEngineCacheServiceIT.testProvideCachedEntitiesWithPriorAddToCache() |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultRuleDaoTest.setUp() |
void |
DefaultRuleConditionDefinitionDaoTest.setUp() |
void |
DefaultRuleActionDefinitionDaoTest.setUp() |
| Modifier and Type | Method and Description |
|---|---|
void |
SourceRuleValidatorTest.setUp() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
ServicelayerTest.importCsv(String csvFile,
String encoding)
Imports given csv file from classpath using given encoding.
|
protected static void |
ServicelayerTest.importStream(InputStream is,
String encoding,
String resourceName) |
protected static void |
ServicelayerTest.importStream(InputStream is,
String encoding,
String resourceName,
boolean hijackExceptions) |
| Modifier and Type | Method and Description |
|---|---|
void |
MyTranslator.performImport(String cellValue,
Item processedItem) |
| 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 |
|---|
DefaultImpExValidationResult(boolean successful,
ImpExException exception) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
RangedIndexedPropertyTest.loadData() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractFacetSearchConfigTest.importConfig(String resource,
String encoding,
String testId) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
DefaultFacetSearchConfigServiceTest.loadData() |
| Modifier and Type | Method and Description |
|---|---|
void |
SolrExtIndexerJobIntegrationTest.testDeleteProduct() |
void |
SolrExtIndexerJobIntegrationTest.testUpdateLastIndexTimeNotChange() |
void |
SolrExtIndexerJobIntegrationTest.testUpdateProduct() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
IndexationInLanguageContextTest.loadData() |
protected void |
IndexationInUserContextTest.loadData() |
protected void |
SolrIndexerLanguageFallbackTest.loadData() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractIntegrationTest.importConfig(String resource) |
protected void |
AbstractIntegrationTest.importConfig(String resource,
Map<String,String> params) |
protected void |
SearchFulltextTest.loadData() |
protected void |
IndexAndSearchFromMultipleCatalogVersionsTest.loadData() |
protected void |
SolrStopWordsIntegrationTest.loadData() |
protected void |
SolrSearchQueryTest.loadData() |
protected void |
SearchGroupingTest.loadData() |
protected void |
SolrSynonymsIntegrationTest.loadData() |
void |
SolrSynonymsIntegrationTest.testAddingSynonyms() |
void |
SolrSynonymsIntegrationTest.testRemoveSynonyms() |
void |
SolrStopWordsIntegrationTest.testSearchForStopWordAfterUpdate() |
void |
SolrStopWordsIntegrationTest.testSearchForStopWordInOtherLanguage() |
void |
SolrSynonymsIntegrationTest.testUpdateSynonyms() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
SearchByPropertiesWithExportIdTest.loadData()
Test solr configuration builds index for products from test catalog for two index properties:
1.) propertyName : code , exportId : code_id
2.) propertyName : name, exportId : null |
| Modifier and Type | Method and Description |
|---|---|
void |
SolrServerConnectionParametersTest.testConnectionParameters() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
SolrAutoSuggestServiceTest.loadData() |
| Modifier and Type | Method and Description |
|---|---|
void |
OneTimeChargeEntryValidationInterceptorIntegrationTest.setUp() |
| Modifier and Type | Method and Description |
|---|---|
void |
UserSldTest.shouldGetDiscountRowsUsingSldAndRemoveOnlyOnesThatBelongToCustomer() |
| Modifier and Type | Method and Description |
|---|---|
void |
WarehousingStorePickupDaoTest.setUp() |
| Modifier and Type | Method and Description |
|---|---|
void |
OrderManagementCartFacadeIntegrationTest.setUp() |
void |
OrderManagementCommerceWarehouseDaoTest.setUp() |
void |
OrderManagementPickupAvailabilityStrategyIntegrationTest.setUp() |
| Modifier and Type | Method and Description |
|---|---|
void |
BinStockLevelIntegrationTest.setup() |
| Modifier and Type | Method and Description |
|---|---|
void |
WarehousingWarehouseDaoIntegrationTest.setUp() |
| Modifier and Type | Method and Description |
|---|---|
String |
PullMediaDataTranslator.performExport(Item item) |
void |
PullMediaDataTranslator.performImport(String cellValue,
Item processedItem) |
Copyright © 2017 SAP SE. All Rights Reserved.