atg.projects.store.order.purchase
Class StoreShippingGroupContainerService

java.lang.Object
  extended by atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
      extended by atg.nucleus.GenericService
          extended by atg.commerce.order.purchase.ShippingGroupContainerService
              extended by atg.projects.store.order.purchase.StoreShippingGroupContainerService
All Implemented Interfaces:
atg.commerce.order.purchase.CommerceItemShippingInfoContainer, atg.commerce.order.purchase.ShippingGroupMapContainer, 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.servlet.sessionsaver.Restoreable, java.io.Serializable, java.util.EventListener

public class StoreShippingGroupContainerService
extends atg.commerce.order.purchase.ShippingGroupContainerService

An override of the DCS class ShippingGroupContainerService to add customizations such as using the shippingGroupMap property to display addresses on the UI.

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
           
 
Fields inherited from class atg.commerce.order.purchase.ShippingGroupContainerService
mShoppingCartPath
 
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
StoreShippingGroupContainerService()
           
 
Method Summary
 java.lang.String getFirstNonGiftShippingGroupName()
           
 StoreGiftlistManager getGiftlistManager()
           
 java.util.List<java.lang.String> getNonDisplayableShippingGroups()
           
 java.util.Map<java.lang.String,atg.core.util.Address> getNonProfileShippingAddressesMap()
           
 java.util.Map getShippingGroupMapForDisplay()
           
protected  void initalizeFirstNonGiftShippingGroupName()
          Sets the shipping group name belonging to the first non gift hardgood shipping group in the shipping group map.
protected  void initalizeShippingGroupMapForDisplay()
          initalizes the shippingGroupMapForDisplay property from contents of the shippingGroupMap
 void setFirstNonGiftShippingGroupName(java.lang.String pFirstNonGiftShippingGroupName)
           
 void setGiftlistManager(StoreGiftlistManager pGiftlistManager)
          Set a new giftlistManager component
 void setNonDisplayableShippingGroups(java.util.List<java.lang.String> pNonDisplayableShippingGroups)
           
 void setNonProfileShippingAddressesMap(java.util.Map<java.lang.String,atg.core.util.Address> pNonProfileShippingAddressesMap)
           
 void setShippingGroupMapForDisplay(java.util.Map pShippingGroupMapForDisplay)
          Set a new shippingGroupMapForDisplay
 
Methods inherited from class atg.commerce.order.purchase.ShippingGroupContainerService
addCommerceItemShippingInfo, addShippingGroup, addShippingGroupToMap, getAllCommerceItemShippingInfos, getCommerceItemShippingInfoMap, getCommerceItemShippingInfos, getDefaultShippingGroupName, getNewShippingGroupName, getShippingGroup, getShippingGroupMap, getShippingGroupName, getShippingGroupNames, getShoppingCartPath, removeAllCommerceItemShippingInfos, removeAllShippingGroups, removeCommerceItemShippingInfos, removeShippingGroup, sessionRestored, setCommerceItemShippingInfoMap, setDefaultShippingGroupName, setShippingGroupMap, setShoppingCartPath
 
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
 

Field Detail

CLASS_VERSION

public static final java.lang.String CLASS_VERSION
See Also:
Constant Field Values
Constructor Detail

StoreShippingGroupContainerService

public StoreShippingGroupContainerService()
Method Detail

getNonProfileShippingAddressesMap

public java.util.Map<java.lang.String,atg.core.util.Address> getNonProfileShippingAddressesMap()
Returns:
the nonProfileShippingAddressesMap

setNonProfileShippingAddressesMap

public void setNonProfileShippingAddressesMap(java.util.Map<java.lang.String,atg.core.util.Address> pNonProfileShippingAddressesMap)
Parameters:
pNonProfileShippingAddressesMap - the nonProfileShippingAddressesMap to set

getFirstNonGiftShippingGroupName

public java.lang.String getFirstNonGiftShippingGroupName()
Returns:
The first non giftlist shipping group nickname

setFirstNonGiftShippingGroupName

public void setFirstNonGiftShippingGroupName(java.lang.String pFirstNonGiftShippingGroupName)
Parameters:
Set - a new first non giftlist shipping group name

getGiftlistManager

public StoreGiftlistManager getGiftlistManager()
Returns:
The giftlistManager component

setGiftlistManager

public void setGiftlistManager(StoreGiftlistManager pGiftlistManager)
Set a new giftlistManager component


getNonDisplayableShippingGroups

public java.util.List<java.lang.String> getNonDisplayableShippingGroups()
Returns:
A List of shipping group names whose shipping groups shouldnt be displayed

setNonDisplayableShippingGroups

public void setNonDisplayableShippingGroups(java.util.List<java.lang.String> pNonDisplayableShippingGroups)
Parameters:
Set - a new list of non displayable shipping groups

getShippingGroupMapForDisplay

public java.util.Map getShippingGroupMapForDisplay()
Returns:
A shipping group map with non displayable addresses removed

setShippingGroupMapForDisplay

public void setShippingGroupMapForDisplay(java.util.Map pShippingGroupMapForDisplay)
Set a new shippingGroupMapForDisplay


initalizeShippingGroupMapForDisplay

protected void initalizeShippingGroupMapForDisplay()
initalizes the shippingGroupMapForDisplay property from contents of the shippingGroupMap


initalizeFirstNonGiftShippingGroupName

protected void initalizeFirstNonGiftShippingGroupName()
Sets the shipping group name belonging to the first non gift hardgood shipping group in the shipping group map.