|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.nucleus.logging.VariableArgumentApplicationLoggingImpl atg.nucleus.GenericService atg.remote.promotion.template.service.PromotionTemplateTools
public class PromotionTemplateTools
Service that provides some general purpose Promotion Template functionality.
Field Summary | |
---|---|
static java.lang.String |
BULK_CALCULATOR_TYPE
|
static java.lang.String |
CALCULATOR_TYPE_ATTRIBUTE
|
static java.lang.String |
CLASS_VERSION
|
static java.lang.String |
DISCOUNT_TYPE_ATTRIBUTE
|
static java.lang.String |
PROMOTION_TYPE_ATTRIBUTE
|
static java.lang.String |
PROMOTION_TYPE_IDENTIFIER
|
static java.lang.String |
STANDARD_CALCULATOR_TYPE
|
Fields inherited from class atg.nucleus.GenericService |
---|
SERVICE_INFO_KEY |
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
---|
DEFAULT_LOG_TRACE_STATUS |
Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
Constructor Summary | |
---|---|
PromotionTemplateTools()
|
Method Summary | |
---|---|
java.lang.String |
getAdjusterAttribute()
|
java.lang.String |
getBandingAttribute()
|
CalculatorInfo |
getCalculatorInfo(java.lang.String pPromotionType,
java.lang.String pCalculatorType)
Retrieves a CalculatorInfo from the PricingEngineService for the given pPromotionType + pCalculatorType combination. |
CalculatorInfo |
getCalculatorInfo(java.lang.String pPromotionType,
java.lang.String pDiscountType,
java.lang.String pCalculatorType)
Retrieves a CalculatorInfo from the PricingEngineService for the given pPromotionType + pDiscountType + pCalculatorType combination. |
CalculatorInfo[] |
getCalculatorInfos(java.lang.String pPromotionType)
Retrieves all CalculatorInfo's from the PricingEngineService for the given pPromotionType |
ServiceMap |
getPricingEngineMap()
|
PricingEngineService |
getPricingEngineService(java.lang.String pPromoType)
Retrieves the PricingEngineService from mPricingEngineMap for a given promotion type |
java.lang.String |
getPromotionIdFromDisplayName(java.lang.String pPromoName)
Retrieves promotion type id from display name. |
java.lang.String |
retrieveAndFormatResourceBundleString(java.lang.String pKey,
java.lang.Object[] pArgs)
|
void |
setPricingEngineMap(ServiceMap pPricingEngineMap)
|
static java.lang.String[] |
splitOutEndTag(java.lang.String pXML)
Method to split out the end tag from an XML string. |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CLASS_VERSION
public static final java.lang.String PROMOTION_TYPE_IDENTIFIER
public static final java.lang.String BULK_CALCULATOR_TYPE
public static final java.lang.String STANDARD_CALCULATOR_TYPE
public static final java.lang.String PROMOTION_TYPE_ATTRIBUTE
public static final java.lang.String DISCOUNT_TYPE_ATTRIBUTE
public static final java.lang.String CALCULATOR_TYPE_ATTRIBUTE
Constructor Detail |
---|
public PromotionTemplateTools()
Method Detail |
---|
public ServiceMap getPricingEngineMap()
public void setPricingEngineMap(ServiceMap pPricingEngineMap)
public CalculatorInfo getCalculatorInfo(java.lang.String pPromotionType, java.lang.String pDiscountType, java.lang.String pCalculatorType) throws atg.repository.editingtemplate.TemplateException
pPromotionType
- pDiscountType
- pCalculatorType
-
atg.repository.editingtemplate.TemplateException
public CalculatorInfo getCalculatorInfo(java.lang.String pPromotionType, java.lang.String pCalculatorType) throws atg.repository.editingtemplate.TemplateException
pPromotionType
- pCalculatorType
-
atg.repository.editingtemplate.TemplateException
public CalculatorInfo[] getCalculatorInfos(java.lang.String pPromotionType) throws atg.repository.editingtemplate.TemplateException
pPromotionType
-
PromotionTemplateException
atg.repository.editingtemplate.TemplateException
public java.lang.String retrieveAndFormatResourceBundleString(java.lang.String pKey, java.lang.Object[] pArgs)
pKey
- pArgs
-
public java.lang.String getPromotionIdFromDisplayName(java.lang.String pPromoName)
pPromoName
-
public java.lang.String getBandingAttribute()
public java.lang.String getAdjusterAttribute()
public PricingEngineService getPricingEngineService(java.lang.String pPromoType)
pPromoType
- the promotion type
public static java.lang.String[] splitOutEndTag(java.lang.String pXML) throws atg.repository.editingtemplate.TemplateException
pXML
- String XML
atg.repository.editingtemplate.TemplateException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |