Class ImpExConstants.Syntax
- java.lang.Object
-
- de.hybris.platform.impex.constants.ImpExConstants.Syntax
-
- Enclosing class:
- ImpExConstants
public static final class ImpExConstants.Syntax extends java.lang.ObjectContains all constants which are used for ImpEx syntax.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImpExConstants.Syntax.CodeMarkersDefines the constant strings for all code markers allowed in script and used by ImpEx.static classImpExConstants.Syntax.ModeContains all supported header modes.static classImpExConstants.Syntax.ModifierDeclares the allowed set of modifiers.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringABSOLUTE_FILE_PATH_PREFIXThis prefix indicates absolute file path.
Example:zip:c:\demo.zip&demo1.jpgstatic charALTERNATIVE_PATTERN_SEPARATORSeparates alternative expressions.static charATTRIBUTE_SEPARATORSeparates attributes in item expression patterns.static java.lang.StringBEANSHELL_PREFIXIndicates a bean shell line (contains java statements).static charCLOSEIndicates the end of an item pattern expression.static java.lang.StringCOLLECTION_APPEND_PREFIXThis prefix of a element in a collection value indicates, that the element will be added to the existing resolved collection.static java.lang.StringCOLLECTION_REMOVE_PREFIXThis prefix of a element in a collection value indicates, that the element will be removed from the existing resolved collection.static java.lang.StringCOLLECTION_VALUE_MODE_APPENDIf this mode is set at modifierImpExConstants.Syntax.Modifier.COLLECTION_VALUE_MODE, the elements of the given collection value will be added to the existing resolved collection.static java.lang.StringCOLLECTION_VALUE_MODE_REMOVEIf this mode is set at modifierImpExConstants.Syntax.Modifier.COLLECTION_VALUE_MODE, the elements of the given collection value will be removed from the existing resolved collection.static charDATERANGE_DELIMITERSeaparates the part of a standard date range value.static charDEFAULT_ATTRIBUTE_PATH_SEPARATORDefault separator for giving item expressions in value lines like 'bath:Online:Default' for item expression '(code,catalog(id)catalogVersion(code))'.static charDEFAULT_COLLECTION_VALUE_DELIMITERSee CORE-3347, CORE-3348 --> CORE-3378 !static java.lang.StringDEFAULT_KEY_2_VALUE_DELIMITERSpecifies the default delimiter for separating a key - value pair at map values.static charDEFAULT_MAP_VALUE_DELIMITERSpecifies the default delimiter for separating key - value pairs at map values.static java.lang.StringDEFINITION_PREFIXIndicates a definition line or definition usage.static java.lang.StringDOCUMENT_ID_PREFIXIndicates a whole document ID column or an item expression using the document id for referencing.static java.lang.StringEND_USERRIGHTSIndicates the end of a UserRight import block.static java.lang.StringIGNORE_PREFIXMarks a value as to ignore.static java.lang.StringJAR_BASED_FILE_PATH_PREFIXThis prefix indicates an jar based path.
Example:jar:ystorefoundationpackage.jalo.YStoreFoundationManager&/media/jeans/demo2.jpgstatic java.lang.StringKEY_PATTERNIndicates the type of the key when specifying a map.static charMODIFIER_ENDMarks the end of modifier definitions.
CAUTION: '[' and ']' will be interpreted as a regular expression when calling stuff likeString.replaceAll(String, String)static charMODIFIER_EQUALSeparates key and value of a modifier definition.static charMODIFIER_QUOTE_CHARCharacter used for quotation within a modifier value.static charMODIFIER_SEPARATORSeparates modifiers defined in same modifier definition block (enclosed byMODIFIER_STARTandMODIFIER_END.static charMODIFIER_STARTMarks the start of modifier definitions.
CAUTION: '[' and ']' will be interpreted as a regular expression when calling stuff likeString.replaceAll(String, String)static java.lang.StringNULL_REFSpecial item reference value for using NULL value for looking up items.static charOPENIndicates the start of an item pattern expression.static java.lang.StringSPECIAL_COLUMN_PREFIXIndicates a special column.static java.lang.StringSTART_USERRIGHTSIndicates the start of a UserRight import block.static java.lang.StringURL_BASED_FILE_PATH_PREFIXThis prefix indicates an url based path.
Example:http:http://www.company.com/pictures/logo.gifstatic java.lang.StringVALUE_PATTERNIndicates the type of the value when specifying a map.static java.lang.StringZIP_BASED_FILE_PATH_PREFIXThis prefix indicates an zip based path.
Example:file:c:\demo4.jpg
-
Constructor Summary
Constructors Constructor Description Syntax()
-
-
-
Field Detail
-
MODIFIER_START
public static final char MODIFIER_START
Marks the start of modifier definitions.
CAUTION: '[' and ']' will be interpreted as a regular expression when calling stuff likeString.replaceAll(String, String)- See Also:
- Constant Field Values
-
MODIFIER_END
public static final char MODIFIER_END
Marks the end of modifier definitions.
CAUTION: '[' and ']' will be interpreted as a regular expression when calling stuff likeString.replaceAll(String, String)- See Also:
- Constant Field Values
-
MODIFIER_SEPARATOR
public static final char MODIFIER_SEPARATOR
Separates modifiers defined in same modifier definition block (enclosed byMODIFIER_STARTandMODIFIER_END.- See Also:
- Constant Field Values
-
MODIFIER_EQUAL
public static final char MODIFIER_EQUAL
Separates key and value of a modifier definition.- See Also:
- Constant Field Values
-
MODIFIER_QUOTE_CHAR
public static final char MODIFIER_QUOTE_CHAR
Character used for quotation within a modifier value.- See Also:
- Constant Field Values
-
OPEN
public static final char OPEN
Indicates the start of an item pattern expression.- See Also:
- Constant Field Values
-
CLOSE
public static final char CLOSE
Indicates the end of an item pattern expression.- See Also:
- Constant Field Values
-
ALTERNATIVE_PATTERN_SEPARATOR
public static final char ALTERNATIVE_PATTERN_SEPARATOR
Separates alternative expressions.- See Also:
- Constant Field Values
-
ATTRIBUTE_SEPARATOR
public static final char ATTRIBUTE_SEPARATOR
Separates attributes in item expression patterns.- See Also:
- Constant Field Values
-
DEFAULT_ATTRIBUTE_PATH_SEPARATOR
public static final char DEFAULT_ATTRIBUTE_PATH_SEPARATOR
Default separator for giving item expressions in value lines like 'bath:Online:Default' for item expression '(code,catalog(id)catalogVersion(code))'.- See Also:
- Constant Field Values
-
KEY_PATTERN
public static final java.lang.String KEY_PATTERN
Indicates the type of the key when specifying a map.- See Also:
- Constant Field Values
-
VALUE_PATTERN
public static final java.lang.String VALUE_PATTERN
Indicates the type of the value when specifying a map.- See Also:
- Constant Field Values
-
DEFAULT_MAP_VALUE_DELIMITER
public static final char DEFAULT_MAP_VALUE_DELIMITER
Specifies the default delimiter for separating key - value pairs at map values.- See Also:
- Constant Field Values
-
DEFAULT_KEY_2_VALUE_DELIMITER
public static final java.lang.String DEFAULT_KEY_2_VALUE_DELIMITER
Specifies the default delimiter for separating a key - value pair at map values.- See Also:
- Constant Field Values
-
COLLECTION_VALUE_MODE_APPEND
public static final java.lang.String COLLECTION_VALUE_MODE_APPEND
If this mode is set at modifierImpExConstants.Syntax.Modifier.COLLECTION_VALUE_MODE, the elements of the given collection value will be added to the existing resolved collection.- See Also:
- Constant Field Values
-
COLLECTION_VALUE_MODE_REMOVE
public static final java.lang.String COLLECTION_VALUE_MODE_REMOVE
If this mode is set at modifierImpExConstants.Syntax.Modifier.COLLECTION_VALUE_MODE, the elements of the given collection value will be removed from the existing resolved collection.- See Also:
- Constant Field Values
-
COLLECTION_APPEND_PREFIX
public static final java.lang.String COLLECTION_APPEND_PREFIX
This prefix of a element in a collection value indicates, that the element will be added to the existing resolved collection.- See Also:
- Constant Field Values
-
COLLECTION_REMOVE_PREFIX
public static final java.lang.String COLLECTION_REMOVE_PREFIX
This prefix of a element in a collection value indicates, that the element will be removed from the existing resolved collection.- See Also:
- Constant Field Values
-
DEFAULT_COLLECTION_VALUE_DELIMITER
public static final char DEFAULT_COLLECTION_VALUE_DELIMITER
See CORE-3347, CORE-3348 --> CORE-3378 !- See Also:
- Constant Field Values
-
START_USERRIGHTS
public static final java.lang.String START_USERRIGHTS
Indicates the start of a UserRight import block. This constant has to be a single line followed by the UserRight imports and closed with a single line containingEND_USERRIGHTS.- See Also:
- Constant Field Values
-
END_USERRIGHTS
public static final java.lang.String END_USERRIGHTS
Indicates the end of a UserRight import block. This constant has to be a single line.- See Also:
- Constant Field Values
-
DATERANGE_DELIMITER
public static final char DATERANGE_DELIMITER
Seaparates the part of a standard date range value.- See Also:
- Constant Field Values
-
BEANSHELL_PREFIX
public static final java.lang.String BEANSHELL_PREFIX
Indicates a bean shell line (contains java statements). A bean shell line has to start with the used comment char followed by this bean shell prefix.- See Also:
- Constant Field Values
-
DEFINITION_PREFIX
public static final java.lang.String DEFINITION_PREFIX
Indicates a definition line or definition usage. A definition line starts with this definition prefix and declares a definition. A definition is like a macro where a script block can be named and later be pasted by using the name also with this prefix.
For example:
$myDefinition=This is my definition
This is my script text where use my definition with $myDefinition
This script will be translated to:
This is my script text where use my definition with This is my definition- See Also:
- Constant Field Values
-
DOCUMENT_ID_PREFIX
public static final java.lang.String DOCUMENT_ID_PREFIX
Indicates a whole document ID column or an item expression using the document id for referencing. See CORE-3870.- See Also:
- Constant Field Values
-
SPECIAL_COLUMN_PREFIX
public static final java.lang.String SPECIAL_COLUMN_PREFIX
Indicates a special column.
Caution: MS Excel doesn't like '@', see CORE-3350.- See Also:
- Constant Field Values
-
IGNORE_PREFIX
public static final java.lang.String IGNORE_PREFIX
Marks a value as to ignore. Simply write this string at the start of the value and it will be skipped at processing.- See Also:
- Constant Field Values
-
NULL_REF
public static final java.lang.String NULL_REF
Special item reference value for using NULL value for looking up items. For instance p123::foo would interprete the middle value as NULL leading to a IS NULL query. - See Also:
- Constant Field Values
-
ABSOLUTE_FILE_PATH_PREFIX
public static final java.lang.String ABSOLUTE_FILE_PATH_PREFIX
This prefix indicates absolute file path.
Example:zip:c:\demo.zip&demo1.jpg- See Also:
- Constant Field Values
-
URL_BASED_FILE_PATH_PREFIX
public static final java.lang.String URL_BASED_FILE_PATH_PREFIX
This prefix indicates an url based path.
Example:http:http://www.company.com/pictures/logo.gif- See Also:
- Constant Field Values
-
JAR_BASED_FILE_PATH_PREFIX
public static final java.lang.String JAR_BASED_FILE_PATH_PREFIX
This prefix indicates an jar based path.
Example:jar:ystorefoundationpackage.jalo.YStoreFoundationManager&/media/jeans/demo2.jpg- See Also:
- Constant Field Values
-
ZIP_BASED_FILE_PATH_PREFIX
public static final java.lang.String ZIP_BASED_FILE_PATH_PREFIX
This prefix indicates an zip based path.
Example:file:c:\demo4.jpg- See Also:
- Constant Field Values
-
-