public class ComposeOrderCmdImpl extends TaskCommandImpl implements ComposeOrderCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
The IBM copyright notice field.
|
Constructor and Description |
---|
ComposeOrderCmdImpl()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected com.ibm.commerce.foundation.datatypes.AddressType | composeAddress(AddressAccessBean aabAddress)
Composes an Address SDO from the address access bean specified.
|
protected com.ibm.commerce.order.datatypes.AdjustmentType | composeAdjustment(OrderItemAdjustmentAccessBean aabOrderItemAdjustment, java.lang.String astrCurrency)
Composes an Adjustment SDO from the order item adjustment access bean and currency specified.
|
protected com.ibm.commerce.foundation.datatypes.ContactEntryType | composeContactEntry(AddressAccessBean aabAddress)
Composes a ContactEntry SDO from the address access bean specified.
|
protected com.ibm.commerce.order.datatypes.CSRCommentType | composeCSRComment(OrderCommentAccessBean aabOrderComment)
Composes a CSRComment SDO from the order comment access bean specified.
|
protected com.ibm.commerce.order.datatypes.DescriptionType | composeDescription(OrderAdjustmentDescriptionAccessBean aabOrderAdjustmentDescription)
Composes a Description SDO representing the description of the order adjustment specified.
|
protected com.ibm.commerce.foundation.datatypes.EmailType | composeEmail(java.lang.String astrValue, java.lang.String astrType)
Composes an Email SDO from the e-mail address and type specified.
|
protected com.ibm.commerce.foundation.datatypes.MonetaryAmountType | composeMonetaryAmount(java.math.BigDecimal adValue, java.lang.String astrCurrency)
Composes a MonetaryAmount SDO from the value and currency specified.
|
protected com.ibm.commerce.foundation.datatypes.QuantityType | composeNominalQuantity(CatalogEntryAccessBean aabCatalogEntry)
Composes a Quantity SDO representing the nominal quantity of the catalog entry specified.
|
protected com.ibm.commerce.order.datatypes.OrderType | composeOrder(OrderAccessBean aabOrder, boolean abIncludeOrderItems)
Composes an Order SDO from the order access bean specified.
|
protected com.ibm.commerce.order.datatypes.OrderChargesType | composeOrderCharges(OrderAccessBean aabOrder)
Composes an OrderCharges SDO from the order access bean specified.
|
protected com.ibm.commerce.foundation.datatypes.OrderIdentifierType | composeOrderIdentifier(OrderAccessBean aabOrder)
Composes an OrderIdentifier SDO from the order access bean specified.
|
protected com.ibm.commerce.order.datatypes.OrderItemType | composeOrderItem(OrderItemAccessBean aabOrderItem)
Composes an OrderItem SDO from the order item access bean specified.
|
protected com.ibm.commerce.order.datatypes.OrderItemChargesType | composeOrderItemCharges(OrderItemAccessBean aabOrderItem)
Composes an OrderItemCharges SDO from the order item access bean specified.
|
protected com.ibm.commerce.order.datatypes.OrderItemComponentType | composeOrderItemComponent(OrderItemComponentAccessBean aabOrderItemComponent)
Composes an OrderItemComponent SDO from the order item component access bean specified.
|
protected com.ibm.commerce.order.datatypes.OrderItemFulfillmentInfoType | composeOrderItemFulfillmentInfo(OrderItemAccessBean aabOrderItem)
Composes an OrderItemFulfillmentInfo SDO from the order item access bean specified.
|
protected com.ibm.commerce.foundation.datatypes.OrderItemIdentifierType | composeOrderItemIdentifier(OrderItemAccessBean aabOrderItem)
Composes an OrderItemIdentifier SDO from the order item access bean specified.
|
protected com.ibm.commerce.order.datatypes.OrderItemShippingInfoType | composeOrderItemShippingInfo(OrderItemAccessBean aabOrderItem)
Composes an OrderItemShippingInfo SDO from the order item access bean specified.
|
protected com.ibm.commerce.order.datatypes.OrderItemStatusType | composeOrderItemStatus(OrderItemAccessBean aabOrderItem)
Composes an OrderItemStatus SDO from the order item access bean specified.
|
protected com.ibm.commerce.order.datatypes.OrderPaymentInfoType | composeOrderPaymentInfo(OrderAccessBean aabOrder)
Composes an OrderPaymentInfo SDO from the order access bean specified.
|
protected com.ibm.commerce.order.datatypes.OrderReferencesType | composeOrderReferences(OrderAccessBean aabOrder)
Composes an OrderReferences SDO from the order access bean specified.
|
protected com.ibm.commerce.order.datatypes.OrderShippingInfoType | composeOrderShippingInfo(OrderAccessBean aabOrder)
Composes an OrderShippingInfo SDO from the order access bean specified.
|
protected com.ibm.commerce.order.datatypes.OrderStatusType | composeOrderStatus(OrderAccessBean aabOrder)
Composes an OrderStatus SDO from the order access bean specified.
|
protected com.ibm.commerce.foundation.datatypes.OrganizationIdentifierType | composeOrganizationIdentifier(OrganizationAccessBean aabOrganization)
Composes an OrganizationIdentifier SDO from the organization access bean specified.
|
protected com.ibm.commerce.order.datatypes.PaymentInstructionType | composePaymentInstruction(EDPPaymentInstruction aEDPPaymentInstruction, java.lang.String astrCurrency)
Composes an PaymentInstruction SDO from the payment instruction access bean and currency specified.
|
protected com.ibm.commerce.foundation.datatypes.PersonIdentifierType | composePersonIdentifier(UserAccessBean aabUser)
Composes a PersonIdentifier SDO from the user access bean specified.
|
protected com.ibm.commerce.foundation.datatypes.ProductIdentifierType | composeProductIdentifier(CatalogEntryAccessBean aabCatalogEntry)
Composes an ProductIdentifier SDO from the catalog entry access bean specified.
|
protected com.ibm.commerce.foundation.datatypes.QuantityType | composeQuantity(double adValue, java.lang.String astrUOM)
Composes a Quantity SDO from the value and unit of measure specified.
|
protected com.ibm.commerce.order.datatypes.TaxByTaxCategoryType | composeTaxByTaxCategory(OrderTaxAccessBean aabOrderTax, java.lang.String astrCurrency)
Composes a TaxByTaxCategory SDO from the order tax access bean and currency specified.
|
protected com.ibm.commerce.foundation.datatypes.TelephoneType | composeTelephone(java.lang.String astrValue, java.lang.String astrType, java.lang.Boolean abPublish)
Compose a Telephone SDO from the telephone number and type specified.
|
protected com.ibm.commerce.foundation.datatypes.UnitPriceType | composeUnitPrice(com.ibm.commerce.foundation.datatypes.MonetaryAmountType aPrice, com.ibm.commerce.foundation.datatypes.QuantityType aQuantity)
Composes a UnitPrice SDO from the MonetaryAmount SDO and Quantity SDO specified.
|
protected com.ibm.commerce.foundation.datatypes.CommerceFoundationFactory | getCommerceFoundationFactory()
Returns the CommerceFoundationFactory instance.
|
protected Oagis9Factory | getOagis9Factory()
Returns the Oagis9Factory instance.
|
com.ibm.commerce.order.datatypes.OrderType | getOrder()
Returns the Order SDO.
|
protected OrderAccessBean | getOrderAccessBean()
Returns the order access bean.
|
protected OrderClientFacadeImpl | getOrderClientFacadeImpl()
Returns the OrderClientFacadeImpl instance.
|
protected com.ibm.commerce.order.datatypes.OrderFactory | getOrderFactory()
Returns the OrderFactory instance.
|
protected java.lang.Long | getOrderId()
Returns the order ID.
|
protected boolean | isIncludeOrderItems()
Returns whether to include order items in the Order SDO.
|
void | performExecute()
Executes the business logic of this command implementation.
|
protected void | populateContactInfo(com.ibm.commerce.foundation.datatypes.ContactInfoType contactInfo, AddressAccessBean aabAddress)
Populates a ContactInfo SDO from the address access bean specified.
|
void | reset()
Resets this command instance.
|
void | setIncludeOrderItems(boolean abIncludeOrderItems)
Sets whether to include order items in the Order SDO.
|
protected void | setOrder(com.ibm.commerce.order.datatypes.OrderType aOrder)
Sets the Order SDO.
|
void | setOrderAccessBean(OrderAccessBean aabOrder)
Sets the order access bean.
|
void | setOrderId(java.lang.Long anOrderId)
Sets the order ID.
|
void | validateParameters()
Extracts and validates the input parameters of this command implementation.
|
public static final java.lang.String COPYRIGHT
protected Oagis9Factory getOagis9Factory()
protected com.ibm.commerce.foundation.datatypes.CommerceFoundationFactory getCommerceFoundationFactory()
protected com.ibm.commerce.order.datatypes.OrderFactory getOrderFactory()
protected OrderClientFacadeImpl getOrderClientFacadeImpl()
public void reset()
protected java.lang.Long getOrderId()
public void setOrderId(java.lang.Long anOrderId)
protected OrderAccessBean getOrderAccessBean()
public void setOrderAccessBean(OrderAccessBean aabOrder)
protected boolean isIncludeOrderItems()
public void setIncludeOrderItems(boolean abIncludeOrderItems)
public com.ibm.commerce.order.datatypes.OrderType getOrder()
protected void setOrder(com.ibm.commerce.order.datatypes.OrderType aOrder)
public void validateParameters() throws ECException
public void performExecute() throws ECException
protected com.ibm.commerce.order.datatypes.OrderType composeOrder(OrderAccessBean aabOrder, boolean abIncludeOrderItems) throws ECException
protected com.ibm.commerce.foundation.datatypes.OrderIdentifierType composeOrderIdentifier(OrderAccessBean aabOrder) throws ECException
protected com.ibm.commerce.order.datatypes.OrderReferencesType composeOrderReferences(OrderAccessBean aabOrder) throws ECException
protected com.ibm.commerce.foundation.datatypes.OrganizationIdentifierType composeOrganizationIdentifier(OrganizationAccessBean aabOrganization) throws ECException
protected com.ibm.commerce.foundation.datatypes.PersonIdentifierType composePersonIdentifier(UserAccessBean aabUser) throws ECException
protected com.ibm.commerce.order.datatypes.OrderChargesType composeOrderCharges(OrderAccessBean aabOrder) throws ECException
protected com.ibm.commerce.foundation.datatypes.MonetaryAmountType composeMonetaryAmount(java.math.BigDecimal adValue, java.lang.String astrCurrency) throws ECException
protected com.ibm.commerce.order.datatypes.TaxByTaxCategoryType composeTaxByTaxCategory(OrderTaxAccessBean aabOrderTax, java.lang.String astrCurrency) throws ECException
protected com.ibm.commerce.order.datatypes.OrderShippingInfoType composeOrderShippingInfo(OrderAccessBean aabOrder) throws ECException
protected com.ibm.commerce.order.datatypes.OrderPaymentInfoType composeOrderPaymentInfo(OrderAccessBean aabOrder) throws ECException
protected com.ibm.commerce.order.datatypes.PaymentInstructionType composePaymentInstruction(EDPPaymentInstruction aEDPPaymentInstruction, java.lang.String astrCurrency) throws ECException
protected com.ibm.commerce.order.datatypes.OrderStatusType composeOrderStatus(OrderAccessBean aabOrder) throws ECException
protected com.ibm.commerce.order.datatypes.CSRCommentType composeCSRComment(OrderCommentAccessBean aabOrderComment) throws ECException
protected com.ibm.commerce.order.datatypes.OrderItemType composeOrderItem(OrderItemAccessBean aabOrderItem) throws ECException
protected com.ibm.commerce.foundation.datatypes.OrderItemIdentifierType composeOrderItemIdentifier(OrderItemAccessBean aabOrderItem) throws ECException
protected com.ibm.commerce.foundation.datatypes.ProductIdentifierType composeProductIdentifier(CatalogEntryAccessBean aabCatalogEntry) throws ECException
protected com.ibm.commerce.order.datatypes.OrderItemComponentType composeOrderItemComponent(OrderItemComponentAccessBean aabOrderItemComponent) throws ECException
protected com.ibm.commerce.foundation.datatypes.QuantityType composeNominalQuantity(CatalogEntryAccessBean aabCatalogEntry) throws ECException
protected com.ibm.commerce.foundation.datatypes.QuantityType composeQuantity(double adValue, java.lang.String astrUOM) throws ECException
protected com.ibm.commerce.foundation.datatypes.UnitPriceType composeUnitPrice(com.ibm.commerce.foundation.datatypes.MonetaryAmountType aPrice, com.ibm.commerce.foundation.datatypes.QuantityType aQuantity) throws ECException
protected com.ibm.commerce.order.datatypes.OrderItemChargesType composeOrderItemCharges(OrderItemAccessBean aabOrderItem) throws ECException
protected com.ibm.commerce.order.datatypes.AdjustmentType composeAdjustment(OrderItemAdjustmentAccessBean aabOrderItemAdjustment, java.lang.String astrCurrency) throws ECException
protected com.ibm.commerce.order.datatypes.DescriptionType composeDescription(OrderAdjustmentDescriptionAccessBean aabOrderAdjustmentDescription) throws ECException
protected com.ibm.commerce.order.datatypes.OrderItemShippingInfoType composeOrderItemShippingInfo(OrderItemAccessBean aabOrderItem) throws ECException
protected com.ibm.commerce.foundation.datatypes.ContactEntryType composeContactEntry(AddressAccessBean aabAddress) throws ECException
protected void populateContactInfo(com.ibm.commerce.foundation.datatypes.ContactInfoType contactInfo, AddressAccessBean aabAddress) throws ECException
protected com.ibm.commerce.foundation.datatypes.AddressType composeAddress(AddressAccessBean aabAddress) throws ECException
protected com.ibm.commerce.foundation.datatypes.TelephoneType composeTelephone(java.lang.String astrValue, java.lang.String astrType, java.lang.Boolean abPublish)
protected com.ibm.commerce.foundation.datatypes.EmailType composeEmail(java.lang.String astrValue, java.lang.String astrType)
protected com.ibm.commerce.order.datatypes.OrderItemStatusType composeOrderItemStatus(OrderItemAccessBean aabOrderItem) throws ECException
protected com.ibm.commerce.order.datatypes.OrderItemFulfillmentInfoType composeOrderItemFulfillmentInfo(OrderItemAccessBean aabOrderItem) throws ECException