public static final class ImpExConstants.Syntax.Modifier extends Object
INSERT Language[line_modifier=value];isocode[cell_modifier=value]; active[cell_modifier=value]| Modifier and Type | Field and Description |
|---|---|
static String |
ALIAS
With that modifier you can specify an alias name for an attribute which will be used in export case as
attribute text in destination file.
|
static String |
ALLOWNULL
If set, an mandatory attribute will not be checked for null value.
|
static String |
ATTRIBUTE_PATH_DELIMITER
With that modifier you can specify a custom separator for item expressions.
|
static String |
BATCHMODE
If it is update or remove mode than the batch mode allows to resolve more than one existing item for a value
line.
|
static String |
CACHE_UNIQUE_KEYS
If this option is enabled the
CachingExistingItemResolver will be
used for existing item resolving (in case of update or remove mode) which caches already resolved items
related to the unique keys used for searching.Type: line modifier Possible values: 'true' or 'false' Default value: 'false'. |
static String |
COLLECTION_VALUE_DELIMITER
With that you can specify a custom collection value delimiter.
|
static String |
COLLECTION_VALUE_MODE
Specifies the collection modifying mode.
|
static String |
CSV_DECORATOR
Specifies a decorator class for modifying the cell value before interpreting.
Type: cell modifier Attribute Type: All Possible values: A cell decorator class like 'de.hybris.platform.catalog.jalo.classification.eclass.EClassSuperCategoryDecorator' Default value: No decorator will be applied |
static String |
DATEFORMAT
Using this modifier you can specify a custom pattern for your
Date and
StandardDateRange values.Type: cell modifier Attribute Type: Date, StandardDateRange Possible values: a date format like 'MM.dd.yy' Default value: DateFormat.getDateTimeInstance(DateFormat.MEDIUM, DateFormat.MEDIUM, impexReader.getLocale() ) |
static String |
DEFAULT
With this modifier you can specify a default value for an attribute which is used if the cell is empty at a
value line.
Type: cell modifier Attribute Type: All Possible values: a value fitting the desired attribute type Default value: empty. |
static String |
FORCE_WRITE
If set, read-only columns will be tried to processed.
|
static String |
IGNORE_KEY_CASE
If set, the case of text which specifies attributes of items for resolving is ignored.
Type: cell modifier Attribute Type: Item Possible values: 'true' or 'false' Default value: 'false' |
static String |
IGNORE_NULL
If the attribute is of type collection, you can specify to ignore null values.
|
static String |
IMPEX_LEGACY_MODE
If set, impex will switch to legacy handling.
|
static String |
KEY2VALUE_DELIMITER
Specifies the delimiter for separating a key - value pair for attributes of type map.
|
static String |
LANGUAGE
For localized attributes (are a map from language to string) you have to specify the language to use.
Type: cell modifier Attribute Type: Locale Map Possible values: a language isocode like 'de' Default value: |
static String |
MAP_VALUE_DELIMITER
Specifies the delimiter which separates the key - value pairs for an attribute of type map.
Type: cell modifier Attribute Type: Map Possible values: a char like 'q' Default value: ImpExConstants.Syntax.DEFAULT_MAP_VALUE_DELIMITER |
static String |
NUMBERFORMAT
Using this modifier you can specify a custom pattern for your
Number values.Type: cell modifier Attribute Type: Number Possible values: number format Default value: NumberFormat.getNumberInstance( impexReader.getLocale() ) |
static String |
PARALLEL
With that modifier you can specify whether to process lines of this header by parallel processed or not.
Type: line modifier Possible values: true, false |
static String |
PK_FROM_EXTERNAL_IMPORT_KEY
Hint to ItemPKTranslator to look for PK in ExternalImportKey item.
|
static String |
POSITION
Specifies the column position where the values of this attribute can be found.
|
static String |
PROCESSOR
With that modifier you can specify an custom
ImportProcessor for
the processing of value lines associated with the header.Type: line modifier Possible values: an ImportProcessor like
'de.hybris.platform.impex.jalo.imp.DefaultImportProcessor'Default value: The processor set when instantiating the ImpExImportReader. |
static String |
SLD_ENABLED
If set, impex will use direct persistence (service layer direct) for import data.
|
static String |
SOURCE_SYSTEM_ID
SourceSystemID to perform lookup in.
|
static String |
TRANSLATOR
With that modifier you can specify an custom translator to use for translating the cell value of a value
line.
Type: cell modifier Attribute Type: All Possible values: a class name like 'de.hybris.platform.impex.jalo.translators.UserPasswordTranslator' Default value: a translator dependent on attribute type. |
static String |
UNIQUE
Declares an attribute as unique.
|
static String |
VIRTUAL
If set, no cell value is expected.
|
| Constructor and Description |
|---|
Modifier() |
public static final String BATCHMODE
public static final String CACHE_UNIQUE_KEYS
CachingExistingItemResolver will be
used for existing item resolving (in case of update or remove mode) which caches already resolved items
related to the unique keys used for searching.public static final String PROCESSOR
ImportProcessor for
the processing of value lines associated with the header.ImportProcessor like
'de.hybris.platform.impex.jalo.imp.DefaultImportProcessor'ImpExImportReader. In default case it is
DefaultImportProcessorpublic static final String PARALLEL
public static final String TRANSLATOR
public static final String DEFAULT
public static final String LANGUAGE
public static final String UNIQUE
public static final String ALLOWNULL
public static final String IGNORE_NULL
null, the value will be ignored.public static final String DATEFORMAT
Date and
StandardDateRange values.DateFormat.getDateTimeInstance(DateFormat.MEDIUM, DateFormat.MEDIUM, impexReader.getLocale() )public static final String NUMBERFORMAT
Number values.NumberFormat.getNumberInstance( impexReader.getLocale() )public static final String COLLECTION_VALUE_DELIMITER
ImpExConstants.Syntax.DEFAULT_COLLECTION_VALUE_DELIMITERpublic static final String ATTRIBUTE_PATH_DELIMITER
ImpExConstants.Syntax.DEFAULT_ATTRIBUTE_PATH_SEPARATORpublic static final String KEY2VALUE_DELIMITER
ImpExConstants.Syntax.DEFAULT_KEY_2_VALUE_DELIMITERpublic static final String MAP_VALUE_DELIMITER
ImpExConstants.Syntax.DEFAULT_MAP_VALUE_DELIMITERpublic static final String COLLECTION_VALUE_MODE
ImpExConstants.Syntax.COLLECTION_VALUE_MODE_APPEND or
ImpExConstants.Syntax.COLLECTION_VALUE_MODE_REMOVEpublic static final String CSV_DECORATOR
public static final String VIRTUAL
DEFAULT.public static final String IGNORE_KEY_CASE
public static final String ALIAS
public static final String POSITION
public static final String FORCE_WRITE
public static final String IMPEX_LEGACY_MODE
public static final String SLD_ENABLED
public static final String SOURCE_SYSTEM_ID
public static final String PK_FROM_EXTERNAL_IMPORT_KEY
Copyright © 2017 SAP SE. All Rights Reserved.