public class StoreHardgoodShippingGroupInitializer
extends atg.commerce.order.purchase.HardgoodShippingGroupInitializer
HardgoodShippingGroup
in addition to those which are provided in parent class.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION |
Constructor and Description |
---|
StoreHardgoodShippingGroupInitializer() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
compareAddresses(atg.core.util.Address pAddressA,
atg.core.util.Address pAddressB)
Compare Addresses.
|
java.lang.String |
getNewShippingGroupName(atg.commerce.order.ShippingGroup pShippingGroup)
This method contains some specific logic related to gift list ShippingGroups.
|
java.lang.String |
matchShippingGroup(atg.commerce.order.ShippingGroup pShippingGroup,
atg.commerce.order.purchase.ShippingGroupMapContainer pShippingGroupMapContainer)
Check address in the additional map of addresses that haven't stored in profile.
|
copyConfiguration, createHardgoodShippingGroup, doStartService, getConfiguration, getDefaultShippingAddressPropertyName, getDefaultShippingGroupName, getHardgoodShippingGroupType, getProfile, getShippingAddressesPropertyName, getShippingGroupManager, getShippingGroupMapContainer, getUserLocale, initializeHardgood, initializeShippingGroups, nameDefaultShippingGroup, setConfiguration, setDefaultShippingAddressPropertyName, setDefaultShippingGroupName, setHardgoodShippingGroupType, setProfile, setShippingAddressesPropertyName, setShippingGroupManager, setShippingGroupMapContainer
addLogListener, createAdminServlet, 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, toString
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning
public static final java.lang.String CLASS_VERSION
public StoreHardgoodShippingGroupInitializer()
public java.lang.String getNewShippingGroupName(atg.commerce.order.ShippingGroup pShippingGroup)
This method contains some specific logic related to gift list ShippingGroups.
In case if the shipping group description contains
StoreGiftlistManager.getGiftShippingGroupDescriptionPrefix()
we extract the gift list
event name, which is located after the prefix, and use it in creation of shippingGroupName.
getNewShippingGroupName
in interface atg.commerce.order.purchase.ShippingGroupMatcher
getNewShippingGroupName
in class atg.commerce.order.purchase.HardgoodShippingGroupInitializer
pShippingGroup
- ShippingGroup for which a name will be created.public java.lang.String matchShippingGroup(atg.commerce.order.ShippingGroup pShippingGroup, atg.commerce.order.purchase.ShippingGroupMapContainer pShippingGroupMapContainer)
matchShippingGroup
in interface atg.commerce.order.purchase.ShippingGroupMatcher
matchShippingGroup
in class atg.commerce.order.purchase.HardgoodShippingGroupInitializer
pShippingGroup
- a ShippingGroup value.pShippingGroupMapContainer
- a ShippingGroupMapContainer value.protected boolean compareAddresses(atg.core.util.Address pAddressA, atg.core.util.Address pAddressB)
compareAddresses
in class atg.commerce.order.purchase.HardgoodShippingGroupInitializer
pAddressA
- the first address to compare.pAddressB
- the second address to compare.