atg.commerce.order.purchase
Class ShippingGroupDroplet

java.lang.Object
  extended by atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
      extended by atg.nucleus.GenericService
          extended by atg.nucleus.TimedOperationService
              extended by atg.nucleus.servlet.ServletService
                  extended by atg.nucleus.servlet.HttpServletService
                      extended by atg.servlet.DynamoServlet
                          extended by atg.commerce.order.purchase.ShippingGroupDroplet
All Implemented Interfaces:
NameContextBindingListener, NameContextElement, NameResolver, AdminableService, ApplicationLogging, atg.nucleus.logging.ApplicationLoggingSender, atg.nucleus.logging.TraceApplicationLogging, atg.nucleus.logging.VariableArgumentApplicationLogging, ComponentNameResolver, Service, ServiceListener, ParameterServlet, java.util.EventListener, javax.servlet.Servlet

public class ShippingGroupDroplet
extends DynamoServlet

The ShippingGroupDroplet is a DynamoServlet that is used to initialize ShippingGroups and CommerceItemShippingInfo objects for use by the ShippingGroupFormHandler. The ShippingGroupDroplet is composed of the following containers:

ShippingGroupMapContainer - container for the user's authorized ShippingGroups

CommerceItemShippingInfoContainer - container for the user's CommerceItemShippingInfo objects for a particular Order's CommerceItems

The service method ensures the following:

ShippingGroup initialization - the user's ShippingGroups are added to the ShippingGroupMapContainer. Once this is done the user can begin to select from these during the shipping checkout process.

CommerceItemShippingInfo initialization - the Order CommerceItems of interest are used to instantiate CommerceItemShippingInfo objects, and these are added to the CommerceItemShippingInfoContainer.

A complete description of the parameters to the ShippingGroupDroplet are:

order
This parameter may be used to override the component's default setting for the user's order. The user's Order is also exposed as an output parameter.
clearShippingInfos
When set to true this parameter will clear the user's CommerceItemShippingInfoContainer. This should be done at least once per new order.
clearShippingGroups
When set to true this parameter will clear the user's ShippingGroupMapContainer.
clear
When set to true this parameter will clear both the CommerceItemShippingInfoContainer and the ShippingGroupMapContainer.
initShippingGroups
When this parameter is set to true, the designated ShippingGroup types will be initialized.
shippingGroupTypes
This comma separated list of ShippingGroup types is used to determine which ShippingGroupInitializer components are executed. Each possible ShippingGroup type is configured to reference a ShippingGroupInitializer component in the ShippingGroupInitializers ServiceMap.
initShippingInfos
When set to true this parameter will create a CommerceItemShippingInfo for each CommerceItem in the Order. These are then added to the CommerceItemShippingInfoContainer. Each CommerceItemShippingInfo initially references the default ShippingGroup in the ShippingGroupMapContainer.
initBasedOnOrder
When set to true this parameter will create a CommerceItemShippingInfo for each ShippingGroupCommerceItemRelationships in the order.
createOneInfoPerUnit
When set to true one CommerceItemShippingInfo is created for each individual unit contained by a commerce item. For example, a commerce item with quantity of five will have five CommerceItemShippingInfos created.
shippingGroups
This output parameter is set to the Map referenced by the ShippingGroupMapContainer.
shippingInfos
This output parameter is set to the Map refereneced by the CommerceItemShippingInfoMap.


Field Summary
static java.lang.String CISI_MAP
           
static java.lang.String CLASS_VERSION
           
static ParameterName CLEAR_ALL
           
static ParameterName CLEAR_SHIPPING_GROUPS
           
static ParameterName CLEAR_SHIPPING_INFOS
           
static ParameterName CREATE_ONE_INFO_PER_UNIT
           
static ParameterName INIT_BASED_ON_ORDER
           
static ParameterName INIT_SHIPPING_GROUPS
           
static ParameterName INIT_SHIPPING_INFOS
           
static java.lang.String ORDER
           
static java.lang.String OUTPUT
           
