atg.projects.store.fulfillment
Class StoreOrderFulfillmentTools

java.lang.Object
  extended by atg.commerce.fulfillment.OrderFulfillmentTools
      extended by atg.projects.store.fulfillment.StoreOrderFulfillmentTools

public class StoreOrderFulfillmentTools
extends atg.commerce.fulfillment.OrderFulfillmentTools

This fulfiller adds some properties to the core Commerce fulfiller that is used to fulfill shipping groups that contain electronic goods.

See Also:
FulfillOrderFragment, ModifyOrder, ModifyOrderNotification

Field Summary
static java.lang.String CLASS_VERSION
          Class version string.
protected  java.lang.String mDefaultSoftgoodFulfiller
          Default softgood fulfiller.
 
Constructor Summary
StoreOrderFulfillmentTools()
           
 
Method Summary
 java.lang.String getDefaultSoftgoodFulfiller()
           
 java.lang.String getFulfillerForShippingGroup(atg.commerce.order.ShippingGroup pShippingGroup)
          Return the fulfiller for the given shipping group.
 java.util.HashMap getFulfillersForShippingGroups(java.util.List pShipGroupList)
          This method returns a HashMap whose key is the fulfiller and the value is a List of the ShippingGroups.
 void setDefaultSoftgoodFulfiller(java.lang.String pDefaultSoftgoodFulfiller)
           
 
Methods inherited from class atg.commerce.fulfillment.OrderFulfillmentTools
areAllGroupsPendingRemove, areAllGroupsRemoved, checkIfAllGroupsAreShipped, createGenericAddIdToValueModification, createGenericAddValueToIdModification, createGenericAddValueToValueModification, createGenericRemoveModification, createGenericUpdateModification, createItemUpdateModification, createOrderUpdateModification, createPayUpdateModification, createRelationshipUpdateModification, createShipUpdateModification, extractShippingGroupIds, getCatalogRef, getCatalogTools, getCommerceItemStates, getDefaultFulfiller, getFulfiller, getFulfillerForItem, getFulfillerPort, getFulfillerPortNameMap, getFulfillerShippingGroupClassHashMap, getFulfillerShippingGroupClassMap, getGiftCertificateClassType, getItemFulfillerMap, getMessageIdGenerator, getMessageIdSpaceName, getNextMessageId, getOrderManager, getOrderStates, getPaymentGroupStates, getShipItemRelationshipStates, getShippingGroupStates, hasAnyGroupShipped, hasOrderSettled, isAnyGroupPendingShipment, isOrderFinished, isOrderSettleable, isShippingGroupSingleFulfiller, modificationFailed, modificationSucceeded, printOrder, sendModifyOrder, sendModifyOrderNotification, sendShippingGroupUpdateModification, setCatalogTools, setCommerceItemStates, setDefaultFulfiller, setFulfillerPortNameMap, setFulfillerShippingGroupClassMap, setGiftCertificateClassType, setItemRelationshipState, setItemState, setMessageIdGenerator, setMessageIdSpaceName, setOrderManager, setOrderState, setOrderStates, setPaymentGroupState, setPaymentGroupStates, setShipItemRelationshipStates, setShippingGroupState, setShippingGroupStates, setSubSkuItemState, splitShippingGroupsByFulfiller, verifyOrderFulfillment, verifyShippingGroupsForFulfiller
 
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.


mDefaultSoftgoodFulfiller

protected java.lang.String mDefaultSoftgoodFulfiller
Default softgood fulfiller.

Constructor Detail

StoreOrderFulfillmentTools

public StoreOrderFulfillmentTools()
Method Detail

setDefaultSoftgoodFulfiller

public void setDefaultSoftgoodFulfiller(java.lang.String pDefaultSoftgoodFulfiller)
Parameters:
pDefaultSoftgoodFulfiller - - default softgood fulfiller.

getDefaultSoftgoodFulfiller

public java.lang.String getDefaultSoftgoodFulfiller()
Returns:
the default softgood fulfiller.

getFulfillersForShippingGroups

public java.util.HashMap getFulfillersForShippingGroups(java.util.List pShipGroupList)
This method returns a HashMap whose key is the fulfiller and the value is a List of the ShippingGroups. This method assumes that every shipping group passed in contains items for one and only one fulfiller.

Overrides:
getFulfillersForShippingGroups in class atg.commerce.fulfillment.OrderFulfillmentTools
Parameters:
pShipGroupList - - a List of the shipping groups to be parsed.
Returns:
the HashMap

getFulfillerForShippingGroup

public java.lang.String getFulfillerForShippingGroup(atg.commerce.order.ShippingGroup pShippingGroup)
Return the fulfiller for the given shipping group. This method assumes that this shipping group uses one and only one fulfiller.

Overrides:
getFulfillerForShippingGroup in class atg.commerce.fulfillment.OrderFulfillmentTools
Parameters:
pShippingGroup - The shipping group whose fulfiller is needed
Returns:
The fulfiller