public class AdminPromotionMgrEE extends AdminPromotionMgr implements AdminPromotionMgrIf
AdminPromotionMgr.StaticData
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
log
the log
|
ALL, EXCLUDE, GIFT_CERTIFICATE_RELATION_TYPE, INCLUDE, mutex, PROMOTION_RELATION_TYPE, staticDataHM
adminEng, baseMgrMutex, baseStaticDataHM, cDataEnd, cDataStart, debugStackTraceExclusions, kkAdminPropsFilePath, kkConf, kkInstanceId, mgrFactory, STORE_ID, templateBaseDir
Constructor and Description |
---|
AdminPromotionMgrEE(KKAdminIf eng)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addExpressionsToPromotion(AdminExpression[] expressions,
int promotionId)
Add the array of expressions to the promotion
|
protected void |
addTestExpressionToPromotion(int promotionId)
Adds the promotion test expression to the promotion.
|
protected int |
getTestExpressionId() |
void |
refreshConfigs()
Refresh the configuration of the Admin Promotion Manager
|
void |
removeExpressionsFromPromotion(AdminExpression[] expressions,
int promotionId)
Remove an array of expressions from the promotion
|
protected void |
removeTestExpressionFromPromotion(int promotionId)
Removes the promotion test expression from the promotion.
|
addCategoriesToPromotion, addCouponOrderBy, addCouponSearchCriteria, addCouponsToPromotion, addCustomerGroupsToPromotion, addCustomersToPromotion, addCustomersToPromotion, addGiftCertificatesToPromotion, addManufacturersToPromotion, addProductsToPromotion, addProductsToPromotion, addPromotionOrderBy, addPromotionSearchCriteria, addPromotionsToCoupon, deleteCoupon, deleteCouponsPerPromotion, deletePromotion, deletePromotionCommonCode, deletePromotionWithOptions, editCoupon, editPromotion, getCount, getCoupons, getCouponsCount, getCouponsPerPromotion, getCustomersCountWhoHaventPlacedAnOrderSince, getCustomersCountWhoHavePlacedAnOrderSince, getGiftCertificatesPerPromotion, getProductOptionsPerProductAndPromotion, getProductsPerPromotion, getProductsPerPromotion, getPromotion, getPromotionIdForGiftCertificate, getPromotionIdForGiftCertificate, getPromotions, getPromotionsCount, getPromotionsPerCoupon, getStoreTime, insertCoupon, insertCoupon, insertCoupon, insertPromotion, removeCategoriesFromPromotion, removeCouponsFromPromotion, removeCustomerGroupsFromPromotion, removeCustomersFromPromotion, removeGiftCertificatesFromPromotion, removeManufacturersFromPromotion, removeProductsFromPromotion, removeProductsFromPromotion, removePromotionsFromCoupon, setAllCouponAttrs, setAllPromotionAttrs, validateCoupon, validatePromotion
addInsertAttr, addInsertAttr, addStringRuleConstraint, addStringRuleConstraint, checkAPICallEnabled, checkIntInRange, checkIntIsSet, checkRequired, executeQuery, executeQuery, getAdminAddressMgr, getAdminAuditMgr, getAdminBillingMgr, getAdminBookableProductMgr, getAdminCatMgr, getAdminConfigMgr, getAdminContentMgr, getAdminCurrMgr, getAdminCustMgr, getAdminCustPwdHistMgr, getAdminCustTagMgr, getAdminEmailMgr, getAdminEng, getAdminEngineCacheMgr, getAdminEventMgr, getAdminExecuteMgr, getAdminFileMgr, getAdminFilterMgr, getAdminHtmlMgr, getAdminImportMgr, getAdminLanguageMgr, getAdminManuMgr, getAdminMessageMgr, getAdminMiscItemMgr, getAdminMiscPriceMgr, getAdminModulesMgr, getAdminMultiStoreMgr, getAdminOrderMgr, getAdminPdfMgr, getAdminProdAttrMgr, getAdminProdMgr, getAdminPromMgr, getAdminReviewMgr, getAdminSearchRuleMgr, getAdminSecMgr, getAdminServletMgr, getAdminShipmentMgr, getAdminSolrMgr, getAdminStoreMgr, getAdminSuggestionMgr, getAdminTagMgr, getAdminTaxMgr, getAdminValidationMgr, getAdminVelocityContextMgr, getAdminWishListMgr, getBooleanFromString, getDebugStackTraceExclusions, getEmailThreadGracefulShutdownTimeout, getExportMgr, getExportMgr, getExportXMLData, getIntFromString, getKkAdminPropsFilePath, getKkConfig, getKkInstanceId, getMode, getModeString, getMqMgr, getNewCriteria, getNewCriteria, getNewCriteria, getNewCriteria, getOtherModuleByName, getPostSearchText, getPreSearchText, getProductsToCategoresCriteria, getPropertyValue, getPropertyValue, getPropertyValueAsBool, getPropertyValueAsInt, getPropertyValueAsLong, getRecordCount, getRecordCount, getRewardPointMgr, getSingleIntResult, getStoreId, getTemplate, getTemplateBase, getXml_io, init, insertKKEvent, insertKKEvent, isBusiness, isBusinessOrEnterprise, isCommunity, isConfigSet, isEnterprise, isMultiStoreLanguagesShared, isMultiStoreMode, isMultiStoreShareCategories, isMultiStoreShareCustomers, isMultiStoreShareCustomersOrProducts, isMultiStoreShareProducts, isMultiStoreSingleDBCSMode, isMultiStoreSingleDBMode, isMultiStoreSingleDBNonCSMode, isUnix, isWindows, manageException, manageThrowable, removeCData, sendMQMessages, setAdminEng, setDebugStackTraceExclusions, setKkAdminPropsFilePath, setupWildCardRules, setWildCardAfter, setWildCardBefore, shutdownGracefully, shutdownGracefully, timestampStr, updateStaticVariablesNow
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addCategoriesToPromotion, addCouponsToPromotion, addCustomerGroupsToPromotion, addCustomersToPromotion, addCustomersToPromotion, addGiftCertificatesToPromotion, addManufacturersToPromotion, addProductsToPromotion, addPromotionsToCoupon, deleteCoupon, deletePromotion, deletePromotionWithOptions, editCoupon, editPromotion, getCoupons, getCouponsCount, getCouponsPerPromotion, getCustomersCountWhoHaventPlacedAnOrderSince, getCustomersCountWhoHavePlacedAnOrderSince, getGiftCertificatesPerPromotion, getProductsPerPromotion, getPromotion, getPromotionIdForGiftCertificate, getPromotions, getPromotionsCount, getPromotionsPerCoupon, getStoreTime, insertCoupon, insertCoupon, insertPromotion, removeCategoriesFromPromotion, removeCouponsFromPromotion, removeCustomerGroupsFromPromotion, removeCustomersFromPromotion, removeGiftCertificatesFromPromotion, removeManufacturersFromPromotion, removeProductsFromPromotion, removePromotionsFromCoupon
public AdminPromotionMgrEE(KKAdminIf eng) throws java.lang.Exception
eng
- the engjava.lang.Exception
- an unexpected exceptionpublic void addExpressionsToPromotion(AdminExpression[] expressions, int promotionId) throws org.apache.torque.TorqueException
addExpressionsToPromotion
in interface AdminPromotionMgrIf
addExpressionsToPromotion
in class AdminPromotionMgr
expressions
- the expressionspromotionId
- the promotionIdorg.apache.torque.TorqueException
- an unexpected exception in Torque (the database layer)public void removeExpressionsFromPromotion(AdminExpression[] expressions, int promotionId) throws org.apache.torque.TorqueException
removeExpressionsFromPromotion
in interface AdminPromotionMgrIf
removeExpressionsFromPromotion
in class AdminPromotionMgr
expressions
- the expressionspromotionId
- the promotionIdorg.apache.torque.TorqueException
- an unexpected exception in Torque (the database layer)public void refreshConfigs() throws java.lang.Exception
refreshConfigs
in interface AdminPromotionMgrIf
refreshConfigs
in class AdminPromotionMgr
java.lang.Exception
- an unexpected exceptionprotected void addTestExpressionToPromotion(int promotionId) throws KKAdminException, org.apache.torque.TorqueException, com.workingdogs.village.DataSetException
addTestExpressionToPromotion
in class AdminPromotionMgr
promotionId
- the promotionIdKKAdminException
- unexpected exception in the KonaKart Admin Engineorg.apache.torque.TorqueException
- an unexpected exception in Torque (the database layer)com.workingdogs.village.DataSetException
- an unexpected exception due to data in Torque (the database layer)protected void removeTestExpressionFromPromotion(int promotionId) throws KKAdminException, org.apache.torque.TorqueException, com.workingdogs.village.DataSetException
removeTestExpressionFromPromotion
in class AdminPromotionMgr
promotionId
- the promotionIdKKAdminException
- unexpected exception in the KonaKart Admin Engineorg.apache.torque.TorqueException
- an unexpected exception in Torque (the database layer)com.workingdogs.village.DataSetException
- an unexpected exception due to data in Torque (the database layer)protected int getTestExpressionId() throws KKAdminException, org.apache.torque.TorqueException, com.workingdogs.village.DataSetException
getTestExpressionId
in class AdminPromotionMgr
KKAdminException
- unexpected exception in the KonaKart Admin Engineorg.apache.torque.TorqueException
- an unexpected exception in Torque (the database layer)com.workingdogs.village.DataSetException
- an unexpected exception due to data in Torque (the database layer)Copyright © 2018 DS Data Systems UK Ltd.