static ParameterName SHIPPING_GROUP_TYPES
           
static java.lang.String SHIPPING_GROUPS
           
 
Fields inherited from class atg.servlet.DynamoServlet
mAllowCleanupRequest, mParameters
 
Fields inherited from class atg.nucleus.servlet.ServletService
SERVLET_INFO_KEY
 
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
ShippingGroupDroplet()
          Creates a new ShippingGroupDroplet instance.
 
Method Summary
protected  java.lang.String addShippingGroupToMap(ShippingGroup pShippingGroup)
          Deprecated.  
protected  void consolidateShippingInfos(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse)
          consolidateShippingInfos consolidates CommerceItemShippingInfos by ensuring there is no redundant data.
protected  void copyConfiguration()
          Copy property settings from the optional PurchaseProcessConfiguration component.
protected  CommerceItemShippingInfo createCommerceItemShippingInfo(CommerceItem pItem, java.lang.String pRelationshipType, java.lang.Long pQuantity, java.lang.String pShippingGroupName)
          Creates a CommerceItemShippingInfo for the given item, relationship type, quantity and shipping group name.
 void doStartService()
          Perform one-time startup operations, including copying property settings from the optional PurchaseProcessConfiguration component.
 CommerceItemShippingInfoContainer getCommerceItemShippingInfoContainer()
          Return the CommerceItemShippingInfoContainer property.
 atg.commerce.order.purchase.PurchaseProcessConfiguration getConfiguration()
          Returns property Configuration
 ShippingGroup getDefaultShippingGroup()
          The getDefaultShippingGroupName method returns the default ShippingGroup based on the ShippingGroupMapContainer's default ShippingGroup name.
 GiftlistManager getGiftlistManager()
          Return the GiftlistManager property.
 Order getOrder()
          Return the Order property.
 Profile getProfile()
          Return the Profile property.
 ServiceMap getShippingGroupInitializers()
          Return the ShippingGroupInitializers property.
 ShippingGroupManager getShippingGroupManager()
          Return the ShippingGroupManager property.
 ShippingGroupMapContainer getShippingGroupMapContainer()
          Return the ShippingGroupMapContainer property.
 java.lang.String getShippingGroupTypes()
          Return the ShippingGroupTypes property.
protected  void initializeBasedOnOrder(Profile pProfile, Order pOrder)
          initializeBasedOnOrder creates a CommerceItemShippingInfo for each of the Order's non-gift CommerceItems, and then adds these to the CommerceItemShippingInfoContainer.
protected  void initializeCommerceItemShippingInfos(Profile pProfile, Order pOrder)
          initializeCommerceItemShippingInfos creates a CommerceItemShippingInfo for each of the Order's non-gift CommerceItems, and then adds these to the CommerceItemShippingInfoContainer.
protected  void initializeRequestParameters(DynamoHttpServletRequest pRequest)
          The initializeRequestParameters method gathers the necessary input parameters and uses them to adjust initialization requirements.
protected  void initializeUserShippingMethods(DynamoHttpServletRequest pRequest, Profile pProfile)
          initializeUserShippingMethods is used to add the user's shipping methods to the ShippingGroupMapContainer.
 boolean isAnyShippingInfoExistsInContainter()
          This method checks to see if there is any shipping infos in the container.
 boolean isClearAll()
          Return the ClearAll property.
 boolean isClearShippingGroups()
          Return the ClearShippingGroups property.
 boolean isClearShippingInfos()
          Return the ClearShippingInfos property.
 boolean isCreateOneInfoPerUnit()
           
 boolean isInitBasedOnOrder()
          Return the InitBasedOnOrder property.
 boolean isInitShippingGroups()
          Return the InitShippingGroups property.
 boolean isInitShippingInfos()
          Return the InitShippingInfos property.
protected  CommerceItemShippingInfo mergeCommerceItemShippingInfos(CommerceItemShippingInfo cisi1, CommerceItemShippingInfo cisi2)
          mergeCommerceItemShippingInfos merges 2 CommerceItemShippingInfos into one by combining their quantities.
