public class OrderDataBean extends OrderDataBeanBase implements OrderInputDataBean, com.ibm.commerce.order.beans.OrderSmartDataBean, Groupable
Modifier and Type | Class and Description |
---|---|
class |
OrderDataBean.PaymentInstruction
wrapper class for EDPPaymentInstruction that returns a
FormattedMonetaryAmountDataBean for the amount
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The IBM copyright notice field.
|
static java.lang.String |
EC_DEEP_FETCH
deep fetch boolean
|
emptyString
Constructor and Description |
---|
OrderDataBean()
OrderDataBean constructor comment.
|
OrderDataBean(OrderAccessBean aabOrder)
Constructs an OrderDataBean from an OrderAccessBean by
extracting the Order Entity reference from the OrderAccessBean.
|
OrderDataBean(OrderAccessBean aabOrder,
CommandContext aCommandContext)
Constructs an OrderDataBean from an OrderAccessBean by
extracting the Order Entity reference from the OrderAccessBean and setting the commandContext
|
Modifier and Type | Method and Description |
---|---|
boolean |
checkLock()
Check if the current CSR has locked the order.
|
static void |
clearTransactionCachedOrderDataBeans() |
boolean |
fulfills(java.lang.Long member,
java.lang.String relationship)
Used by access control
|
java.math.BigDecimal |
getAdjustmentTotal(java.lang.Integer anCalculationUsageId,
java.lang.Integer anDisplayLevel)
This method returns the adjustment total of this Order, with the specified
CalculationUsage and display level.
|
java.util.List |
getAdvancedPaymentInfo()
This method requires Event Driven Payments (EDP).
|
AddressDataBean[] |
getAllowableShippingAddress()
This method returns a list of shipping addresses allowed for this order as a single shipping address.
|
AddressDataBean |
getBillingAddressDataBean()
This method returns billing address.
|
boolean |
getCheckLock()
Check if the current CSR has locked the order.
|
OrderDataBean[] |
getChildFinalOrders()
This method returns final child order.
|
OrderDataBean[] |
getChildInitialOrders()
This method returns initial child order.
|
OrderDataBean[] |
getChildOrders(java.lang.Integer[] aDistributorStoreIds,
java.lang.String aRelType)
This method returns child order for a list of distributors by and RelType.
|
OrderDataBean[] |
getChildSelectionOrders()
This method returns selection child order.
|
OrderDataBean[] |
getChildSubmissionOrders()
This method returns submission child order.
|
CommandContext |
getCommandContext()
This method returns command context.
|
java.math.BigDecimal |
getCouponAdjustmentTotal()
This method returns the adjustment total of this Order, with
CalculationUsage -5 (that is coupon).
|
AddressDataBean |
getCurrentAddressDataBean()
This method returns an AddressDataBean that contains the current billing address for the nickname that the order was submitted
under.
|
java.math.BigDecimal |
getCurrentAdjustmentTotal()
It returns the adjustment total for what will ship now when
the order is submitted.
|
java.math.BigDecimal |
getCurrentAdjustmentTotalByCalculationUsageId(java.lang.Integer calculationUsageId)
It returns the adjustment total of specific calculation usage
for what will ship now when the order is submitted.
|
java.util.Map |
getCurrentCharges()
It will return a list of current charges and the items associated with the current charges.
|
java.math.BigDecimal |
getCurrentDiscountAdjustmentTotal()
It returns the adjustment total of discount calculation usage
for what will ship now when the order is submitted.
|
int |
getCurrentPage()
This method returns current page number.
|
java.math.BigDecimal |
getCurrentProductTotal()
It returns the product total for what will ship now when
the order is submitted.
|
java.math.BigDecimal |
getCurrentShippingAdjustmentTotal()
It returns the adjustment total of shipping charge calculation usage
for what will ship now when the order is submitted.
|
java.math.BigDecimal |
getCurrentShippingCharge()
It returns the base shipping charge for what will ship now when
the order is submitted.
|
java.math.BigDecimal |
getCurrentShippingTaxTotal()
It returns the shipping tax total for what will ship now when
the order is submitted.
|
java.math.BigDecimal |
getCurrentSurchargeAdjustmentTotal()
It returns the adjustment total of surcharge calculation usage
for what will ship now when the order is submitted.
|
java.math.BigDecimal |
getCurrentTaxTotal()
It returns the tax total for what will ship now when
the order is submitted.
|
java.math.BigDecimal |
getCurrentTotal()
It returns the grand total for what will ship now when
the order is submitted.
|
java.math.BigDecimal |
getCurrentTotalShippingCharge()
It returns the total shipping charge for what will ship now when
the order is submitted.
|
Protectable |
getDelegate()
Retrieves its delegate.
|
java.math.BigDecimal |
getDiscountAdjustedProductTotal()
This method returns the discount adjusted product total of this Order.
|
java.math.BigDecimal |
getDiscountAdjustmentTotal()
This method returns the adjustment total of this Order, with
CalculationUsage -1 (that is discount).
|
java.lang.String |
getDistributorName()
This method returns the name of the distributor that the order belongs.
|
java.lang.String |
getFormattedActualShipDate()
This method returns formatted ActualShipDate.
|
FormattedMonetaryAmountDataBean |
getFormattedCouponAdjustmentTotal()
This method returns the formatted adjustment total of this Order, with
CalculationUsage -5 (that is coupon).
|
FormattedMonetaryAmountDataBean |
getFormattedCurrentAdjustmentTotal()
This method returns the formatted CurrentAdjustmentTotal.
|
FormattedMonetaryAmountDataBean |
getFormattedCurrentDiscountAdjustmentTotal()
This method returns the formatted CurrentDiscountAdjustmentTotal.
|
FormattedMonetaryAmountDataBean |
getFormattedCurrentProductTotal()
This method returns the formatted CurrentProductTotal.
|
FormattedMonetaryAmountDataBean |
getFormattedCurrentShippingAdjustmentTotal()
This method returns the formatted CurrentShippingAdjustmentTotal.
|
FormattedMonetaryAmountDataBean |
getFormattedCurrentShippingCharge()
This method returns the formatted CurrentShippingCharge.
|
FormattedMonetaryAmountDataBean |
getFormattedCurrentShippingTaxTotal()
This method returns the formatted CurrentShippingTaxTotal.
|
FormattedMonetaryAmountDataBean |
getFormattedCurrentSurchargeAdjustmentTotal()
This method returns the formatted CurrentSurchargeAdjustmentTotal.
|
FormattedMonetaryAmountDataBean |
getFormattedCurrentTaxTotal()
This method returns the formatted CurrentTaxTotal.
|
FormattedMonetaryAmountDataBean |
getFormattedCurrentTotal()
This method returns the formatted Current Total Charge.
|
FormattedMonetaryAmountDataBean |
getFormattedCurrentTotalShippingCharge()
This method returns the formatted CurrentTotalShippingCharge.
|
FormattedMonetaryAmountDataBean |
getFormattedDiscountAdjustedProductTotal()
This method returns the formatted discount adjusted product total of this
Order.
|
java.lang.String |
getFormattedEstimatedShipDate()
This method returns formatted EstimatedShipDate.
|
FormattedMonetaryAmountDataBean |
getFormattedFutureAdjustmentTotal()
This method returns the estimated total amount of adjustment to be made in the future.
|
FormattedMonetaryAmountDataBean |
getFormattedFutureDiscountAdjustmentTotal()
This method returns the estimated total amount of discount adjustment to be made in the future.
|
FormattedMonetaryAmountDataBean |
getFormattedFutureProductTotal()
This method returns the estimated total amount of product price charges to be charged in the future.
|
FormattedMonetaryAmountDataBean |
getFormattedFutureShippingAdjustmentTotal()
This method returns the estimated total amount of shipping adjustment in the future.
|
FormattedMonetaryAmountDataBean |
getFormattedFutureShippingCharge()
This method returns the estimated total amount of base shipping to be charged in the future.
|
FormattedMonetaryAmountDataBean |
getFormattedFutureShippingTaxTotal()
This method returns the estimated total amount of shipping tax to be charged in the future.
|
FormattedMonetaryAmountDataBean |
getFormattedFutureSurchargeAdjustmentTotal()
This method returns the estimated total amount of surcharge adjustment to be made in the future.
|
FormattedMonetaryAmountDataBean |
getFormattedFutureTaxTotal()
This method returns the estimated total amount of tax to be charged in the future.
|
FormattedMonetaryAmountDataBean |
getFormattedFutureTotal()
This method returns the estimated total amount to be charged in the future.
|
FormattedMonetaryAmountDataBean |
getFormattedFutureTotalShippingCharge()
This method returns the estimated total amount of shipping to be charged in the future.
|
java.lang.String |
getFormattedLastUpdateTime()
This method returns formatted Order Last Update Time.
|
FormattedMonetaryAmountDataBean |
getFormattedOrderItemDiscountTotal()
This method returns the formatted orderitem discount total of this
Order.
|
java.lang.String |
getFormattedOrderPlacedTime()
This method returns formatted Order Placed Time.
|
FormattedMonetaryAmountDataBean |
getFormattedShippingCharge()
This method returns the base shipping charge of the order in FormattedMonetaryAmountDataBean.
|
FormattedMonetaryAmountDataBean |
getFormattedTotalAdjustment()
This method returns the total adjustment of the order in FormattedMonetaryAmountDataBean.
|
FormattedMonetaryAmountDataBean |
getFormattedTotalDiscountAdjustment()
This method returns the total discount adjustment in FormattedMonetaryAmountDataBean.
|
FormattedMonetaryAmountDataBean |
getFormattedTotalProductPrice()
This method returns the total price in FormattedMonetaryAmountDataBean.
|
FormattedMonetaryAmountDataBean |
getFormattedTotalShippingAdjustment()
This method returns the formatted shipping adjustment total of this Order, with
CalculationUsage -7 (that is shipping adjustment).
|
FormattedMonetaryAmountDataBean |
getFormattedTotalShippingCharge()
This method returns the total shipping charge of the order in FormattedMonetaryAmountDataBean.
|
FormattedMonetaryAmountDataBean |
getFormattedTotalShippingTax()
This method returns the total shipping tax in FormattedMonetaryAmountDataBean.
|
FormattedMonetaryAmountDataBean |
getFormattedTotalSurchargeAdjustment()
This method returns the total surcharge adjustment in FormattedMonetaryAmountDataBean.
|
FormattedMonetaryAmountDataBean |
getFormattedTotalTax()
This method returns the total tax in FormattedMonetaryAmountDataBean.
|
java.math.BigDecimal |
getFutureAdjustmentTotal()
It returns the adjustment total to be made in the future.
|
java.util.Map |
getFutureCharges()
It will return a list of the future charges and the items associated with the future charges.
|
java.math.BigDecimal |
getFutureDiscountAdjustmentTotal()
It returns the discount adjustment total to be made in the future.
|
java.math.BigDecimal |
getFutureProductTotal()
It returns the product total to be made in the future.
|
java.math.BigDecimal |
getFutureShippingAdjustmentTotal()
It returns the shipping adjustment total to be made in the future.
|
java.math.BigDecimal |
getFutureShippingCharge()
It returns the base shipping charge total to be made in the future.
|
java.math.BigDecimal |
getFutureShippingTaxTotal()
It returns the shipping tax total to be made in the future.
|
java.math.BigDecimal |
getFutureSurchargeAdjustmentTotal()
It returns the surcharge adjustment total to be made in the future.
|
java.math.BigDecimal |
getFutureTaxTotal()
It returns the tax total to be made in the future.
|
java.math.BigDecimal |
getFutureTotal()
It returns the total charge to be made in the future.
|
java.math.BigDecimal |
getFutureTotalShippingCharge()
It returns the shipping charge total to be made in the future.
|
PriceDataBean |
getGrandTotal()
This method returns the grand total price in PriceDataBean.
|
java.lang.Short |
getLatestOrderVersion()
This method gets the latest order version number.
|
java.lang.String |
getLockedByLogonId()
This method returns the CSR logon id who locks the order.
|
java.lang.Short |
getNextAvailableTieCode()
This method gets the next available tie code for order items.
|
int |
getNumberOfOrderItems()
This method returns number of order items in this order.
|
int |
getNumberOfShippedOrderItems()
This method returns number of shipped order items in this order.
|
OrderAdjustmentDataBean[] |
getOrderAdjustmentDataBeans()
This method returns the
OrderAdjustments
of this Order. |
OrderAdjustmentDataBean[] |
getOrderAdjustmentDataBeans(java.lang.Integer anCalculationUsageId,
java.lang.Integer anDisplayLevel)
This method returns the
OrderAdjustments
of this Order, with the specified CalculationUsage and display
level. |
OrderFulfillmentStatusDataBean |
getOrderFulfillmentStatusDataBean()
This method returns OrderStatusDataBean for this order.
|
java.lang.String |
getOrderId()
This method returns the order id.
|
OrderItemDataBean[] |
getOrderItemDataBeans()
This method returns all OrderItemDataBeans in this order.
|
OrderItemDataBean[] |
getOrderItemDataBeans(int startIndex,
int endIndex)
This method returns a list of order item data beans from the specified startIndex inclusive and endIndex exclusive.
|
OrderItemDataBean[] |
getOrderItemDataBeansByPageNumber(int pageNum)
This method returns a list of order item data beans by the page number.
|
OrderItemDataBean[] |
getOrderItemDataBeansByWhereClause()
This method gets the array of order item data beans using the parameterized query pushed down.
|
OrderItemDataBean[] |
getOrderItemDataBeansInCurrentPage()
This method returns a list of order item data beans in the current page.
|
FormattedMonetaryAmountDataBean |
getOrderItemDiscountAdjustedProductTotal()
This method returns the subtotal after product discounts.
|
OrderItemAccessBean[] |
getOrderItems()
This method returns all OrderItemAccessBean in this order.
|
java.util.Map |
getOrderItemsByFormattedShippingDate()
This method returns a Map of Lists of OrderItemDataBeans.
|
OrderAdjustmentDataBean[] |
getOrderLevelDiscountOrderAdjustmentDataBeans()
This method returns the
OrderAdjustmentDataBeans
of this Order, with CalculationUsage -1 (that is discount) and
display level 1 (that is Order). |
OrderAdjustmentDataBean[] |
getOrderLevelShippingDiscountAdjustmentDataBeans()
This method returns the
OrderAdjustmentDataBeans
of this Order, with CalculationUsage -7 (that is shipping adjustment) and
display level 1 (that is Order). |
OrderReleaseDataBean[] |
getOrderReleases()
This method returns the orderReleaseDateBeans with status "NEW".
|
int |
getPageSize()
This method returns page size.
|
OrderDataBean |
getParentOrder()
This method returns parent order according to the ORDQUOTREL table.
|
FormattedMonetaryAmountDataBean |
getPaymentAmountRemaining()
This method returns the formatted amount not allocated to a payment.
|
java.util.HashMap |
getPaymentInfo()
This method returns a HashMap that contains the payment information for the order from the ORDPAYINFO database table.
|
OrderDataBean.PaymentInstruction[] |
getPaymentInstructions()
This method returns the payment instructions associated with this order
|
java.lang.String |
getPurchaseOrderNumber()
This method returns the Buyer Purchase Order Number associated with this order.
|
TypedProperty |
getRequestProperties()
This method returns the request property set within this bean.
|
ShipCarrAccntDataBean[] |
getShipCarrierAccntListDataBean()
This method returns all the shipping carrier account data for the order.
|
ShipInstructionsDataBean[] |
getShipInstructsListDataBean()
This method returns all the shipping instructions for the order.
|
OrderItemDataBean[] |
getShippedOrderItemDataBeans()
This method returns all shipped OrderItemDataBeans in this order.
|
java.math.BigDecimal |
getShippingAdjustmentTotal()
This method returns the shipping adjustment total of this Order, with
CalculationUsage -7 (that is shipping adjustment).
|
java.math.BigDecimal |
getShippingChargeTotal()
This method returns the shipping charge total of this order.
|
OrderDataBean[] |
getSiblingFinalOrders()
This method returns sibling final orders.
|
OrderDataBean[] |
getSiblingInitialOrders()
This method returns sibling initial orders.
|
OrderDataBean[] |
getSiblingSelectionOrders()
This method returns sibling selection orders.
|
OrderDataBean[] |
getSiblingSubmissionOrders()
This method returns sibling submission orders.
|
SubOrderAccessBean[] |
getSubOrders()
This method returns all SubOrderAccessBean in this order.
|
PriceDataBean |
getSubTotal()
This method returns the sub total.
|
java.math.BigDecimal |
getSurchargeAdjustmentTotal()
This method returns the adjustment total of this Order, with
CalculationUsage -6 (that is surcharge).
|
CategorizedMonetaryAmountsDataBean |
getTaxes()
This method returns the tax amounts for each of the tax categories that have been
computed for the order.
|
java.math.BigDecimal |
getTotalAdjustmentByCalculationUsageId(java.lang.Integer anCalculationUsageId)
This method returns the adjustment total of this Order, with the specified
CalculationUsage.
|
java.math.BigDecimal |
getTotalAdjustmentByCalculationUsageIdAndDisplayLevel(java.lang.Integer anCalculationUsageId,
java.lang.Integer anDisplayLevel)
This method returns the adjustment total of this Order, with the specified
CalculationUsage and display level.
|
java.math.BigDecimal |
getTotalAdjustmentByDisplayLevel(java.lang.Integer anDisplayLevel)
This method returns the adjustment total of this Order, with the specified
display level.
|
java.lang.String |
getTotalOrderItemsPrice()
This method returns the grand total price.
|
int |
getTotalPages()
This method returns the total page number.
|
java.math.BigDecimal |
getTotalProductPriceBySumUp()
This method returns the total price in FormattedMonetaryAmountDataBean.
|
int |
getTotalSize()
This method returns total OrderItem number.
|
static OrderDataBean |
getTransactionCachedOrderDataBean(OrderAccessBean aOrderAB,
CommandContext aCommandContext)
Returns an OrderDataBean from the transaction cache, or, if it is not there,
then creates a new OrderDataBean, sets the deepFetch property to false,
and places it in the transaction cache.
|
static OrderDataBean |
getTransactionCachedOrderDataBean(java.lang.String astrOrderId,
CommandContext aCommandContext)
Returns an OrderDataBean from the transaction cache, or, if it is not there,
then creates a new OrderDataBean, sets the deepFetch property to false,
and places it in the transaction cache.
|
AddressDataBean[] |
getUniqueShippingAddresses()
Retrieve an array of unique shipping addresses from items contained in order.
|
ShipChargesByShipMode[] |
getUsableShipChargesAndAccountByShipModeDataBean()
This method returns all usable shipping charges and account by ship mode for this order.
|
boolean |
isAllItemsAvailable()
This method returns true if all orderItems have AvailableQuantity that is >0,
or else returns false.
|
boolean |
isAllItemsBackOrdered()
This method returns true if all orderItems are backordered,
or else returns false.
|
boolean |
isAtLeastOneAvailabilityUnknown()
This method returns true if one of the orderItems has a null AvailableQuantity,
or else returns false if all orderItems have AvailableQuantity.
|
boolean |
isBlocked()
This method indicates whether the order is blocked or not.
|
boolean |
isDeepFetch()
This method returns if deep fetched is used.
|
boolean |
isDiscount()
This method returns true if there is a discount on this order.
|
boolean |
isEditable()
This method returns true if the order can be edited.
|
boolean |
isEmpty()
Does this order have any order items.
|
boolean |
isEveryItemAvailableNow()
This method returns true if every item in the shopping cart is available now.
|
boolean |
isHistoryExisted()
Check if this order has order history record.
|
boolean |
isLocked()
Check if this order is locked by some other people.
|
boolean |
isMixed()
Checks to see if some items are available and some are back ordered.
|
boolean |
isPersonalAddressesAllowedForShipping()
This method returns if a personal address is allowed for this order as a single shipping address.
|
boolean |
isPurchaseOrderNumberRequired()
This method returns true if any of the order items in this order require
a purchase order as described in its contract.
|
boolean |
isRequiresReview()
This method indicates whether the order requires review for payment AVS score
|
boolean |
isRFQOrder()
Determine if this is an RFQ Order.
|
boolean |
isShipped()
This method returns true if all OrderItems have been manifested.
|
boolean |
isSurcharge()
This method returns true if there is a surcharge on this order.
|
boolean |
isWaitingForApproval()
This method indicates whether the order is waiting for order approval by the
Buyer Approver.
|
boolean |
matchOrderItemStatus(java.lang.String code)
This method is used to find a matching status in the orderitems table.
|
boolean |
matchOrderItemStatus(java.lang.String[] codes)
This method is used to find a matching status in the orderitems table.
|
void |
populate()
This method is used to populate the OrderDataBean.
|
void |
setCommandContext(CommandContext context)
This method setsCommandContext method comment.
|
void |
setCurrentPage(int i)
This method sets current page number.
|
void |
setDeepFetch(boolean abDeepFetch)
To use deep fetch or not
|
void |
setInitKey_orderId(java.lang.String astrOrderId) |
void |
setOrderId(java.lang.String anOrderId)
This method sets an order id.
|
void |
setOrderItems(OrderItemAccessBean[] items)
This method sets an array of order item access beans (optional).
|
void |
setOrderItems(OrderItemDataBean[] adbOrderItems)
This method sets order items.
|
void |
setOrderItemWhereAndOrderByClause(java.lang.String clause)
This method sets the where and
orderby clause of SQL statement to find order items. |
void |
setOrderItemWhereAndOrderByClauseParameters(java.lang.Object[] parameters)
This method sets the parameters for the where clause of
SQL statement to find order items. |
void |
setPageSize(int i)
This method sets page size.
|
void |
setRequestProperties(TypedProperty aRequestProperties)
This method sets the request properties within this bean.
|
void |
setSecurityCheck(boolean check)
Turn security check on or off.
|
void |
setSubOrders(SubOrderAccessBean[] abs)
This method sets an array of sub order access beans (optional).
|
clearOrderItemsCache, findByMember, findByMemberForUpdate, findByOrderForUpdate, findByOrderIds, findByStatus, findByStatusAndMember, findByStatusAndMemberScopedByLastUpdate, findByStatusAndMemberScopedByTimePlaced, findByStatusesMemberStoreHostedAtChannelStartEndDateAndDateField, findByStatusesMemberStoresRelTypeStartEndDateAndDateField, findByStatusesMemberStoresStartEndDateAndDateField, findByStatusMemberAndRelType, findByStatusMemberAndRelTypeScopedByLastUpdate, findByStatusMemberAndRelTypeScopedByTimePlaced, findByStatusMemberAndStore, findByStatusMemberAndStoreForUpdate, findByStatusMemberAndStoreHostedAtChannel, findByStatusMemberAndStoreScopedByLastUpdate, findByStatusMemberAndStoreScopedByTimePlaced, findByStatusMemberRelTypeAndStore, findByStatusMemberRelTypeAndStoreScopedByLastUpdate, findByStatusMemberRelTypeAndStoreScopedByTimePlaced, findByStatusStoreentIdAndDescription, findByStoreIdMemberIdAndStatus, findChildOrderByDistributorStoreIdsAndOrdersIdAndRelType, findCurrentPendingOrders, findCurrentPendingOrdersByMember, findCurrentPendingOrdersByMemberAndStore, findFullyTransferredOrdersByChannelStoreIdAndShopperId, findFullyTransferredOrdersByChannelStoreIdShopperIdStartEndDateAndDateField, findNotTransferredOrdersByChannelStoreIdAndShopperId, findNotTransferredOrdersByChannelStoreIdShopperIdStartEndDateAndDateField, findOrders, findOrderTemplatesByMember, findOrderTemplatesByMemberAndUsage, findOrderTemplatesByStoreAndMember, findOrderTemplatesByStoreMemberAndUsage, findParentOrderByOrdersId, findPartlyTransferredOrdersByChannelStoreIdAndShopperId, findPartlyTransferredOrdersByChannelStoreIdShopperIdStartEndDateAndDateField, findPendingOrders, findPrivateRequisitionListByMember, findPrivateRequisitionListByMember, findPrivateRequisitionListByMemberAndStore, findPrivateRequisitionListByMemberAndStore, findPrivateRequisitionListByMemberAndStoreHostedAtChannel, findPrivateRequisitionListByMemberAndStoreHostedAtChannel, findPrivateRequisitionListByMemberOrderByLastUpdate, findProcessedOrdersByChannelStoreIdAndShopperId, findProcessedOrdersByChannelStoreIdShopperIdStartEndDateAndDateField, findShareableRequisitionListByMember, findShareableRequisitionListByMemberAndStore, findShareableRequisitionListByMemberAndStoreHostedAtChannel, findShareableRequisitionListByOrg, findShareableRequisitionListByOrgAndStore, findShareableRequisitionListByOrgAndStoreHostedAtChannel, findShareableRequisitionListOwnedByMember, findShareableRequisitionListOwnedByMember, findShareableRequisitionListOwnedByMemberAndStore, findShareableRequisitionListOwnedByMemberAndStore, findShareableRequisitionListOwnedByMemberAndStoreHostedAtChannel, findShareableRequisitionListOwnedByMemberAndStoreHostedAtChannel, findTemplatedOrdersByStoreIdMemberIdAndUsage, findWithParameterizedPushDownQuery, findWithPushDownQuery, getActualShipDate, getAddressId, getAddressIdInEntityType, getBuschnId, getComment, getCurrency, getDescription, getEditorId, getEntity, getEstimatedOrPromisedShipDate, getEstimatedShipDate, getExpireDate, getField1, getField1InEntityType, getField2, getField2InEntityType, getField3, getGroupingAttributeValue, getIsBlocked, getIsBlockedInEntityType, getLastUpdate, getLastUpdateInEntityType, getLock, getMemberId, getMemberIdInEntityType, getMerchantOrderId, getNotificationId, getNotificationIdInEntityType, getOrderChannelTypeId, getOrderChannelTypeIdInEntityType, getOrderIdInEntityType, getOrderItemsByFulfillmentStatus, getOrderItemsByFulfillmentStatusForUpdate, getOrderItemsForUpdate, getOrderItemsSortedByCatalogEntryId, getOrderItemsSortedByOrderItemId, getOrderProcessSystemId, getOrganizationId, getOrganizationIdInEntityType, getOwner, getPlaceOrderTime, getPlaceOrderTimeInEntityType, getPromisedShipDate, getProviderOrderNumber, getProviderOrderNumberInEntityType, getPurchaseOrderId, getSequence, getSequenceInEntityType, getShipAsComplete, getSourceId, getStatus, getStoreEntityId, getStoreEntityIdInEntityType, getTotalAdjustment, getTotalAdjustmentInEntityType, getTotalProductPrice, getTotalProductPriceInEntityType, getTotalShippingCharge, getTotalShippingChargeInEntityType, getTotalShippingTax, getTotalShippingTaxInEntityType, getTotalTax, getTotalTaxInEntityType, getTransferStatus, getType, instantiateEntity, setAddressId, setAddressId, setBuschnId, setComment, setCurrency, setDescription, setEditorId, setExpireDate, setField1, setField1, setField2, setField2, setField3, setInitKey_orderId, setIsBlocked, setIsBlocked, setLastUpdate, setLastUpdate, setLastUpdateWithoutCheck, setLock, setMemberId, setMemberId, setMerchantOrderId, setNotificationId, setNotificationId, setOrderChannelTypeId, setOrderChannelTypeId, setOrderProcessSystemId, setOrganizationId, setOrganizationId, setPlaceOrderTime, setPlaceOrderTime, setProviderOrderNumber, setProviderOrderNumber, setPurchaseOrderId, setSequence, setSequence, setShipAsComplete, setSourceId, setStatus, setStoreEntityId, setStoreEntityId, setTotalAdjustment, setTotalAdjustment, setTotalProductPrice, setTotalProductPrice, setTotalShippingCharge, setTotalShippingCharge, setTotalShippingTax, setTotalShippingTax, setTotalTax, setTotalTax, setTransferStatus, setType
createAccessBean, createAccessBean, createAccessBeanCollection, createAccessBeanCollection, createEntityCollection, detach, remove, setUseDataCache, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getGroupingAttributeValue
getOwner
public static final java.lang.String COPYRIGHT
public static final java.lang.String EC_DEEP_FETCH
public OrderDataBean()
public OrderDataBean(OrderAccessBean aabOrder, CommandContext aCommandContext)
aabOrder
- OrderAccessBeanaCommandContext
- Command Contextjava.lang.Exception
public OrderDataBean(OrderAccessBean aabOrder)
aabOrder
- OrderAccessBeanjava.lang.Exception
public static final OrderDataBean getTransactionCachedOrderDataBean(OrderAccessBean aOrderAB, CommandContext aCommandContext)
aOrderAB
- the order for the data bean.aCommandContext
- the command context for the data bean.
If this is null, then the transaction cache is not used.java.lang.Exception
public static final OrderDataBean getTransactionCachedOrderDataBean(java.lang.String astrOrderId, CommandContext aCommandContext)
astrOrderId
- the order Id for the data bean.aCommandContext
- the command context for the data bean.
If this is null, then the transaction cache is not used.public static final void clearTransactionCachedOrderDataBeans()
public Protectable getDelegate()
getDelegate
in interface Delegator
getDelegate
in class OrderDataBeanBase
public CommandContext getCommandContext()
getCommandContext
in interface SmartDataBean
public FormattedMonetaryAmountDataBean getFormattedTotalAdjustment() throws ECSystemException
getFormattedTotalAdjustment
in interface com.ibm.commerce.order.beans.OrderSmartDataBean
ECSystemException
public FormattedMonetaryAmountDataBean getFormattedTotalDiscountAdjustment() throws ECSystemException
ECSystemException
public FormattedMonetaryAmountDataBean getFormattedTotalSurchargeAdjustment() throws ECSystemException
ECSystemException
public FormattedMonetaryAmountDataBean getFormattedTotalProductPrice() throws ECSystemException
getFormattedTotalProductPrice
in interface com.ibm.commerce.order.beans.OrderSmartDataBean
ECSystemException
public FormattedMonetaryAmountDataBean getFormattedTotalShippingCharge() throws ECSystemException
getFormattedTotalShippingCharge
in interface com.ibm.commerce.order.beans.OrderSmartDataBean
ECSystemException
getShippingChargeTotal()
public java.math.BigDecimal getShippingChargeTotal()
This method returnsTotalShippingChargeInEntityType()
.add(This method returnshippingAdjustmentTotal()
).public FormattedMonetaryAmountDataBean getFormattedShippingCharge() throws ECSystemException
ECSystemException
OrderAccessBean.getTotalShippingChargeInEntityType()
public FormattedMonetaryAmountDataBean getFormattedTotalShippingTax() throws ECSystemException
getFormattedTotalShippingTax
in interface com.ibm.commerce.order.beans.OrderSmartDataBean
ECSystemException
public FormattedMonetaryAmountDataBean getFormattedTotalTax() throws ECSystemException
getFormattedTotalTax
in interface com.ibm.commerce.order.beans.OrderSmartDataBean
ECSystemException
public java.lang.String getFormattedEstimatedShipDate()
public java.lang.String getFormattedActualShipDate()
public java.lang.String getFormattedOrderPlacedTime()
public java.lang.String getFormattedLastUpdateTime()
public PriceDataBean getGrandTotal()
getGrandTotal
in interface com.ibm.commerce.order.beans.OrderSmartDataBean
public java.lang.String getTotalOrderItemsPrice()
public java.lang.String getOrderId()
getOrderId
in interface com.ibm.commerce.order.beans.OrderSmartDataBean
getOrderId
in class OrderAccessBean
public boolean isEmpty()
public AddressDataBean getBillingAddressDataBean()
public OrderItemDataBean[] getOrderItemDataBeans()
getOrderItemDataBeans
in interface com.ibm.commerce.order.beans.OrderSmartDataBean
public OrderItemDataBean[] getShippedOrderItemDataBeans()
public int getNumberOfOrderItems()
public int getNumberOfShippedOrderItems()
public OrderItemAccessBean[] getOrderItems()
getOrderItems
in interface com.ibm.commerce.order.beans.OrderSmartDataBean
getOrderItems
in class OrderAccessBean
public java.lang.String getPurchaseOrderNumber()
getPurchaseOrderNumber
in interface com.ibm.commerce.order.beans.OrderSmartDataBean
public TypedProperty getRequestProperties()
getRequestProperties
in interface InputDataBean
public SubOrderAccessBean[] getSubOrders()
getSubOrders
in interface com.ibm.commerce.order.beans.OrderSmartDataBean
getSubOrders
in class OrderAccessBean
public PriceDataBean getSubTotal()
getSubTotal
in interface com.ibm.commerce.order.beans.OrderSmartDataBean
public CategorizedMonetaryAmountsDataBean getTaxes() throws ECSystemException
getTaxes
in interface com.ibm.commerce.order.beans.OrderSmartDataBean
CategorizedMonetaryAmountsDataBean
containing the
taxing monetary amounts, names and descriptions and so forth.ECSystemException
public java.math.BigDecimal getTotalProductPriceBySumUp()
ECSystemException
public boolean isDeepFetch()
public void populate() throws java.lang.Exception
populate()
method.populate
in interface SmartDataBean
java.lang.Exception
setOrderId(String)
public void setCommandContext(CommandContext context)
setCommandContext
in interface SmartDataBean
context
- CommandContextpublic void setInitKey_orderId(java.lang.String astrOrderId)
setInitKey_orderId
in class OrderAccessBean
astrOrderId
- the order identifier primary key value.
Must be a number.OrderAccessBean.setInitKey_orderId(java.lang.String)
public void setDeepFetch(boolean abDeepFetch)
abDeepFetch
- boolean true: use deep fetch, false: not use deep fetch.public void setOrderId(java.lang.String anOrderId)
setOrderId
in interface OrderInputDataBean
anOrderId
- order idpublic void setOrderItems(OrderItemDataBean[] adbOrderItems)
adbOrderItems
- OrderItemDataBean arraypublic void setOrderItems(OrderItemAccessBean[] items)
setOrderItems
in interface OrderInputDataBean
items
- OrderItemAccessBean arraypublic void setRequestProperties(TypedProperty aRequestProperties)
setRequestProperties
in interface InputDataBean
aRequestProperties
- com.ibm.commerce.datatype.TypedPropertypublic void setSecurityCheck(boolean check)
setSecurityCheck
in interface OrderInputDataBean
check
- booleanpublic void setSubOrders(SubOrderAccessBean[] abs)
setSubOrders
in interface OrderInputDataBean
abs
- SubOrderAccessBean arraypublic boolean fulfills(java.lang.Long member, java.lang.String relationship) throws java.lang.Exception
fulfills
in interface Protectable
fulfills
in class OrderAccessBean
member
- Longrelationship
- StringRemoteException
java.lang.Exception
public OrderDataBean[] getChildOrders(java.lang.Integer[] aDistributorStoreIds, java.lang.String aRelType)
aDistributorStoreIds
- Integer arrayaRelType
- String order quotation relation typepublic OrderDataBean getParentOrder()
public boolean isAtLeastOneAvailabilityUnknown()
public boolean isAllItemsAvailable()
public boolean isAllItemsBackOrdered()
public boolean isShipped()
public boolean isMixed()
public OrderFulfillmentStatusDataBean getOrderFulfillmentStatusDataBean()
public OrderDataBean[] getChildSelectionOrders()
public OrderDataBean[] getChildInitialOrders()
public OrderDataBean[] getChildFinalOrders()
public OrderDataBean[] getChildSubmissionOrders()
public OrderDataBean[] getSiblingSelectionOrders()
public OrderDataBean[] getSiblingInitialOrders()
public OrderDataBean[] getSiblingSubmissionOrders()
public OrderDataBean[] getSiblingFinalOrders()
public java.lang.String getDistributorName()
public OrderAdjustmentDataBean[] getOrderAdjustmentDataBeans()
OrderAdjustments
of this Order.public OrderAdjustmentDataBean[] getOrderAdjustmentDataBeans(java.lang.Integer anCalculationUsageId, java.lang.Integer anDisplayLevel)
OrderAdjustments
of this Order, with the specified CalculationUsage and display
level.anCalculationUsageId
- the CalculationUsage ID. Null means
any CalculationUsage.anDisplayLevel
- the display level. Null means any display
level.public OrderAdjustmentDataBean[] getOrderLevelDiscountOrderAdjustmentDataBeans()
OrderAdjustmentDataBeans
of this Order, with CalculationUsage -1 (that is discount) and
display level 1 (that is Order). Equivalent to This method returnsOrderAdjustmentDataBeans(new Integer(-1), new Integer(1))
.public OrderAdjustmentDataBean[] getOrderLevelShippingDiscountAdjustmentDataBeans()
OrderAdjustmentDataBeans
of this Order, with CalculationUsage -7 (that is shipping adjustment) and
display level 1 (that is Order). Equivalent to This method returnsOrderAdjustmentDataBeans(new Integer(-7), new Integer(1))
.public java.math.BigDecimal getAdjustmentTotal(java.lang.Integer anCalculationUsageId, java.lang.Integer anDisplayLevel)
anCalculationUsageId
- the CalculationUsage ID. Null means
any CalculationUsage.anDisplayLevel
- the display level. Null means any display
level.
Alternative: usegetTotalAdjustmentByDisplayLevel(Integer anDisplayLevel)
or,
getTotalAdjustmentByCalculationUsageId(Integer anCalculationUsageId)
or,
getTotalAdjustmentByCalculationUsageIdAndDisplayLevel(Integer anCalculationUsageId, Integer anDisplayLevel)
instead.public java.math.BigDecimal getTotalAdjustmentByDisplayLevel(java.lang.Integer anDisplayLevel)
getTotalAdjustmentByDisplayLevel
in class OrderAccessBean
anDisplayLevel
- the display level.public java.math.BigDecimal getTotalAdjustmentByCalculationUsageId(java.lang.Integer anCalculationUsageId)
getTotalAdjustmentByCalculationUsageId
in class OrderAccessBean
anCalculationUsageId
- the CalculationUsage ID.public java.math.BigDecimal getTotalAdjustmentByCalculationUsageIdAndDisplayLevel(java.lang.Integer anCalculationUsageId, java.lang.Integer anDisplayLevel)
getTotalAdjustmentByCalculationUsageIdAndDisplayLevel
in class OrderAccessBean
anCalculationUsageId
- the CalculationUsage ID.anDisplayLevel
- the display level.public java.math.BigDecimal getDiscountAdjustedProductTotal()
This method returnsTotalProductPriceInEntityType()
.add(This method returnsTotalAdjustmentByCalculationUsageId(new Integer(-1))
).public FormattedMonetaryAmountDataBean getFormattedOrderItemDiscountTotal()
public FormattedMonetaryAmountDataBean getFormattedDiscountAdjustedProductTotal()
getDiscountAdjustedProductTotal()
public java.math.BigDecimal getCouponAdjustmentTotal()
This method returnsTotalAdjustmentByCalculationUsageId(new Integer(-5))
.public java.math.BigDecimal getSurchargeAdjustmentTotal()
This method returnsTotalAdjustmentByCalculationUsageId(new Integer(-6))
.public java.math.BigDecimal getDiscountAdjustmentTotal()
This method returnsTotalAdjustmentByCalculationUsageId(new Integer(-1))
.public java.math.BigDecimal getShippingAdjustmentTotal()
This method returnsTotalAdjustmentByCalculationUsageId(new Integer(-7))
.public FormattedMonetaryAmountDataBean getFormattedTotalShippingAdjustment()
getShippingAdjustmentTotal()
public FormattedMonetaryAmountDataBean getFormattedCouponAdjustmentTotal()
getCouponAdjustmentTotal()
public boolean isRFQOrder()
public AddressDataBean[] getUniqueShippingAddresses()
public boolean isPurchaseOrderNumberRequired()
public boolean matchOrderItemStatus(java.lang.String code)
code
- as Stringpublic boolean matchOrderItemStatus(java.lang.String[] codes)
codes
- as String[]public boolean isDiscount()
public boolean isSurcharge()
public ShipChargesByShipMode[] getUsableShipChargesAndAccountByShipModeDataBean()
public ShipInstructionsDataBean[] getShipInstructsListDataBean()
public ShipCarrAccntDataBean[] getShipCarrierAccntListDataBean()
public OrderReleaseDataBean[] getOrderReleases()
public java.math.BigDecimal getCurrentAdjustmentTotal()
public java.math.BigDecimal getCurrentAdjustmentTotalByCalculationUsageId(java.lang.Integer calculationUsageId)
calculationUsageId
- public java.math.BigDecimal getCurrentDiscountAdjustmentTotal()
public java.math.BigDecimal getCurrentSurchargeAdjustmentTotal()
public java.math.BigDecimal getCurrentShippingAdjustmentTotal()
public FormattedMonetaryAmountDataBean getFormattedCurrentDiscountAdjustmentTotal()
public FormattedMonetaryAmountDataBean getFormattedCurrentSurchargeAdjustmentTotal()
public FormattedMonetaryAmountDataBean getFormattedCurrentShippingAdjustmentTotal()
public java.math.BigDecimal getCurrentTaxTotal()
public java.math.BigDecimal getCurrentShippingCharge()
public java.math.BigDecimal getCurrentTotalShippingCharge()
public java.math.BigDecimal getCurrentProductTotal()
public java.math.BigDecimal getCurrentShippingTaxTotal()
public FormattedMonetaryAmountDataBean getFormattedCurrentAdjustmentTotal()
public FormattedMonetaryAmountDataBean getFormattedCurrentTaxTotal()
public FormattedMonetaryAmountDataBean getFormattedCurrentTotalShippingCharge()
public FormattedMonetaryAmountDataBean getFormattedCurrentShippingCharge()
public FormattedMonetaryAmountDataBean getFormattedCurrentProductTotal()
public FormattedMonetaryAmountDataBean getFormattedCurrentShippingTaxTotal()
public java.math.BigDecimal getCurrentTotal()
public FormattedMonetaryAmountDataBean getFormattedCurrentTotal()
public boolean isEditable()
public boolean checkLock()
public boolean getCheckLock()
public java.lang.String getLockedByLogonId()
public boolean isLocked()
public FormattedMonetaryAmountDataBean getOrderItemDiscountAdjustedProductTotal()
public java.util.HashMap getPaymentInfo()
public AddressDataBean getCurrentAddressDataBean()
public boolean isEveryItemAvailableNow()
public java.util.Map getOrderItemsByFormattedShippingDate()
OrderItemDataBean
public java.util.List getAdvancedPaymentInfo()
EDPPaymentInstruction
public java.util.Map getCurrentCharges()
Keys | Value | ||||||||
---|---|---|---|---|---|---|---|---|---|
dates | Map of dates | ||||||||
|
|||||||||
chargeTypes | Map of charges listed below |
EDPPaymentInstruction
public java.util.Map getFutureCharges()
shipmode
/address combinationEDPPaymentInstruction
public FormattedMonetaryAmountDataBean getFormattedFutureTotal() throws ECSystemException
ECSystemException
public java.math.BigDecimal getFutureTotal()
public FormattedMonetaryAmountDataBean getFormattedFutureShippingTaxTotal() throws ECSystemException
ECSystemException
public java.math.BigDecimal getFutureShippingTaxTotal()
public FormattedMonetaryAmountDataBean getFormattedFutureTotalShippingCharge() throws ECSystemException
ECSystemException
public java.math.BigDecimal getFutureTotalShippingCharge()
public FormattedMonetaryAmountDataBean getFormattedFutureShippingCharge() throws ECSystemException
ECSystemException
public java.math.BigDecimal getFutureShippingCharge()
public FormattedMonetaryAmountDataBean getFormattedFutureShippingAdjustmentTotal() throws ECSystemException
ECSystemException
public java.math.BigDecimal getFutureShippingAdjustmentTotal()
public FormattedMonetaryAmountDataBean getFormattedFutureTaxTotal() throws ECSystemException
ECSystemException
public java.math.BigDecimal getFutureTaxTotal()
public FormattedMonetaryAmountDataBean getFormattedFutureAdjustmentTotal() throws ECSystemException
ECSystemException
public java.math.BigDecimal getFutureAdjustmentTotal()
public FormattedMonetaryAmountDataBean getFormattedFutureDiscountAdjustmentTotal() throws ECSystemException
ECSystemException
public java.math.BigDecimal getFutureDiscountAdjustmentTotal()
public FormattedMonetaryAmountDataBean getFormattedFutureSurchargeAdjustmentTotal() throws ECSystemException
ECSystemException
public java.math.BigDecimal getFutureSurchargeAdjustmentTotal()
public FormattedMonetaryAmountDataBean getFormattedFutureProductTotal() throws ECSystemException
ECSystemException
public java.math.BigDecimal getFutureProductTotal()
public OrderDataBean.PaymentInstruction[] getPaymentInstructions()
public FormattedMonetaryAmountDataBean getPaymentAmountRemaining()
public boolean isBlocked()
public AddressDataBean[] getAllowableShippingAddress()
public boolean isPersonalAddressesAllowedForShipping()
public boolean isWaitingForApproval()
public boolean isRequiresReview()
public int getCurrentPage()
public int getPageSize()
public void setCurrentPage(int i)
i
- the current page number.public void setPageSize(int i)
i
- the page size.public int getTotalPages()
public int getTotalSize()
public OrderItemDataBean[] getOrderItemDataBeansByPageNumber(int pageNum)
pageNum
- the page number.public OrderItemDataBean[] getOrderItemDataBeansInCurrentPage()
public boolean isHistoryExisted()
public void setOrderItemWhereAndOrderByClause(java.lang.String clause)
orderby
clause of SQL
statement to find order items.
For example, the clause can be "ORDERS_ID = ? AND STATUS = ? order by ORDERITEMS_ID". And the
parameter list for the clause can be Object[]{"10001","P"}.
If the where clause is not set, use the default clause "ORDERS_ID = ? order by ADDRESS_ID, ORDERITEMS_ID".clause
- the where and orderby
clause to find order items.public void setOrderItemWhereAndOrderByClauseParameters(java.lang.Object[] parameters)
SQL
statement to find order items. The element of
the parameter array should match the where clause set by the method setOrderItemWhereAndOrderByClause(String)
.parameters
- the array of parameters for the where clause to find order items.public OrderItemDataBean[] getOrderItemDataBeansByWhereClause()
setOrderItemWhereAndOrderByClause(String)
.
And the parameter list for the clause can be Object[]{"10001","P"} set by setOrderItemWhereAndOrderByClauseParameters(Object[])
.
public OrderItemDataBean[] getOrderItemDataBeans(int startIndex, int endIndex)
startIndex
- start indexendIndex
- end indexpublic java.lang.Short getLatestOrderVersion()
public java.lang.Short getNextAvailableTieCode()
short
type can have,
it returns null as a result.