atg.repository.search.indexing.accessor
Class InternationalPricePropertyAccessor

java.lang.Object
  extended by atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
      extended by atg.nucleus.GenericService
          extended by atg.repository.search.indexing.PropertyAccessorImpl
              extended by atg.commerce.search.producer.PricePropertyAccessor
                  extended by atg.repository.search.indexing.accessor.InternationalPricePropertyAccessor
All Implemented Interfaces:
atg.naming.NameContextBindingListener, atg.naming.NameContextElement, atg.naming.NameResolver, atg.nucleus.AdminableService, atg.nucleus.logging.ApplicationLogging, atg.nucleus.logging.ApplicationLoggingSender, atg.nucleus.logging.TraceApplicationLogging, atg.nucleus.logging.VariableArgumentApplicationLogging, atg.nucleus.naming.ComponentNameResolver, atg.nucleus.Service, atg.nucleus.ServiceListener, atg.repository.search.indexing.PropertyAccessor, atg.repository.search.indexing.SchemedPropertyAccessor, java.util.EventListener

public class InternationalPricePropertyAccessor
extends atg.commerce.search.producer.PricePropertyAccessor

Store extension for getting the price of an item from the appropriate price list using property accessor mechanism.


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
protected static java.lang.String LIST_PRICELIST_ID
           
protected  atg.projects.store.multisite.InternationalStoreSitePropertiesManager mStoreSitePropertiesManager
           
protected static java.lang.String SALE_PRICELIST_ID
           
 
Fields inherited from class atg.commerce.search.producer.PricePropertyAccessor
LIST_PRICE_PROPERTY, PARENT_PRODUCTS
 
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
InternationalPricePropertyAccessor()
           
 
Method Summary
protected  java.util.HashMap getPriceListIds(java.lang.String pPropertyToParse)
          This method find the appropriate priceList Ids for a international store.
 atg.projects.store.multisite.InternationalStoreSitePropertiesManager getStoreSitePropertiesManager()
           
 void setStoreSitePropertiesManager(atg.projects.store.multisite.InternationalStoreSitePropertiesManager pStoreSitePropertiesManager)
           
 
Methods inherited from class atg.commerce.search.producer.PricePropertyAccessor
getPriceListManager, getTextOrMetaPropertyValue, isLoggingDebug, isLoggingError, returnPriceValue, setLoggingDebug, setLoggingError, setPriceListManager
 
Methods inherited from class atg.repository.search.indexing.PropertyAccessorImpl
getMetaPropertyValue, getMetaScheme, getMetaSecurityConstraint, getSiteContextPropertyValue, getSubItemPropertyValue, getTextPropertyValue, getTextSecurityConstraint, onIndexingInitialization, onIndexingTermination, resolveDollarProperty
 
Methods inherited from class atg.nucleus.GenericService
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, 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

CLASS_VERSION

public static final java.lang.String CLASS_VERSION
Class version string

See Also:
Constant Field Values

SALE_PRICELIST_ID

protected static java.lang.String SALE_PRICELIST_ID

LIST_PRICELIST_ID

protected static java.lang.String LIST_PRICELIST_ID

mStoreSitePropertiesManager

protected atg.projects.store.multisite.InternationalStoreSitePropertiesManager mStoreSitePropertiesManager
Constructor Detail

InternationalPricePropertyAccessor

public InternationalPricePropertyAccessor()
Method Detail

getStoreSitePropertiesManager

public atg.projects.store.multisite.InternationalStoreSitePropertiesManager getStoreSitePropertiesManager()
Returns:
the InternationalStoreSitePropertiesManager

setStoreSitePropertiesManager

public void setStoreSitePropertiesManager(atg.projects.store.multisite.InternationalStoreSitePropertiesManager pStoreSitePropertiesManager)
Parameters:
StoreSitePropertiesManager - the InternationalStoreSitePropertiesManager to set

getPriceListIds

protected java.util.HashMap getPriceListIds(java.lang.String pPropertyToParse)
This method find the appropriate priceList Ids for a international store. the pricelist ids are present in the store configuration file.

Parameters:
pPropertyToParse - The name of the property specified in xml.
Returns:
Object is having the priceListID.