protected  void removeDeletedShippingGroups()
          Looks through the shipping groups in the container and removes any that have a backing repository item that has been removed from the repository.
 void service(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse)
          This service method is used to initialize ShippingGroups and CommerceItemShippingInfo objects.
 void setClearAll(boolean pClearAll)
          Set the ClearAll property.
 void setClearShippingGroups(boolean pClearShippingGroups)
          Set the ClearShippingGroups property.
 void setClearShippingInfos(boolean pClearShippingInfos)
          Set the ClearShippingInfos property.
 void setCommerceItemShippingInfoContainer(CommerceItemShippingInfoContainer pCommerceItemShippingInfoContainer)
          Set the CommerceItemShippingInfoContainer property.
 void setConfiguration(atg.commerce.order.purchase.PurchaseProcessConfiguration pConfiguration)
          Sets property Configuration
 void setCreateOneInfoPerUnit(boolean pCreateOneInfoPerUnit)
          This property controls if one CommerceItemShippingInfo is created for each item unit.
 void setGiftlistManager(GiftlistManager pGiftlistManager)
          Set the GiftlistManager property.
 void setInitBasedOnOrder(boolean pInitBasedOnOrder)
          Set the InitBasedOnOrder property.
 void setInitShippingGroups(boolean pInitShippingGroups)
          Set the InitShippingGroups property.
 void setInitShippingInfos(boolean pInitShippingInfos)
          Set the InitShippingInfos property.
 void setOrder(Order pOrder)
          Set the Order property.
 void setProfile(Profile pProfile)
          Set the Profile property.
 void setShippingGroupInitializers(ServiceMap pShippingGroupInitializers)
          Set the ShippingGroupInitializers property.
 void setShippingGroupManager(ShippingGroupManager pShippingGroupManager)
          Set the ShippingGroupManager property.
 void setShippingGroupMapContainer(ShippingGroupMapContainer pShippingGroupMapContainer)
          Set the ShippingGroupMapContainer property.
 void setShippingGroupTypes(java.lang.String pShippingGroupTypes)
          Set the ShippingGroupTypes property.
 
Methods inherited from class atg.servlet.DynamoServlet
doDelete, doGet, doPost, doPut, getParameter, getParameters, getServletContext, service, service, setParameter
 
Methods inherited from class atg.nucleus.servlet.ServletService
destroy, getServletConfig, getServletInfo, init, setServletInfo
 
Methods inherited from class atg.nucleus.TimedOperationService
getAverageRequestHandlingTime, getHandledRequestCount, getRequestStartTime, getTotalRequestHandlingTime, isKeepingStatistics, notifyHandledRequest, resetStatistics, setKeepingStatistics
 
Methods inherited from class atg.nucleus.GenericService
addLogListener, createAdminServlet, 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 final java.lang.String CLASS_VERSION
See Also:
Constant Field Values

SHIPPING_GROUPS

public static final java.lang.String SHIPPING_GROUPS
See Also:
Constant Field Values

CISI_MAP

public static final java.lang.String CISI_MAP
See Also:
Constant Field Values

OUTPUT

public static final java.lang.String OUTPUT
See Also:
Constant Field Values

ORDER

public static final java.lang.String ORDER
See Also:
Constant Field Values

INIT_SHIPPING_GROUPS

public static final ParameterName INIT_SHIPPING_GROUPS

SHIPPING_GROUP_TYPES

public static final ParameterName SHIPPING_GROUP_TYPES

INIT_SHIPPING_INFOS

public static final ParameterName INIT_SHIPPING_INFOS

INIT_BASED_ON_ORDER

public static final ParameterName INIT_BASED_ON_ORDER

CLEAR_ALL

public static final ParameterName CLEAR_ALL

CLEAR_SHIPPING_GROUPS

public static final ParameterName CLEAR_SHIPPING_GROUPS

CLEAR_SHIPPING_INFOS

public static final ParameterName CLEAR_SHIPPING_INFOS

