|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectatg.nucleus.logging.VariableArgumentApplicationLoggingImpl
atg.nucleus.GenericService
atg.commerce.pricing.priceLists.PriceListManager
atg.projects.store.pricing.StorePriceListManager
public class StorePriceListManager
The extensions to OOTB CatalogTools.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string. |
Fields inherited from class atg.commerce.pricing.priceLists.PriceListManager |
---|
BASE_PRICE_LIST_PROPERTY_NAME, BULK_PRICE, BULK_PRICE_STRING, COMPLEX_PRICE_ITEM_TYPE, COMPLEX_PRICE_LEVELS_PROPERTY_NAME, COMPLEX_PRICE_PROPERTY_NAME, LEVEL_PRICE_PROPERTY_NAME, LIST_PRICE, LIST_PRICE_PROPERTY_NAME, LIST_PRICE_STRING, LOCALE_PROPERTY_NAME, mProfileTools, PARENT_SKU_ID_PROPERTY_NAME, PRICE_ITEM_TYPE, PRICE_LEVEL_ITEM_TYPE, PRICE_LIST_ID_PROPERTY_NAME, PRICE_LIST_ITEM_TYPE, PRICE_LIST_PROPERTY_NAME, PRICE_LIST_VIEW_NAME, PRICE_VIEW_NAME, PRICING_SCHEME_PROPERTY_NAME, PRODUCT_ID_PROPERTY_NAME, PROFILE_PRICE_LIST_PROPERTY_NAME, QUANTITY_PROPERTY_NAME, SALE_COMPLEX_PRICE_PROPERTY_NAME, SALE_PRICE_PROPERTY_NAME, SKU_ID_PROPERTY_NAME, TIERED_PRICE, TIERED_PRICE_STRING |
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 | |
---|---|
StorePriceListManager()
|
Method Summary | |
---|---|
void |
doStartService()
We ensure that the specified ids resolve to valid repository items. |
protected java.util.Locale |
getPriceListLocale(atg.repository.RepositoryItem pProfile,
java.util.Map pExtraParameters)
Returns the locale of the profile's price list. |
java.lang.String |
getPriceListLocalePropertyName()
The name of the property in the price list that stores the locale. |
java.lang.String |
getProfilePriceListPropertyName()
The name of the property in the profile that stores the price list. |
atg.repository.RepositoryItem |
getSalePriceList()
|
java.lang.String |
getSalePriceListId()
|
atg.repository.RepositoryItem |
getStorePriceList()
|
java.lang.String |
getStorePriceListId()
|
void |
setPriceListLocalePropertyName(java.lang.String pPriceListLocalePropertyName)
The name of the property in the price list that stores the locale. |
void |
setProfilePriceListPropertyName(java.lang.String pProfilePriceListPropertyName)
The name of the property in the profile that stores the price list. |
void |
setSalePriceList(atg.repository.RepositoryItem pSalePriceList)
|
void |
setSalePriceListId(java.lang.String pSalePriceListId)
|
void |
setStorePriceList(atg.repository.RepositoryItem pStorePriceList)
|
void |
setStorePriceListId(java.lang.String pStorePriceListId)
|
Methods inherited from class atg.commerce.pricing.priceLists.PriceListManager |
---|
addPriceLevel, addPriceLevel, createComplexPrice, createComplexPrice, createListPrice, createPrice, createPrice, createPriceList, createPriceWithComplexPrice, createSubSkuPrice, getAllPrices, getAncestorPriceLists, getBasePriceListPropertyName, getComplexPrice, getComplexPriceItemType, getComplexPriceLevelsPropertyName, getComplexPricePropertyName, getDefaultPriceList, getDefaultPriceList, getDefaultPriceListId, getDefaultSalePriceList, getDefaultSalePriceListId, getDescendantPriceLists, getFirstDescendantPriceLists, getLevelPricePropertyName, getListPricePropertyName, getLocalePropertyName, getParentSkuIdPropertyName, getPrice, getPrice, getPrice, getPrice, getPrice, getPrice, getPrice, getPrice, getPrice, getPrice, getPrice, getPrice, getPriceAdmin, getPriceCache, getPriceItemType, getPriceLevelItemType, getPriceList, getPriceList, getPriceList, getPriceListIdPropertyName, getPriceListItemType, getPriceListLocale, getPriceListPropertyName, getPriceListRepository, getPriceLists, getPriceLists, getPriceListViewName, getPriceViewName, getPricingSchemePropertyName, getProductIdPropertyName, getProductPrice, getProductPrices, getProductPrices, getProfileTools, getQuantityPropertyName, getSaleComplexPricePropertyName, getSalePricePropertyName, getSkuIdPropertyName, getSkuPrice, getSkuPrice, getSkuPrice, getSkuPrices, getSkuPrices, getUncachedPrice, getUncachedProductPrices, getUncachedSkuPrices, isAutomaticallyUseDefaultPriceList, isIgnoreProductFirst, isItemInPriceList, isUseBasePriceList, isUseCache, isUseSkuOnly, lookForPrice, propertiesChanged, setAutomaticallyUseDefaultPriceList, setBasePriceListPropertyName, setComplexPriceItemType, setComplexPriceLevelsPropertyName, setComplexPricePropertyName, setDefaultPriceListId, setDefaultSalePriceListId, setIgnoreProductFirst, setLevelPricePropertyName, setListPricePropertyName, setLocalePropertyName, setParentSkuIdPropertyName, setPriceCache, setPriceItemType, setPriceLevelItemType, setPriceListIdPropertyName, setPriceListItemType, setPriceListPropertyName, setPriceListRepository, setPriceListViewName, setPriceViewName, setPricingSchemePropertyName, setProductIdPropertyName, setProfileTools, setQuantityPropertyName, setSaleComplexPrice, setSaleComplexPrice, setSaleComplexPricePropertyName, setSaleListPrice, setSalePricePropertyName, setSaleSubSkuPrice, setSkuIdPropertyName, setUseBasePriceList, setUseCache, setUseSkuOnly |
Methods inherited from class atg.nucleus.GenericService |
---|
addLogListener, createAdminServlet, doStopService, getAbsoluteName, getAdminServlet, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, 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 java.lang.String CLASS_VERSION
Constructor Detail |
---|
public StorePriceListManager()
Method Detail |
---|
public java.lang.String getStorePriceListId()
public void setStorePriceListId(java.lang.String pStorePriceListId)
pStorePriceListId
- - price list id.public atg.repository.RepositoryItem getStorePriceList()
public void setStorePriceList(atg.repository.RepositoryItem pStorePriceList)
pStorePriceList
- - price list.public java.lang.String getSalePriceListId()
public void setSalePriceListId(java.lang.String pSalePriceListId)
pSalePriceListId
- - sale price list id.public atg.repository.RepositoryItem getSalePriceList()
public void setSalePriceList(atg.repository.RepositoryItem pSalePriceList)
pSalePriceList
- - sale price list repository item.public void setPriceListLocalePropertyName(java.lang.String pPriceListLocalePropertyName)
pPriceListLocalePropertyName
- - the new value to setpublic java.lang.String getPriceListLocalePropertyName()
public void setProfilePriceListPropertyName(java.lang.String pProfilePriceListPropertyName)
pProfilePriceListPropertyName
- - the new value to setpublic java.lang.String getProfilePriceListPropertyName()
public void doStartService() throws atg.nucleus.ServiceException
doStartService
in class atg.commerce.pricing.priceLists.PriceListManager
atg.nucleus.ServiceException
- if servive error occursprotected java.util.Locale getPriceListLocale(atg.repository.RepositoryItem pProfile, java.util.Map pExtraParameters) throws atg.commerce.pricing.PricingException
pProfile
- - profile repository itempExtraParameters
- - map with additional parameters
atg.commerce.pricing.PricingException
- if exception occurs while
getting price list from profile
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |