public class PromotionMetadata extends ComponentMetadata
Modifier and Type | Field and Description |
---|---|
static java.lang.String | ALLOW_DEACTIVATING_PROMOTION_WHILE_GENERATING_CODES
This constant represents the property name "AllowDeactivatingPromotionWhileGeneratingCodes" set in the administration configuration file.
|
static java.lang.String | APPLY_PROMOTION_ON_LOWEST_PRICED_ORDER_ITEMS_FIRST
This constant represents the property name "ApplyPromotionOnLowestPricedOrderItemsFirst" set in the administration configuration file.
|
static java.lang.String | CLOUMN_NAME_GRPNAME
This constant represents the column name "GRPNAME".
|
static java.lang.String | CLOUMN_NAME_NAME
This constant represents the column name "NAME".
|
static java.lang.String | CLOUMN_NAME_PX_GROUP_ID
This constant represents the column name "PX_GROUP_ID".
|
static java.lang.String | CLOUMN_NAME_PX_PROMOTION_ID
This constant represents the column name "PX_PROMOTION_ID".
|
static java.lang.String | CLOUMN_NAME_REVISION
This constant represents the column name "REVISION".
|
static java.lang.String | CLOUMN_NAME_VERSION
This constant represents the column name "VERSION".
|
static java.lang.String | COLUMN_NAME_ADMINSTVENAME
This constant represents the column name "ADMINSTVENAME".
|
static java.lang.String | COLUMN_NAME_CODE
This constant represents the column name "CODE".
|
static java.lang.String | COLUMN_NAME_OBJECTID
This constant represents the column name "OBJECTID" of the UPLOADFILE table.
|
static java.lang.String | COLUMN_NAME_PRIORITY
This constant represents the column name "PRIORITY".
|
static java.lang.String | COLUMN_NAME_UPLOADFILE_ID
This constant represents the column name "UPLOADFILE_ID" of the UPLOADFILE table.
|
static java.lang.String | COMPONENT_ID
The component name that the metadata belongs to.
|
static java.lang.String | CONVERT_PROMOTION_DATES_TO_UTC
This constant represents the property name "ConvertPromotionDatesToUTC" set in the administration configuration file.
|
static java.lang.String | LIST_ONLY_PROMOTIONS_NOT_IN_FOLDERS
This constant represents the property name "listOnlyPromotionsNotInFolders" set in the administration configuration file.
|
static java.lang.String | POPULATE_CODE_COLUMN_OF_PX_PROMOTION_TABLE
This constant represents the property name "PopulateCodeColumnOfPxPromotionTable" set in the administration configuration file.
|
static int | PROMOTION_ADMINISTRATIVE_NAME_LENGTH_LIMIT
Constant for the promotion admin name length limit - 254.
|
static java.lang.String | PROMOTION_CATALOGENTRY_ATTRIBUTE_RULE_VALIDATION
This constant represents the property name "PromotionCatalogEntryAttributeRuleValidation" set in the administration configuration file.
|
static java.lang.String | PROMOTION_CODE_CREATION
This constant represents the string "PromotionCodeCreation".
|
static java.lang.String | PROMOTION_CODE_IMPORT
This constant represents the string "PromotionCodeImport".
|
static int | PROMOTION_CODE_LENGTH_LIMIT
Constant for promotion code length limit - 128
|
static java.lang.String | PROMOTION_CODE_POPULATION_STATUS
This constant represents the string "PromotionCodePopulationStatus".
|
static int | PROMOTION_COMMENT_LENGTH_LIMIT
Constant for promotion comment length limit - 254
|
static java.lang.String | PROMOTION_CONFIG_SECTION
Constant for the configuration group in the promotion administration configuration file.
|
static java.lang.String | PROMOTION_DEFAULT
This constant represents the string "default"
|
static java.lang.String | PROMOTION_ENABLED
This constant represents the string "enabled".
|
static java.lang.String | PROMOTION_ENUMERATION_CODE_DELIMITER
This constant represents the string "PromotoinCodeDelimiter".
|
static java.lang.String | PROMOTION_ENUMERATION_EXCLUSIVE
This constant represents the string "PromotionExclusiveType".
|
static java.lang.String | PROMOTION_ENUMERATION_STATUS
This constant represents the string "PromotionStatus".
|
static int | PROMOTION_LONG_DESCRIPTION_LENGTH_LIMIT
Constant for promotion long description length limit - 4000
|
static int | PROMOTION_NAME_LENGTH_LIMIT
Constant for promotion name length limit - 128
|
static short | PROMOTION_SCHEDULE_WEEKDAY_ALLOWED
Constant for the promotion week day value - 1
|
static short | PROMOTION_SCHEDULE_WEEKDAY_DENIED
Constant for the promotion week day value - 0
|
static int | PROMOTION_SHORT_DESCRIPTION_LENGTH_LIMIT
Constant for promotion short description length limit - 254
|
static java.lang.String | PROMOTION_SITE_WIDE_VALIDATION
This constant represents the property name "PromotionSiteWideValidation" set in the administration configuration file.
|
static java.lang.String | PROMOTION_STORE_REL_TYPE
A constant to represent the com.ibm.commerce.promotions store relationship type
|
static java.lang.String | PROMOTION_UNIQUE_CODE_VALIDATION
This constant represents the property name "PromotionUniqueCodeValidation" set in the administration configuration file.
|
static java.lang.String | PROMOTION_UNIQUE_PRIORITY_VALIDATION
This constant represents the property name "PromotionUniquePriorityValidation" set in the administration configuration file.
|
static java.lang.String | QUERY_INITIALIZE_XMLPARAM_CLOB_OF_PX_PROMOAUDIT
The Query name of setting XMLPARAM to EMPTY_CLOB() of the PROMOAUDIT table.
|
static java.lang.String | QUERY_INITIALIZE_XMLPARAM_CLOB_OF_PX_PROMOTION
The Query name of setting XMLPARAM to EMPTY_CLOB() of the PX_PROMOTION table.
|
static java.lang.String | QUERY_SELECT_CLOB_XMLPARAM_OF_PX_PROMOAUDIT
The Query name of getting XMLPARAM CLOB field of the PX_PROMOAUDIT table.
|
static java.lang.String | QUERY_SELECT_CLOB_XMLPARAM_OF_PX_PROMOTION
The Query name of getting XMLPARAM CLOB field of the PX_PROMOTION table.
|
static java.lang.String | QUERY_UPDATE_OBJECTID_OF_UPLOADFILE
The Query name of updating OBJECTID column of the UPLOADFILE table.
|
static int | RANDOM_GEN_LIMIT
Constant for the random number generator size limit to generate unique number.
|
static int | THREAD_SLEEP_TIME
Constant for the sleep time of thread to generate unique number.
|
static java.lang.String | XPATH_PARAMETER_UNIQUE_ID
Constant for the UniqueID parameter in an XPATH.
|
static java.lang.String | XPATH_PX_DESCRIPTION_BY_PX_PROMOTION_ID
The Xpath of PX_DESCRIPTION by PX_PROMOTION_ID.
|
static java.lang.String | XPATH_PX_ELEMENT_BY_PX_PROMOTION_ID
The Xpath of PX_ELEMENT by PX_PROMOTION_ID.
|
static java.lang.String | XPATH_PX_GROUP_BY_GRPNAME
The Xpath of PX_GROUP with GRPNAME.
|
static java.lang.String | XPATH_PX_GROUP_BY_PX_GROUP_ID
The Xpath of PX_GROUP with PX_GROUP_ID.
|
static java.lang.String | XPATH_PX_PROMOTION_BY_CODE_AND_CHILD_STORES
The Xpath of PX_PROMOTION by STORE IDS and PROMOTION CODE.
|
static java.lang.String | XPATH_PX_PROMOTION_BY_PRIORITY_AND_GROUP_NAME_AND_CHILD_STORES
The Xpath of PX_PROMOTION by STORE IDS, PRIORITY and GRPNAME.
|
static java.lang.String | XPATH_PX_PROMOTION_BY_PX_PROMOTION_ADMINISTRATIVE_NAME
The Xpath of PX_PROMOTION by ADMINNAME.
|
static java.lang.String | XPATH_PX_PROMOTION_BY_PX_PROMOTION_ID
The Xpath of PX_PROMOTION by PX_PROMOTION_ID.
|
static java.lang.String | XPATH_PX_PROMOTION_BY_PX_PROMOTION_NAME
The Xpath of PX_PROMOTION by NAME.
|
static java.lang.String | XPATH_UPLOADFILE_BY_OBJECTID_AND_UPLOADTYPE_SPECIFY_OBJECTID
The beginning Xpath of UPLOADFILE by OBJECTID and UPLOADTYPE.
|
static java.lang.String | XPATH_UPLOADFILE_BY_OBJECTID_AND_UPLOADTYPE_SPECIFY_UPLOADTYPE
The end Xpath of UPLOADFILE by OBJECTID and UPLOADTYPE.
|
static java.lang.String | XPATH_UPLOADFILE_BY_UNIQUE_ID_BEGIN
The beginning Xpath of UPLOADFILE by UNIQUE_ID.
|
Constructor and Description |
---|
PromotionMetadata() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String | getComponentId()
Get the component identifier
|
java.lang.String | getEPackageName()
Gete the physical static SDO package impl class name
|
org.eclipse.emf.ecore.EClass | getRootEClass()
By default will return null.
|
static boolean | invalidStringLength(java.lang.String str, int maxLength)
This method checks if the specified string exceed the maximum length that can be stored in the database.
|
public static final java.lang.String COMPONENT_ID
public static final java.lang.String PROMOTION_STORE_REL_TYPE
public static final java.lang.String PROMOTION_CONFIG_SECTION
public static final short PROMOTION_SCHEDULE_WEEKDAY_ALLOWED
public static final short PROMOTION_SCHEDULE_WEEKDAY_DENIED
public static final int PROMOTION_ADMINISTRATIVE_NAME_LENGTH_LIMIT
public static final int THREAD_SLEEP_TIME
public static final int RANDOM_GEN_LIMIT
public static final int PROMOTION_NAME_LENGTH_LIMIT
public static final int PROMOTION_CODE_LENGTH_LIMIT
public static final int PROMOTION_COMMENT_LENGTH_LIMIT
public static final int PROMOTION_SHORT_DESCRIPTION_LENGTH_LIMIT
public static final int PROMOTION_LONG_DESCRIPTION_LENGTH_LIMIT
public static final java.lang.String PROMOTION_DEFAULT
public static final java.lang.String PROMOTION_ENABLED
public static final java.lang.String PROMOTION_CODE_CREATION
public static final java.lang.String PROMOTION_CODE_POPULATION_STATUS
public static final java.lang.String PROMOTION_ENUMERATION_STATUS
public static final java.lang.String PROMOTION_ENUMERATION_EXCLUSIVE
public static final java.lang.String PROMOTION_ENUMERATION_CODE_DELIMITER
public static final java.lang.String PROMOTION_UNIQUE_CODE_VALIDATION
public static final java.lang.String PROMOTION_UNIQUE_PRIORITY_VALIDATION
public static final java.lang.String PROMOTION_CATALOGENTRY_ATTRIBUTE_RULE_VALIDATION
public static final java.lang.String PROMOTION_SITE_WIDE_VALIDATION
public static final java.lang.String POPULATE_CODE_COLUMN_OF_PX_PROMOTION_TABLE
public static final java.lang.String CONVERT_PROMOTION_DATES_TO_UTC
public static final java.lang.String PROMOTION_CODE_IMPORT
public static final java.lang.String CLOUMN_NAME_PX_PROMOTION_ID
public static final java.lang.String CLOUMN_NAME_NAME
public static final java.lang.String COLUMN_NAME_ADMINSTVENAME
public static final java.lang.String CLOUMN_NAME_PX_GROUP_ID
public static final java.lang.String CLOUMN_NAME_GRPNAME
public static final java.lang.String CLOUMN_NAME_VERSION
public static final java.lang.String CLOUMN_NAME_REVISION
public static final java.lang.String COLUMN_NAME_CODE
public static final java.lang.String COLUMN_NAME_PRIORITY
public static final java.lang.String COLUMN_NAME_OBJECTID
public static final java.lang.String COLUMN_NAME_UPLOADFILE_ID
public static final java.lang.String XPATH_PARAMETER_UNIQUE_ID
public static final java.lang.String XPATH_PX_DESCRIPTION_BY_PX_PROMOTION_ID
public static final java.lang.String XPATH_PX_ELEMENT_BY_PX_PROMOTION_ID
public static final java.lang.String XPATH_PX_PROMOTION_BY_PX_PROMOTION_ID
public static final java.lang.String XPATH_PX_PROMOTION_BY_PX_PROMOTION_ADMINISTRATIVE_NAME
public static final java.lang.String XPATH_PX_PROMOTION_BY_PX_PROMOTION_NAME
public static final java.lang.String XPATH_PX_GROUP_BY_PX_GROUP_ID
public static final java.lang.String XPATH_PX_GROUP_BY_GRPNAME
public static final java.lang.String XPATH_PX_PROMOTION_BY_CODE_AND_CHILD_STORES
public static final java.lang.String XPATH_PX_PROMOTION_BY_PRIORITY_AND_GROUP_NAME_AND_CHILD_STORES
public static final java.lang.String XPATH_UPLOADFILE_BY_UNIQUE_ID_BEGIN
public static final java.lang.String XPATH_UPLOADFILE_BY_OBJECTID_AND_UPLOADTYPE_SPECIFY_OBJECTID
public static final java.lang.String XPATH_UPLOADFILE_BY_OBJECTID_AND_UPLOADTYPE_SPECIFY_UPLOADTYPE
public static final java.lang.String QUERY_SELECT_CLOB_XMLPARAM_OF_PX_PROMOTION
public static final java.lang.String QUERY_INITIALIZE_XMLPARAM_CLOB_OF_PX_PROMOTION
public static final java.lang.String QUERY_SELECT_CLOB_XMLPARAM_OF_PX_PROMOAUDIT
public static final java.lang.String QUERY_INITIALIZE_XMLPARAM_CLOB_OF_PX_PROMOAUDIT
public static final java.lang.String QUERY_UPDATE_OBJECTID_OF_UPLOADFILE
public static final java.lang.String ALLOW_DEACTIVATING_PROMOTION_WHILE_GENERATING_CODES
public static final java.lang.String APPLY_PROMOTION_ON_LOWEST_PRICED_ORDER_ITEMS_FIRST
public static final java.lang.String LIST_ONLY_PROMOTIONS_NOT_IN_FOLDERS
protected java.lang.String getComponentId()
public org.eclipse.emf.ecore.EClass getRootEClass()
public static boolean invalidStringLength(java.lang.String str, int maxLength)
public java.lang.String getEPackageName()