CREATE_ONE_INFO_PER_UNIT

public static final ParameterName CREATE_ONE_INFO_PER_UNIT
Constructor Detail

ShippingGroupDroplet

public ShippingGroupDroplet()
Creates a new ShippingGroupDroplet instance.

Method Detail

setConfiguration

public void setConfiguration(atg.commerce.order.purchase.PurchaseProcessConfiguration pConfiguration)
Sets property Configuration

Parameters:
pConfiguration - a PurchaseProcessConfiguration value

getConfiguration

public atg.commerce.order.purchase.PurchaseProcessConfiguration getConfiguration()
Returns property Configuration

Returns:
a PurchaseProcessConfiguration value

isCreateOneInfoPerUnit

public boolean isCreateOneInfoPerUnit()
Returns:
Returns the createOneInfoPerUnit.

setCreateOneInfoPerUnit

public void setCreateOneInfoPerUnit(boolean pCreateOneInfoPerUnit)
This property controls if one CommerceItemShippingInfo is created for each item unit. (e.g. an item with quantity 5 will end up with 5 CommerceItemShippingInfos, each with a quantity of 1).

Parameters:
pCreateOneInfoPerUnit - The createOneInfoPerUnit to set.

setShippingGroupTypes

public void setShippingGroupTypes(java.lang.String pShippingGroupTypes)
Set the ShippingGroupTypes property.

Parameters:
pShippingGroupTypes - a String value

getShippingGroupTypes

public java.lang.String getShippingGroupTypes()
Return the ShippingGroupTypes property.

Returns:
a String value

setShippingGroupManager

public void setShippingGroupManager(ShippingGroupManager pShippingGroupManager)
Set the ShippingGroupManager property.

Parameters:
pShippingGroupManager - a ShippingGroupManager value

getShippingGroupManager

public ShippingGroupManager getShippingGroupManager()
Return the ShippingGroupManager property.

Returns:
a ShippingGroupManager value

setShippingGroupInitializers

public void setShippingGroupInitializers(ServiceMap pShippingGroupInitializers)
Set the ShippingGroupInitializers property.

Parameters:
pShippingGroupInitializers - a ServiceMap value

getShippingGroupInitializers

public ServiceMap getShippingGroupInitializers()
Return the ShippingGroupInitializers property.

Returns:
a ServiceMap value

setInitShippingGroups

public void setInitShippingGroups(boolean pInitShippingGroups)
Set the InitShippingGroups property.

Parameters:
pInitShippingGroups - a boolean value

isInitShippingGroups

public boolean isInitShippingGroups()
Return the InitShippingGroups property.

Returns:
a boolean value

setInitBasedOnOrder

public void setInitBasedOnOrder(boolean pInitBasedOnOrder)
Set the InitBasedOnOrder property. This defines whether the initialization of the maps should be based on the ShippingGroupCommerceItemRelationships currently contained in the order.

Parameters:
pInitBasedOnOrder - a boolean value

isInitBasedOnOrder

public boolean isInitBasedOnOrder()
Return the InitBasedOnOrder property.

Returns:
a boolean value

setCommerceItemShippingInfoContainer

public void setCommerceItemShippingInfoContainer(CommerceItemShippingInfoContainer pCommerceItemShippingInfoContainer)
Set the CommerceItemShippingInfoContainer property.

Parameters:
pCommerceItemShippingInfoContainer - a CommerceItemShippingInfoContainer value

getCommerceItemShippingInfoContainer

public CommerceItemShippingInfoContainer getCommerceItemShippingInfoContainer()
Return the CommerceItemShippingInfoContainer property.

Returns:
a CommerceItemShippingInfoContainer value

setShippingGroupMapContainer

public void setShippingGroupMapContainer(ShippingGroupMapContainer pShippingGroupMapContainer)
Set the ShippingGroupMapContainer property.

Parameters:
pShippingGroupMapContainer - a ShippingGroupMapContainer value

getShippingGroupMapContainer

public ShippingGroupMapContainer getShippingGroupMapContainer()
Return the ShippingGroupMapContainer property.

Returns:
a ShippingGroupMapContainer value

setGiftlistManager

public void setGiftlistManager(GiftlistManager pGiftlistManager)
Set the GiftlistManager property.

Parameters:
pGiftlistManager - a GiftlistManager value

getGiftlistManager

public GiftlistManager getGiftlistManager()
Return the GiftlistManager property.

Returns:
a GiftlistManager value

setOrder

public void setOrder(Order pOrder)
Set the Order property.

Parameters:
pOrder - an Order value

getOrder

public Order getOrder()
Return the Order property.

Returns:
an Order value

setProfile

public void setProfile(Profile pProfile)
Set the Profile property.

Parameters:
pProfile - a Profile value

getProfile

public Profile getProfile()
Return the Profile property.

Returns:
a Profile value

setClearShippingInfos

public void setClearShippingInfos(boolean pClearShippingInfos)
Set the ClearShippingInfos property.

Parameters:
pClearShippingInfos - a boolean value

isClearShippingInfos

public boolean isClearShippingInfos()
Return the ClearShippingInfos property.

Returns:
a boolean value

setClearShippingGroups

public void setClearShippingGroups(boolean pClearShippingGroups)
Set the ClearShippingGroups property.

Parameters:
pClearShippingGroups - a boolean value

isClearShippingGroups

public boolean isClearShippingGroups()
Return the ClearShippingGroups property.

Returns:
a boolean value

setClearAll

public void setClearAll(boolean pClearAll)
Set the ClearAll property.

Parameters:
pClearAll - a boolean value

isClearAll

public boolean isClearAll()
Return the ClearAll property.

Returns:
a boolean value

setInitShippingInfos

public void setInitShippingInfos(boolean pInitShippingInfos)
Set the InitShippingInfos property.

Parameters:
pInitShippingInfos - a boolean value

isInitShippingInfos

public boolean isInitShippingInfos()
Return the InitShippingInfos property.

Returns:
a boolean value

initializeUserShippingMethods

protected void initializeUserShippingMethods(DynamoHttpServletRequest pRequest,
                                             Profile pProfile)
initializeUserShippingMethods is used to add the user's shipping methods to the ShippingGroupMapContainer. For each entry in the ShippingGroupTypes, its corresponding ShippingGroupInitializer is obtained from the ShippingGroupInitializers ServiceMap and its initializeShippingGroups method executed.

Parameters:
pRequest - a DynamoHttpServletRequest value
pProfile - a Profile value

initializeCommerceItemShippingInfos

protected void initializeCommerceItemShippingInfos(Profile pProfile,
                                                   Order pOrder)
initializeCommerceItemShippingInfos creates a CommerceItemShippingInfo for each of the Order's non-gift CommerceItems, and then adds these to the CommerceItemShippingInfoContainer. By default each new CommerceItemShippingInfo references the default ShippingGroup in the ShippingGroupMapContainer.

Parameters:
pProfile - a Profile value
pOrder - an Order value

initializeBasedOnOrder

protected void initializeBasedOnOrder(Profile pProfile,
                                      Order pOrder)
initializeBasedOnOrder creates a CommerceItemShippingInfo for each of the Order's non-gift CommerceItems, and then adds these to the CommerceItemShippingInfoContainer. Each CommerceItemShippingInfo is based on the current ShippingGroupCommerceItemRelationships in the order.

If property createOneInfoPerUnit is true, one commerce item shipping info is created per individual unit of an item.

Parameters:
pProfile - a Profile value
pOrder - an Order value

createCommerceItemShippingInfo

protected CommerceItemShippingInfo createCommerceItemShippingInfo(CommerceItem pItem,
                                                                  java.lang.String pRelationshipType,
                                                                  java.lang.Long pQuantity,
                                                                  java.lang.String pShippingGroupName)
Creates a CommerceItemShippingInfo for the given item, relationship type, quantity and shipping group name.

If the shipping group name is provided, the shipping info's shippingMethod is set to the shippingGroup's shipping method

Parameters:
pItem - the commerce item
pRelationshipType - the relationship type for the info
pQuantity - the quantity for the info
pShippingGroupName - the name of the shipping group in the map to which the info should be associated.
Returns:
CommerceItemShippingInfo

addShippingGroupToMap

protected java.lang.String addShippingGroupToMap(ShippingGroup pShippingGroup)
Deprecated. 

Adds a shipping group to the map container.

Parameters:
pShippingGroup -
Returns:
name used as the key in the map. If null then the shipping group is not added to the map.

initializeRequestParameters

protected void initializeRequestParameters(DynamoHttpServletRequest pRequest)
The initializeRequestParameters method gathers the necessary input parameters and uses them to adjust initialization requirements.

Parameters:
pRequest - a DynamoHttpServletRequest value

getDefaultShippingGroup

public ShippingGroup getDefaultShippingGroup()
The getDefaultShippingGroupName method returns the default ShippingGroup based on the ShippingGroupMapContainer's default ShippingGroup name.

Returns:
a String value

copyConfiguration

protected void copyConfiguration()
Copy property settings from the optional PurchaseProcessConfiguration component. Property values that were configured locally are preserved. Configures the following properties (if not already set):


doStartService

public void doStartService()
                    throws ServiceException
Perform one-time startup operations, including copying property settings from the optional PurchaseProcessConfiguration component.

Overrides:
doStartService in class GenericService
Throws:
ServiceException - if the Service had a problem starting up

service

public void service(DynamoHttpServletRequest pRequest,
                    DynamoHttpServletResponse pResponse)
             throws javax.servlet.ServletException,
                    java.io.IOException
This service method is used to initialize ShippingGroups and CommerceItemShippingInfo objects. Initialization is based on input parameters describing which ShippingGroups and CommerceItemShippingInfo objects, if any, should be created and added to the appropriate container. The resulting Collections of ShippingGroups and CommerceItemShippingInfos are exposed via output parameters.

Overrides:
service in class DynamoServlet
Parameters:
pRequest - a DynamoHttpServletRequest value
pResponse - a DynamoHttpServletResponse value
Throws:
javax.servlet.ServletException - if an error occurs
java.io.IOException - if an error occurs

consolidateShippingInfos

protected void consolidateShippingInfos(DynamoHttpServletRequest pRequest,
                                        DynamoHttpServletResponse pResponse)
                                 throws javax.servlet.ServletException,
                                        java.io.IOException
consolidateShippingInfos consolidates CommerceItemShippingInfos by ensuring there is no redundant data.

Parameters:
pRequest - a DynamoHttpServletRequest value
pResponse - a DynamoHttpServletResponse value
Throws:
javax.servlet.ServletException - if an error occurs
java.io.IOException - if an error occurs

mergeCommerceItemShippingInfos

protected CommerceItemShippingInfo mergeCommerceItemShippingInfos(CommerceItemShippingInfo cisi1,
                                                                  CommerceItemShippingInfo cisi2)
mergeCommerceItemShippingInfos merges 2 CommerceItemShippingInfos into one by combining their quantities.

Parameters:
cisi1 - a CommerceItemShippingInfo value
cisi2 - a CommerceItemShippingInfo value
Returns:
a CommerceItemShippingInfo value

removeDeletedShippingGroups

protected void removeDeletedShippingGroups()
Looks through the shipping groups in the container and removes any that have a backing repository item that has been removed from the repository.

This can happen when a shipping group was applied to an order and then "unapplied", causing the cascade delete on the repository item to remove it from the repository.


isAnyShippingInfoExistsInContainter

public boolean isAnyShippingInfoExistsInContainter()
This method checks to see if there is any shipping infos in the container. If there is any cisi in the container, this method returns true otherwise false. The cisi could be in any level. The cisi could be in the Order, CommerceItem, ShippingGroup or Tax level. If any cisi found this method returns true and if no cisi found, then this method returns false.

Returns:
true/false based on the the existance of any cisi in the container