public class StoreGiftlistManager
extends atg.commerce.gifts.GiftlistManager
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION |
ALL, CURRENT, mCompareGiftListAddressPropertyNames, sResourceBundle
Constructor and Description |
---|
StoreGiftlistManager() |
Modifier and Type | Method and Description |
---|---|
atg.commerce.order.HardgoodShippingGroup |
createShippingGroupFromGiftlist(java.lang.String pGiftlistId)
This method creates
HardgoodShippingGroup for the gift list. |
java.lang.String |
getGiftShippingGroupDescriptionPrefix() |
atg.commerce.pricing.PricingTools |
getPricingTools() |
boolean |
hasGiftAddress(atg.commerce.order.ShippingGroup pShippingGroup) |
boolean |
isProfileWishlist(java.lang.String pProfileId,
java.lang.String pGiftlistId)
Checks whether the given gift list ID is profile's wish list.
|
void |
removeInvalidGiftServices(StoreOrderImpl pOrder)
When an order only contains a GiftWrapCommerceItem, remove it.
|
void |
setGiftShippingGroupDescriptionPrefix(java.lang.String pGiftShippingGroupDescriptionPrefix)
Use this method to set the description prefix - it is used in
createShippingGroupFromGiftlist(String) |
void |
setPricingTools(atg.commerce.pricing.PricingTools pPricingTools) |
addCatalogItemToGiftlist, addCatalogItemToGiftlist, addGiftToOrder, addGiftToOrder, addItemToGiftlist, addOtherGiftlistToProfile, addSpecialInstruction, adjustGiftsForQuantityDecrease, adjustGiftsForQuantityDecrease, adjustGiftsForQuantityIncrease, adjustGiftsForQuantityIncrease, areSitesCompatible, areSitesCompatible, buyItemFromGiftlist, createGiftlist, createGiftlist, createGiftlist, createGiftlistItem, createGiftlistItem, createGiftlistItem, decreaseGiftlistItemQuantityPurchased, decreaseGiftlistItemQuantityPurchased, decreaseGiftQuantityForItem, decreaseGiftQuantityForItem, findGiftShippingGroupWithAddress, getAllGiftHandlingInstructions, getCatalogTools, getCompareGiftListAddressPropertyNames, getGiftHandlingForShippingGroup, getGiftHandlingInstructionForCommerceItem, getGiftitem, getGiftlist, getGiftlistComments, getGiftlistDescription, getGiftlistEventDate, getGiftlistEventName, getGiftlistEventType, getGiftlistItemCatalogRefId, getGiftlistItemDescription, getGiftlistItemDisplayName, getGiftlistItemId, getGiftlistItemId, getGiftlistItemProductId, getGiftlistItemQuantityDesired, getGiftlistItemQuantityPurchased, getGiftlistItemQuantityWithFractionDesired, getGiftlistItemQuantityWithFractionPurchased, getGiftlistItems, getGiftlistItemSite, getGiftlistOwner, getGiftlistShippingAddress, getGiftlistSite, getGiftlistTools, getGiftOnlyShippingGroups, getGiftQuantity, getGiftQuantity, getGiftQuantityForShippingGroup, getGiftQuantityWithFraction, getGiftQuantityWithFraction, getGiftQuantityWithFractionForShippingGroup, getGiftShippingGroups, getOrderManager, getProfileTools, getSiteGroupManager, getSiteScope, getSpecialInstruction, getWishlistId, increaseGiftlistItemQuantityDesired, increaseGiftlistItemQuantityDesired, increaseGiftlistItemQuantityPurchased, increaseGiftlistItemQuantityPurchased, increaseGiftQuantityForItem, increaseGiftQuantityForItem, isGiftlistOwner, isGiftlistPublic, isGiftlistPublished, isGiftOnlyShippingGroup, isGiftShippingGroup, isRemoveItemFromGiftlistOnMoveToCart, removeGiftlist, removeItemFromGiftlist, removeOtherGiftlistFromProfile, setCatalogTools, setCompareGiftListAddressPropertyNames, setGiftlistComments, setGiftlistDescription, setGiftlistEventDate, setGiftlistEventName, setGiftlistEventType, setGiftlistItemCatalogRefId, setGiftlistItemDescription, setGiftlistItemDisplayName, setGiftlistItemProductId, setGiftlistItemQuantityDesired, setGiftlistItemQuantityPurchased, setGiftlistItemQuantityWithFractionDesired, setGiftlistItemQuantityWithFractionPurchased, setGiftlistItemSite, setGiftlistOwner, setGiftlistOwner, setGiftlistPublic, setGiftlistPublished, setGiftlistShippingAddress, setGiftlistSite, setGiftlistTools, setOrderManager, setProfileTools, setRemoveItemFromGiftlistOnMoveToCart, setSiteGroupManager, setSiteScope, updateGiftlist, updateGiftlist
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, 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 java.lang.String getGiftShippingGroupDescriptionPrefix()
public void setGiftShippingGroupDescriptionPrefix(java.lang.String pGiftShippingGroupDescriptionPrefix)
createShippingGroupFromGiftlist(String)
pGiftShippingGroupDescriptionPrefix
- - the giftShippingGroupDescriptionPrefix to setcreateShippingGroupFromGiftlist(String)
public atg.commerce.pricing.PricingTools getPricingTools()
public void setPricingTools(atg.commerce.pricing.PricingTools pPricingTools)
pPricingTools
- - The pricing tools component.public atg.commerce.order.HardgoodShippingGroup createShippingGroupFromGiftlist(java.lang.String pGiftlistId) throws atg.commerce.CommerceException
HardgoodShippingGroup
for the gift list.
The description of created shipping group is made up of
getGiftShippingGroupDescriptionPrefix()
+ giftlistEventName.createShippingGroupFromGiftlist
in class atg.commerce.gifts.GiftlistManager
pGiftlistId
- - GiftlistId based on which a ShippingGroup will be created.HardgoodShippingGroup
.atg.commerce.CommerceException
- indicates that a severe error occurred while performing a commerce operation.public boolean isProfileWishlist(java.lang.String pProfileId, java.lang.String pGiftlistId)
pProfileId
- - The profile IDpGiftlistId
- - The gift list IDpublic boolean hasGiftAddress(atg.commerce.order.ShippingGroup pShippingGroup)
public void removeInvalidGiftServices(StoreOrderImpl pOrder) throws atg.commerce.CommerceException
pOrder
- - The order that will have invalid gift services removed from.atg.commerce.CommerceException