public class PurchaseProcessConfiguration
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
| Constructor and Description |
|---|
PurchaseProcessConfiguration()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
ClaimableManager |
getClaimableManager()
Returns the ClaimableManager is used in determining the user's GiftCertificates.
|
CommerceIdentifierPaymentInfoContainer |
getCommerceIdentifierPaymentInfoContainer()
Return the CommerceIdentifierPaymentInfoContainer property.
|
CommerceItemManager |
getCommerceItemManager()
Return the CommerceItemManager property.
|
CommerceItemShippingInfoContainer |
getCommerceItemShippingInfoContainer()
Return the CommerceItemShippingInfoContainer property.
|
CommerceProfileTools |
getCommerceProfileTools()
Returns property CommerceProfileTools
|
CommercePropertyManager |
getCommercePropertyManager()
Return the CommercePropertyManager property.
|
GiftlistManager |
getGiftlistManager()
Return the giftlist manager
|
HandlingInstructionManager |
getHandlingInstructionManager()
The HandlingInstruction manager
|
ClientLockManager |
getLocalLockManager()
Return the lock manager to use if
useLocksAroundTransactions
is true in PurchaseProcessFormHandler subclasses. |
SimpleOrderManager |
getOrderManager()
Returns property OrderManager
|
PaymentGroupManager |
getPaymentGroupManager()
Return the PaymentGroupManager property.
|
PaymentGroupMapContainer |
getPaymentGroupMapContainer()
Return the PaymentGroupMapContainer property.
|
PipelineManager |
getPipelineManager()
Returns property PipelineManager
|
PriceListManager |
getPriceListManager()
Returns the Price List Manager
|
RepositoryItem |
getProfile()
Returns property Profile
|
Repository |
getProfileRepository()
Return the ProfileRepository property.
|
PurchaseProcessHelper |
getPurchaseProcessHelper()
Returns property purchaseProcessHelper
|
RepeatingRequestMonitor |
getRepeatingRequestMonitor()
Return the RepeatingRequestMonitor property.
|
java.lang.String |
getRepriceOrderChainId()
Returns property RepriceOrderChainId
|
java.lang.String |
getSessionExpirationURL()
Return the SessionExpirationURL property.
|
ShippingGroupManager |
getShippingGroupManager()
Return the ShippingGroupManager property.
|
ShippingGroupMapContainer |
getShippingGroupMapContainer()
Return the ShippingGroupMapContainer property.
|
OrderHolder |
getShoppingCart()
Returns property ShoppingCart
|
TransactionLockFactory |
getTransactionLockFactory()
The transactionLockFactory is used to get the locks if
useLocksArountTransactions is true |
javax.transaction.TransactionManager |
getTransactionManager()
Returns property TransactionManager
|
PricingModelHolder |
getUserPricingModels()
Returns property UserPricingModels
|
boolean |
isEnsureTransaction()
Returns property EnsureTransaction
|
boolean |
isUseLocksAroundTransactionExplicitlySet()
This will return true if the value of
useLocksAroundTransaction has been
explicitly set either through code or through a properties file. |
boolean |
isUseLocksAroundTransactions()
Deprecated.
Use the TransactionLockFactory instead
|
void |
setClaimableManager(ClaimableManager pClaimableManager)
Specifies the ClaimableManager to use in determining the user's GiftCertificates.
|
void |
setCommerceIdentifierPaymentInfoContainer(CommerceIdentifierPaymentInfoContainer pCommerceIdentifierPaymentInfoContainer)
Set the CommerceIdentifierPaymentInfoContainer property.
|
void |
setCommerceItemManager(CommerceItemManager pCommerceItemManager)
Set the CommerceItemManager property.
|
void |
setCommerceItemShippingInfoContainer(CommerceItemShippingInfoContainer pCommerceItemShippingInfoContainer)
Set the CommerceItemShippingInfoContainer property.
|
void |
setCommerceProfileTools(CommerceProfileTools pCommerceProfileTools)
Sets property CommerceProfileTools
|
void |
setCommercePropertyManager(CommercePropertyManager pCommercePropertyManager)
Set the CommercePropertyManager property.
|
void |
setEnsureTransaction(boolean pEnsureTransaction)
Sets property EnsureTransaction
|
void |
setGiftlistManager(GiftlistManager pGiftlistManager)
Set the giftlist manager
|
void |
setHandlingInstructionManager(HandlingInstructionManager pHandlingInstructionManager)
Specifies the HandlingInstructionManager.
|
void |
setLocalLockManager(ClientLockManager pLocalLockManager)
Specify the lock manager to use if
useLocksAroundTransactions
is true in PurchaseProcessFormHandler subclasses. |
void |
setOrderManager(SimpleOrderManager pOrderManager)
Sets property OrderManager
|
void |
setPaymentGroupManager(PaymentGroupManager pPaymentGroupManager)
Set the PaymentGroupManager property.
|
void |
setPaymentGroupMapContainer(PaymentGroupMapContainer pPaymentGroupMapContainer)
Set the PaymentGroupMapContainer property.
|
void |
setPipelineManager(PipelineManager pPipelineManager)
Sets property PipelineManager
|
void |
setPriceListManager(PriceListManager pPriceListManager)
Sets the Price List Manager
|
void |
setProfile(RepositoryItem pProfile)
Sets property Profile
|
void |
setProfileRepository(Repository pProfileRepository)
Set the ProfileRepository property.
|
void |
setPurchaseProcessHelper(PurchaseProcessHelper pPurchaseProcessHelper)
Sets property purchaseProcessHelper
|
void |
setRepeatingRequestMonitor(RepeatingRequestMonitor pRepeatingRequestMonitor)
Set the RepeatingRequestMonitor property.
|
void |
setRepriceOrderChainId(java.lang.String pRepriceOrderChainId)
Sets property RepriceOrderChainId
|
void |
setSessionExpirationURL(java.lang.String pSessionExpirationURL)
Set the SessionExpirationURL property.
|
void |
setShippingGroupManager(ShippingGroupManager pShippingGroupManager)
Set the ShippingGroupManager property.
|
void |
setShippingGroupMapContainer(ShippingGroupMapContainer pShippingGroupMapContainer)
Set the ShippingGroupMapContainer property.
|
void |
setShoppingCart(OrderHolder pShoppingCart)
Sets property ShoppingCart
|
void |
setTransactionLockFactory(TransactionLockFactory pTransactionLockFactory)
The transactionLockFactory is used to get the locks if
useLocksArountTransactions is true |
void |
setTransactionManager(javax.transaction.TransactionManager pTransactionManager)
Sets property TransactionManager
|
void |
setUseLocksAroundTransactions(boolean pUseLocksAroundTransactions)
Deprecated.
Use the TransactionLockFactory instead
|
void |
setUserPricingModels(PricingModelHolder pUserPricingModels)
Sets property UserPricingModels
|
public void setCommercePropertyManager(CommercePropertyManager pCommercePropertyManager)
pCommercePropertyManager - the Commerce profile property managerpublic CommercePropertyManager getCommercePropertyManager()
public void setPriceListManager(PriceListManager pPriceListManager)
pPriceListManager - the Price List Managerpublic PriceListManager getPriceListManager()
public void setClaimableManager(ClaimableManager pClaimableManager)
pClaimableManager - a ClaimableManager valuepublic ClaimableManager getClaimableManager()
ClaimableManager valuepublic void setCommerceIdentifierPaymentInfoContainer(CommerceIdentifierPaymentInfoContainer pCommerceIdentifierPaymentInfoContainer)
pCommerceIdentifierPaymentInfoContainer - a CommerceIdentifierPaymentInfoContainer valuepublic CommerceIdentifierPaymentInfoContainer getCommerceIdentifierPaymentInfoContainer()
CommerceIdentifierPaymentInfoContainer valuepublic void setCommerceItemManager(CommerceItemManager pCommerceItemManager)
pCommerceItemManager - a CommerceItemManager valuepublic CommerceItemManager getCommerceItemManager()
CommerceItemManager valuepublic void setCommerceItemShippingInfoContainer(CommerceItemShippingInfoContainer pCommerceItemShippingInfoContainer)
pCommerceItemShippingInfoContainer - a CommerceItemShippingInfoContainer valuepublic CommerceItemShippingInfoContainer getCommerceItemShippingInfoContainer()
CommerceItemShippingInfoContainer valuepublic void setCommerceProfileTools(CommerceProfileTools pCommerceProfileTools)
public CommerceProfileTools getCommerceProfileTools()
public void setEnsureTransaction(boolean pEnsureTransaction)
pEnsureTransaction - a boolean valuepublic boolean isEnsureTransaction()
boolean valuepublic void setGiftlistManager(GiftlistManager pGiftlistManager)
public GiftlistManager getGiftlistManager()
public void setHandlingInstructionManager(HandlingInstructionManager pHandlingInstructionManager)
pHandlingInstructionManager - a HandlingInstructionManager valuepublic HandlingInstructionManager getHandlingInstructionManager()
HandlingInstructionManager valuepublic void setLocalLockManager(ClientLockManager pLocalLockManager)
useLocksAroundTransactions
is true in PurchaseProcessFormHandler subclasses.public ClientLockManager getLocalLockManager()
useLocksAroundTransactions
is true in PurchaseProcessFormHandler subclasses.public void setOrderManager(SimpleOrderManager pOrderManager)
public SimpleOrderManager getOrderManager()
public void setPaymentGroupManager(PaymentGroupManager pPaymentGroupManager)
pPaymentGroupManager - a PaymentGroupManager valuepublic PaymentGroupManager getPaymentGroupManager()
PaymentGroupManager valuepublic void setPaymentGroupMapContainer(PaymentGroupMapContainer pPaymentGroupMapContainer)
pPaymentGroupMapContainer - a PaymentGroupMapContainer valuepublic PaymentGroupMapContainer getPaymentGroupMapContainer()
PaymentGroupMapContainer valuepublic void setPipelineManager(PipelineManager pPipelineManager)
public PipelineManager getPipelineManager()
public void setProfile(RepositoryItem pProfile)
public RepositoryItem getProfile()
public void setProfileRepository(Repository pProfileRepository)
pProfileRepository - a Repository valuepublic Repository getProfileRepository()
Repository valuepublic void setRepeatingRequestMonitor(RepeatingRequestMonitor pRepeatingRequestMonitor)
pRepeatingRequestMonitor - a RepeatingRequestMonitor valuepublic RepeatingRequestMonitor getRepeatingRequestMonitor()
RepeatingRequestMonitor valuepublic void setRepriceOrderChainId(java.lang.String pRepriceOrderChainId)
public java.lang.String getRepriceOrderChainId()
public void setSessionExpirationURL(java.lang.String pSessionExpirationURL)
pSessionExpirationURL - a String valuepublic java.lang.String getSessionExpirationURL()
String valuepublic void setShippingGroupManager(ShippingGroupManager pShippingGroupManager)
pShippingGroupManager - a ShippingGroupManager valuepublic ShippingGroupManager getShippingGroupManager()
ShippingGroupManager valuepublic void setShippingGroupMapContainer(ShippingGroupMapContainer pShippingGroupMapContainer)
pShippingGroupMapContainer - a ShippingGroupMapContainer valuepublic ShippingGroupMapContainer getShippingGroupMapContainer()
ShippingGroupMapContainer valuepublic void setShoppingCart(OrderHolder pShoppingCart)
public OrderHolder getShoppingCart()
public void setTransactionLockFactory(TransactionLockFactory pTransactionLockFactory)
useLocksArountTransactions is truepublic TransactionLockFactory getTransactionLockFactory()
useLocksArountTransactions is truepublic void setTransactionManager(javax.transaction.TransactionManager pTransactionManager)
public javax.transaction.TransactionManager getTransactionManager()
public void setUseLocksAroundTransactions(boolean pUseLocksAroundTransactions)
If this property is set to true, locking will be used to prevent one
user from trying to modify orders in multiple concurrent threads.
This has a small performance impact as we obtain and release the lock,
but minimizes the possibility of concurrent update exceptions if
two threads try to modify the same order for the same user.
The default value for useLocksAroundTransactions is true.
public boolean isUseLocksAroundTransactions()
public boolean isUseLocksAroundTransactionExplicitlySet()
useLocksAroundTransaction has been
explicitly set either through code or through a properties file.public void setUserPricingModels(PricingModelHolder pUserPricingModels)
public PricingModelHolder getUserPricingModels()
public void setPurchaseProcessHelper(PurchaseProcessHelper pPurchaseProcessHelper)
public PurchaseProcessHelper getPurchaseProcessHelper()