atg.commerce.clicktoconnect
Class SaveCommerceC2CSessionData
java.lang.Object
atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
atg.nucleus.GenericService
atg.commerce.clicktoconnect.SaveCommerceC2CSessionData
- All Implemented Interfaces:
- C2CSavable, 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, java.util.EventListener
public class SaveCommerceC2CSessionData
- extends GenericService
- implements C2CSavable
This class adds Commerce related data to the C2CSession repository item
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
DEFAULT_LOG_TRACE_STATUS |
Methods inherited from class atg.nucleus.GenericService |
addLogListener, createAdminServlet, doStartService, 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
mCommerceC2CSessionDataManager
protected atg.commerce.clicktoconnect.CommerceC2CSessionDataManager mCommerceC2CSessionDataManager
mPriceListPropertyName
protected java.lang.String mPriceListPropertyName
mSalePriceListPropertyName
protected java.lang.String mSalePriceListPropertyName
mCatalogPropertyName
protected java.lang.String mCatalogPropertyName
mActivePromotionsPropertyName
protected java.lang.String mActivePromotionsPropertyName
mProfilePath
protected java.lang.String mProfilePath
mShoppingCartPath
protected java.lang.String mShoppingCartPath
mCatalogTools
protected CatalogTools mCatalogTools
SaveCommerceC2CSessionData
public SaveCommerceC2CSessionData()
setCommerceC2CSessionDataManager
public void setCommerceC2CSessionDataManager(atg.commerce.clicktoconnect.CommerceC2CSessionDataManager pCommerceC2CSessionDataManager)
- Parameters:
mCommerceC2CSessionDataManager
- the mCommerceC2CSessionDataManager to set
getCommerceC2CSessionDataManager
public atg.commerce.clicktoconnect.CommerceC2CSessionDataManager getCommerceC2CSessionDataManager()
- Returns:
- the mCommerceC2CSessionDataManager
setPriceListPropertyName
public void setPriceListPropertyName(java.lang.String pPriceListPropertyName)
- Parameters:
mPriceListPropertyName
- the mPriceListPropertyName to set
getPriceListPropertyName
public java.lang.String getPriceListPropertyName()
- Returns:
- the mPriceListPropertyName
setSalePriceListPropertyName
public void setSalePriceListPropertyName(java.lang.String pSalePriceListPropertyName)
- Parameters:
mSalePriceListPropertyName
- the mSalePriceListPropertyName to set
getSalePriceListPropertyName
public java.lang.String getSalePriceListPropertyName()
- Returns:
- the mSalePriceListPropertyName
setCatalogPropertyName
public void setCatalogPropertyName(java.lang.String pCatalogPropertyName)
- Parameters:
mCatalogPropertyName
- the mCatalogPropertyName to set
getCatalogPropertyName
public java.lang.String getCatalogPropertyName()
- Returns:
- the mCatalogPropertyName
setActivePromotionsPropertyName
public void setActivePromotionsPropertyName(java.lang.String mActivePromotionsPropertyName)
- Parameters:
mActivePromotionsPropertyName
- the mActivePromotionsPropertyName to set
getActivePromotionsPropertyName
public java.lang.String getActivePromotionsPropertyName()
- Returns:
- the mActivePromotionsPropertyName
setProfilePath
public void setProfilePath(java.lang.String pProfilePath)
- Parameters:
mProfilePath
- the mProfilePath to set
getProfilePath
public java.lang.String getProfilePath()
- Returns:
- the mProfilePath
setShoppingCartPath
public void setShoppingCartPath(java.lang.String pShoppingCartPath)
- Parameters:
mShoppingCartPath
- the mShoppingCartPath to set
getShoppingCartPath
public java.lang.String getShoppingCartPath()
- Returns:
- the mShoppingCartPath
setCatalogTools
public void setCatalogTools(CatalogTools pCatalogTools)
- Parameters:
mCatalogTools
- the pCatalogTools to set
getCatalogTools
public CatalogTools getCatalogTools()
- Returns:
- the mCatalogTools
save
public void save(MutableRepositoryItem pC2CSession)
throws C2CSessionException
- This method save all commerce specific session data:
- The current order, which will be saved first if it transient
- The priceList associated with the profile
- The salePriceList associated with the profile
- The catalog id if there is a custom catalog
- The site id if there is a non empty current site context
- Any active promotions associated with the profile
- Specified by:
save
in interface C2CSavable
- Parameters:
pC2CSession
- A repository item representing the C2CSession
- Throws:
C2CSessionException