atg.commerce.csr.util
Class CSRConfigurator

java.lang.Object
  extended by atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
      extended by atg.nucleus.GenericService
          extended by atg.commerce.csr.util.CSRConfigurator
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, java.util.EventListener

public class CSRConfigurator
extends atg.nucleus.GenericService

This class is used to maintain global configuration values for the CSR application.


Field Summary
static java.lang.String CLASS_VERSION
          Class version 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
CSRConfigurator()
           
 
Method Summary
 atg.commerce.catalog.CatalogTools getCatalogTools()
          Returns The catalog tools
 java.lang.String getDefaultCatalogId()
          Returns the catalog that's assigned whenever a new anonymous user profile is created and custom catalog is enabled in the CSRConfigurator
 int getMaximumAlmostQualifiedForPromotionsInShortList()
           
 int getQuantityInputTagMaxlength()
          Item quantity input tag's 'maxlength' attribute
 int getQuantityInputTagSize()
          Item quantity input tag's 'size' attribute
 boolean isCustomCatalogs()
          Returns boolean indicating if custom catalogs are in use
 boolean isProcessReturnRequestImmediately()
          The default value is false.
 boolean isUsingPriceLists()
          Returns boolean indicating whether price lists are being used
 void setCatalogTools(atg.commerce.catalog.CatalogTools pCatalogTools)
          Sets catalogTools
 void setCustomCatalogs(boolean pCustomCatalogs)
          boolean indicating if custom catalogs are in use
 void setDefaultCatalogId(java.lang.String pDefaultCatalogId)
          This catalog is assigned whenever a new anonymous user profile is created and custom catalog is enabled in the CSRConfigurator.
 void setMaximumAlmostQualifiedForPromotionsInShortList(int pMax)
           
 void setProcessReturnRequestImmediately(boolean pProcessReturnRequestImmediately)
          The default value is false.
 void setQuantityInputTagMaxlength(int pMax)
          Item quantity input tag's 'maxlength' attribute
 void setQuantityInputTagSize(int pSize)
          Item quantity input tag's 'size' attribute
 void setUsingPriceLists(boolean pUsingPriceLists)
          Sets boolean indicating whether price lists are being used
 
Methods inherited from class atg.nucleus.GenericService
addLogListener, createAdminServlet, doStartService, 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

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

CSRConfigurator

public CSRConfigurator()
Method Detail

isProcessReturnRequestImmediately

public boolean isProcessReturnRequestImmediately()
The default value is false. This falg is used to process the return request immediately or wait for the full return. Returns the processReturnRequestImmediately.

Returns:
processReturnRequestImmediately

setProcessReturnRequestImmediately

public void setProcessReturnRequestImmediately(boolean pProcessReturnRequestImmediately)
The default value is false. This falg is used to process the return request immediately or wait for the full return. Sets the processReturnRequestImmediately.

Parameters:
pProcessReturnRequestImmediately -

setCatalogTools

public void setCatalogTools(atg.commerce.catalog.CatalogTools pCatalogTools)
Sets catalogTools

Parameters:
pCatalogTools - the catalog tools

getCatalogTools

public atg.commerce.catalog.CatalogTools getCatalogTools()
Returns The catalog tools


setCustomCatalogs

public void setCustomCatalogs(boolean pCustomCatalogs)
boolean indicating if custom catalogs are in use

Parameters:
pCustomCatalogs - boolean indicating if custom catalogs are in use

isCustomCatalogs

public boolean isCustomCatalogs()
Returns boolean indicating if custom catalogs are in use


setUsingPriceLists

public void setUsingPriceLists(boolean pUsingPriceLists)
Sets boolean indicating whether price lists are being used

Parameters:
pUsingPriceLists - boolean indicating whether price lists are being used

isUsingPriceLists

public boolean isUsingPriceLists()
Returns boolean indicating whether price lists are being used


setDefaultCatalogId

public void setDefaultCatalogId(java.lang.String pDefaultCatalogId)
This catalog is assigned whenever a new anonymous user profile is created and custom catalog is enabled in the CSRConfigurator.

Parameters:
pDefaultCatalogId - the custom catalog id

getDefaultCatalogId

public java.lang.String getDefaultCatalogId()
Returns the catalog that's assigned whenever a new anonymous user profile is created and custom catalog is enabled in the CSRConfigurator


getMaximumAlmostQualifiedForPromotionsInShortList

public int getMaximumAlmostQualifiedForPromotionsInShortList()
Returns:
The maximum number of nearly qualified for promotions to display in a short list

setMaximumAlmostQualifiedForPromotionsInShortList

public void setMaximumAlmostQualifiedForPromotionsInShortList(int pMax)
Parameters:
pMax - The maximum number of nearly qualified for promotions to display in a short list

getQuantityInputTagSize

public int getQuantityInputTagSize()
Item quantity input tag's 'size' attribute


setQuantityInputTagSize

public void setQuantityInputTagSize(int pSize)
Item quantity input tag's 'size' attribute


getQuantityInputTagMaxlength

public int getQuantityInputTagMaxlength()
Item quantity input tag's 'maxlength' attribute


setQuantityInputTagMaxlength

public void setQuantityInputTagMaxlength(int pMax)
Item quantity input tag's 'maxlength' attribute