public class SaveCommerceC2CSessionData extends GenericService implements C2CSavable
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
CLASS_VERSION
Class version string 
 | 
protected java.lang.String | 
mActivePromotionsPropertyName  | 
protected java.lang.String | 
mCatalogPropertyName  | 
protected CatalogTools | 
mCatalogTools  | 
protected atg.commerce.clicktoconnect.CommerceC2CSessionDataManager | 
mCommerceC2CSessionDataManager  | 
protected java.lang.String | 
mPriceListPropertyName  | 
protected java.lang.String | 
mProfilePath  | 
protected java.lang.String | 
mSalePriceListPropertyName  | 
protected java.lang.String | 
mShoppingCartPath  | 
SERVICE_INFO_KEYDEFAULT_LOG_TRACE_STATUSDEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS| Constructor and Description | 
|---|
SaveCommerceC2CSessionData()  | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.String | 
getActivePromotionsPropertyName()  | 
java.lang.String | 
getCatalogPropertyName()  | 
CatalogTools | 
getCatalogTools()  | 
atg.commerce.clicktoconnect.CommerceC2CSessionDataManager | 
getCommerceC2CSessionDataManager()  | 
java.lang.String | 
getPriceListPropertyName()  | 
java.lang.String | 
getProfilePath()  | 
java.lang.String | 
getSalePriceListPropertyName()  | 
java.lang.String | 
getShoppingCartPath()  | 
void | 
save(MutableRepositoryItem pC2CSession)
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
  
 | 
void | 
setActivePromotionsPropertyName(java.lang.String mActivePromotionsPropertyName)  | 
void | 
setCatalogPropertyName(java.lang.String pCatalogPropertyName)  | 
void | 
setCatalogTools(CatalogTools pCatalogTools)  | 
void | 
setCommerceC2CSessionDataManager(atg.commerce.clicktoconnect.CommerceC2CSessionDataManager pCommerceC2CSessionDataManager)  | 
void | 
setPriceListPropertyName(java.lang.String pPriceListPropertyName)  | 
void | 
setProfilePath(java.lang.String pProfilePath)  | 
void | 
setSalePriceListPropertyName(java.lang.String pSalePriceListPropertyName)  | 
void | 
setShoppingCartPath(java.lang.String pShoppingCartPath)  | 
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, toStringvlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarningpublic static java.lang.String CLASS_VERSION
protected atg.commerce.clicktoconnect.CommerceC2CSessionDataManager mCommerceC2CSessionDataManager
protected java.lang.String mPriceListPropertyName
protected java.lang.String mSalePriceListPropertyName
protected java.lang.String mCatalogPropertyName
protected java.lang.String mActivePromotionsPropertyName
protected java.lang.String mProfilePath
protected java.lang.String mShoppingCartPath
protected CatalogTools mCatalogTools
public void setCommerceC2CSessionDataManager(atg.commerce.clicktoconnect.CommerceC2CSessionDataManager pCommerceC2CSessionDataManager)
mCommerceC2CSessionDataManager - the mCommerceC2CSessionDataManager to setpublic atg.commerce.clicktoconnect.CommerceC2CSessionDataManager getCommerceC2CSessionDataManager()
public void setPriceListPropertyName(java.lang.String pPriceListPropertyName)
mPriceListPropertyName - the mPriceListPropertyName to setpublic java.lang.String getPriceListPropertyName()
public void setSalePriceListPropertyName(java.lang.String pSalePriceListPropertyName)
mSalePriceListPropertyName - the mSalePriceListPropertyName to setpublic java.lang.String getSalePriceListPropertyName()
public void setCatalogPropertyName(java.lang.String pCatalogPropertyName)
mCatalogPropertyName - the mCatalogPropertyName to setpublic java.lang.String getCatalogPropertyName()
public void setActivePromotionsPropertyName(java.lang.String mActivePromotionsPropertyName)
mActivePromotionsPropertyName - the mActivePromotionsPropertyName to setpublic java.lang.String getActivePromotionsPropertyName()
public void setProfilePath(java.lang.String pProfilePath)
mProfilePath - the mProfilePath to setpublic java.lang.String getProfilePath()
public void setShoppingCartPath(java.lang.String pShoppingCartPath)
mShoppingCartPath - the mShoppingCartPath to setpublic java.lang.String getShoppingCartPath()
public void setCatalogTools(CatalogTools pCatalogTools)
mCatalogTools - the pCatalogTools to setpublic CatalogTools getCatalogTools()
public void save(MutableRepositoryItem pC2CSession) throws C2CSessionException
save in interface C2CSavablepC2CSession - A repository item representing the C2CSessionC2CSessionException