public class Configuration
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
Constructor and Description |
---|
Configuration() |
Modifier and Type | Method and Description |
---|---|
boolean |
getAllowPartialShipmentDefault()
The default value for all shipping groups.
|
ClientLockManager |
getClientLockManager()
The ClientLockManager is used to ensure that only one
thread/message is processing a given order at any given time.
|
CommerceItemStates |
getCommerceItemStates()
The object containing all the states of a commerce item
|
java.lang.String |
getDefaultProfileType()
The default profile repository view that is used in retrieving profiles.
|
java.util.Properties |
getFulfillerPortNameMap()
The FulfillerPortNameMap is a Properties object that maps fulfiller names to
the port name that messages designated for the fulfiller should use.
|
java.util.Properties |
getFulfillerShippingGroupClassMap()
This mapping defines which shipping group classes can be
fulfilled by each fulfiller.
|
PipelineManager |
getFulfillmentPipelineManager()
The pipeline manager is used to execute the pipeline
fulfillment execution
|
InventoryManager |
getInventoryManager()
The InventoryManager that is notified when inventory is updated
|
IdGenerator |
getMessageIdGenerator()
The generator for IDs for all messages sent from fulfillment
|
java.lang.String |
getMessageIdSpaceName()
The name of the idspace to get all commerce message ids from.
|
java.lang.String |
getModifyOrderNotificationPort()
ModifyOrderNotificationPort is the port through which all ModifyOrderNotification
messages are sent.
|
java.lang.String |
getModifyOrderPort()
ModifyOrderPort is the port through which all ModifyOrder messages
are sent.
|
OrderFulfillmentTools |
getOrderFulfillmentTools()
OrderFulfillmentTools is a convenience class that provides many utilities for
managing the fulfillment process.
|
OrderManager |
getOrderManager()
The OrderManager manages access to all Orders.
|
OrderStates |
getOrderStates()
The object containing all the states of an order
|
java.lang.String |
getPartialShipPropertyName()
The name of the property that is used in the shipping groups
specialInstructions to denote whether partial groups should ship
|
PaymentGroupStates |
getPaymentGroupStates()
The object containing all the states of an payment group
|
Repository |
getProfileRepository()
The profile repository used to retrieve profile information.
|
ShipItemRelationshipStates |
getShipItemRelationshipStates()
The object containing all the states of an shipping group
|
ShippingGroupStates |
getShippingGroupStates()
The object containing all the states of a shipping group
|
javax.transaction.TransactionManager |
getTransactionManager()
The transaction manager is is used to begin and end all transactions used
during fulfillment.
|
boolean |
isUpdateInventoryOnCancelOrder()
If this is true, then cancel an order whose inventory has already been allocated
will result in a call to InventoryManager.inventoryWasUpdated
This defaults to true
|
void |
setAllowPartialShipmentDefault(boolean pAllowPartialShipmentDefault) |
void |
setClientLockManager(ClientLockManager pClientLockManager) |
void |
setCommerceItemStates(CommerceItemStates pCommerceItemStates) |
void |
setDefaultProfileType(java.lang.String pDefaultProfileType) |
void |
setFulfillerPortNameMap(java.util.Properties pFulfillerPortNameMap) |
void |
setFulfillerShippingGroupClassMap(java.util.Properties pFulfillerShippingGroupClassMap) |
void |
setFulfillmentPipelineManager(PipelineManager pFulfillmentPipelineManager) |
void |
setInventoryManager(InventoryManager pInventoryManager) |
void |
setMessageIdGenerator(IdGenerator pMessageIdGenerator) |
void |
setMessageIdSpaceName(java.lang.String pMessageIdSpaceName) |
void |
setModifyOrderNotificationPort(java.lang.String pModifyOrderNotificationPort) |
void |
setModifyOrderPort(java.lang.String pModifyOrderPort) |
void |
setOrderFulfillmentTools(OrderFulfillmentTools pOrderFulfillmentTools) |
void |
setOrderManager(OrderManager pOrderManager) |
void |
setOrderStates(OrderStates pOrderStates) |
void |
setPartialShipPropertyName(java.lang.String pPartialShipPropertyName) |
void |
setPaymentGroupStates(PaymentGroupStates pPaymentGroupStates) |
void |
setProfileRepository(Repository pProfileRepository) |
void |
setShipItemRelationshipStates(ShipItemRelationshipStates pShipItemRelationshipStates) |
void |
setShippingGroupStates(ShippingGroupStates pShippingGroupStates) |
void |
setTransactionManager(javax.transaction.TransactionManager pTransactionManager) |
void |
setUpdateInventoryOnCancelOrder(boolean pUpdateInventoryOnCancelOrder) |
public void setTransactionManager(javax.transaction.TransactionManager pTransactionManager)
public javax.transaction.TransactionManager getTransactionManager()
TransactionManager
public void setFulfillmentPipelineManager(PipelineManager pFulfillmentPipelineManager)
public PipelineManager getFulfillmentPipelineManager()
PipelineManager
public void setOrderManager(OrderManager pOrderManager)
public OrderManager getOrderManager()
OrderManager
public void setClientLockManager(ClientLockManager pClientLockManager)
public ClientLockManager getClientLockManager()
ClientLockManager
public void setOrderFulfillmentTools(OrderFulfillmentTools pOrderFulfillmentTools)
public OrderFulfillmentTools getOrderFulfillmentTools()
OrderFulfillmentTools
public void setModifyOrderPort(java.lang.String pModifyOrderPort)
public java.lang.String getModifyOrderPort()
ModifyOrder
public void setModifyOrderNotificationPort(java.lang.String pModifyOrderNotificationPort)
public java.lang.String getModifyOrderNotificationPort()
ModifyOrderNotification
public void setFulfillerPortNameMap(java.util.Properties pFulfillerPortNameMap)
public java.util.Properties getFulfillerPortNameMap()
public void setFulfillerShippingGroupClassMap(java.util.Properties pFulfillerShippingGroupClassMap)
public java.util.Properties getFulfillerShippingGroupClassMap()
public void setProfileRepository(Repository pProfileRepository)
public Repository getProfileRepository()
public void setDefaultProfileType(java.lang.String pDefaultProfileType)
public java.lang.String getDefaultProfileType()
public void setAllowPartialShipmentDefault(boolean pAllowPartialShipmentDefault)
public boolean getAllowPartialShipmentDefault()
public void setPartialShipPropertyName(java.lang.String pPartialShipPropertyName)
public java.lang.String getPartialShipPropertyName()
public void setMessageIdGenerator(IdGenerator pMessageIdGenerator)
public IdGenerator getMessageIdGenerator()
public void setMessageIdSpaceName(java.lang.String pMessageIdSpaceName)
public java.lang.String getMessageIdSpaceName()
public void setOrderStates(OrderStates pOrderStates)
public OrderStates getOrderStates()
public void setShippingGroupStates(ShippingGroupStates pShippingGroupStates)
public ShippingGroupStates getShippingGroupStates()
public void setPaymentGroupStates(PaymentGroupStates pPaymentGroupStates)
public PaymentGroupStates getPaymentGroupStates()
public void setShipItemRelationshipStates(ShipItemRelationshipStates pShipItemRelationshipStates)
public ShipItemRelationshipStates getShipItemRelationshipStates()
public void setCommerceItemStates(CommerceItemStates pCommerceItemStates)
public CommerceItemStates getCommerceItemStates()
public void setUpdateInventoryOnCancelOrder(boolean pUpdateInventoryOnCancelOrder)
public boolean isUpdateInventoryOnCancelOrder()
public void setInventoryManager(InventoryManager pInventoryManager)
public InventoryManager getInventoryManager()