atg.commerce.search
Class PriceListPropertyProvider
java.lang.Object
atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
atg.nucleus.GenericService
atg.commerce.search.PriceListPropertyProvider
- All Implemented Interfaces:
- atg.naming.AbsoluteNameable, NameContextBindingListener, NameContextElement, atg.naming.NameContextParentable, NameResolver, AdminableService, atg.nucleus.Configured, ApplicationLogging, atg.nucleus.logging.ApplicationLoggingSender, atg.nucleus.logging.TraceApplicationLogging, VariableArgumentApplicationLogging, ComponentNameResolver, Service, ServiceListener, atg.repository.search.DynamicMetaPropertyProvider, MetaPropertyProvider, java.util.EventListener
public class PriceListPropertyProvider
- extends GenericService
- implements atg.repository.search.DynamicMetaPropertyProvider
Provider creates MetaProperty for "external" price property.
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
DEFAULT_LOG_TRACE_STATUS |
Methods inherited from class atg.nucleus.GenericService |
addLogListener, createAdminServlet, doStopService, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, 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, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService |
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 |
CLASS_VERSION
public static java.lang.String CLASS_VERSION
- Class version string
mPriceProperty
protected MetaProperty mPriceProperty
PriceListPropertyProvider
public PriceListPropertyProvider()
getPropertyName
public java.lang.String getPropertyName()
- Returns:
- propery name
setPropertyName
public void setPropertyName(java.lang.String pPropertyName)
- Parameters:
pPropertyName
- sets new property name
getPropertyDisplayName
public java.lang.String getPropertyDisplayName()
- Returns:
- price display name
setPropertyDisplayName
public void setPropertyDisplayName(java.lang.String pPropertyDisplayName)
- Parameters:
pPropertyDisplayName
- new price display name
getResourceBundle
public java.lang.String getResourceBundle()
- Returns:
- The resource bundle to use.
setResourceBundle
public void setResourceBundle(java.lang.String pResourceBundle)
- Set the resource bundle to use.
getPropertyPrefix
public java.lang.String getPropertyPrefix()
- Returns:
- the propertyPrefix
setPropertyPrefix
public void setPropertyPrefix(java.lang.String pPropertyPrefix)
- Parameters:
pPropertyPrefix
- the propertyPrefix to set
getProperties
public java.util.Set<MetaProperty> getProperties(java.util.Set<java.lang.String> pSet)
- Builds new price MetaProperty
- Specified by:
getProperties
in interface MetaPropertyProvider
- Parameters:
pSet
- unused
- Returns:
- set with only one "price" MetaProperty
resolveProperty
public MetaProperty resolveProperty(java.lang.String pName)
- Resolve the MetaProperty for the given name.
- Specified by:
resolveProperty
in interface atg.repository.search.DynamicMetaPropertyProvider
- Parameters:
pName
- String property name.
- Returns:
- MetaProperty for the given name or null if not resolved.
doStartService
public void doStartService()
throws ServiceException
- This is called after a Service has been created, placed into the
naming hierarchy, and initialized with its configured property
values. The Service should override this method to start any
processes it requires.
- Overrides:
doStartService
in class GenericService
- Throws:
ServiceException
- if the Service had a problem starting up