public class HistoryOrder extends java.lang.Object implements XMLRecordable
com.ibm.commerce.order.objects.OrderAccessBean
or get HistoryOrder
from the XML.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice fields.
|
Constructor and Description |
---|
HistoryOrder() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
fieldsToXML()
Converts only this object's fields into an XML format representation.
|
java.lang.Long |
getAddressId()
This method returns address id of the order.
|
java.lang.Short |
getBlocked()
Gets blocked
|
java.lang.Integer |
getBuschnId()
This method returns business channel Id of the order.
|
CommandContext |
getCommandContext()
Gets the Command Context
|
java.lang.String |
getComment()
This method returns comment of the order.
|
java.lang.String |
getCurrency()
This method returns currency of the order.
|
int |
getCurrentPage()
This method returns current page number.
|
java.lang.String |
getDescription()
Gets description
|
java.lang.Long |
getEditorId()
Gets editor id
|
java.sql.Timestamp |
getExpireDate()
Gets expire date
|
java.lang.Integer |
getField1()
Gets field1
|
java.math.BigDecimal |
getField2()
Gets field2
|
java.lang.String |
getField3()
Gets field3
|
HistoryOrderItem[] |
getHistoryOrderItems(int startIndex,
int endIndex)
This method returns an array of history order items from the specified startIndex inclusive and endIndex exclusive.
|
HistoryOrderItem[] |
getHistoryOrderItemsByPageNumber(int pageNum)
This method returns an array of history order items by the page number.
|
HistoryOrderItem[] |
getHistoryOrderItemsInCurrentPage()
This method returns an array of history order items in current page number.
|
java.sql.Timestamp |
getLastUpdate()
Gets last update timestamp
|
java.lang.String |
getLock()
Gets lock
|
java.lang.Long |
getMemberId()
Gets member id
|
java.lang.String |
getMerchantOrderId()
Gets merchant order id
|
java.lang.Long |
getNotificationId()
Gets the notificationId
|
java.lang.Long |
getOrderChannelTypeId()
Gets order channel type id
|
java.lang.Long |
getOrderId()
Gets order id
|
java.lang.Integer |
getOrderProcessSystemId()
Gets purchase order id
|
java.lang.Long |
getOrganizationId()
Gets organization id
|
XMLRecordable |
getOtherRecordableObject()
Gets the customizable object.
|
int |
getPageSize()
This method returns page size.
|
java.sql.Timestamp |
getPlaceOrderTime()
Gets place order time
|
java.lang.Integer |
getProviderOrderNumber()
Gets provider order number
|
java.lang.Long |
getPurchaseOrderId()
Gets purchase order id
|
java.lang.Double |
getSequence()
Gets sequence
|
java.lang.String |
getShipAsComplete()
Gets shipAsComplete
|
java.lang.Long |
getSourceId()
Gets sourceId
|
java.lang.String |
getStatus()
Gets status
|
java.lang.Integer |
getStoreEntityId() |
java.math.BigDecimal |
getTotalAdjustment() |
int |
getTotalPages()
This method returns the total number of pages.
|
java.math.BigDecimal |
getTotalProductPrice() |
java.math.BigDecimal |
getTotalShippingCharge() |
java.math.BigDecimal |
getTotalShippingTax() |
int |
getTotalSize()
This method returns the total size of history order items.
|
java.math.BigDecimal |
getTotalTax() |
java.lang.Short |
getTransferStatus()
Gets transfer status
|
java.lang.String |
getType() |
java.util.Vector |
getVecHistoryCalculationAdjustment()
Gets Vector HistoryCalculationAdjustment
|
java.util.Vector |
getVecHistoryOrderBlock() |
java.util.Vector |
getVecHistoryOrderItem()
Gets Vector HistoryOrderItem
|
java.util.Vector |
getVecHistoryPaymentInformation()
Gets Vector HistoryPaymentInformation
|
java.util.Vector |
getVecHistoryShipInfo()
Gets Vector HistoryShipInfo
|
void |
setAddressId(java.lang.Long long1)
Sets addressId
|
void |
setBlocked(java.lang.Short short1)
Sets blocked - 1 blocked, 0 not blocked.
|
void |
setBuschnId(java.lang.Integer integer)
Sets business channel Id
|
void |
setCommandContext(CommandContext context)
Sets Command Context
|
void |
setComment(java.lang.String string)
Sets comment
|
void |
setCurrency(java.lang.String string)
Sets currency
|
void |
setCurrentPage(int i)
This method sets current page number.
|
void |
setDescription(java.lang.String string)
Sets description
|
void |
setEditorId(java.lang.Long argEditorId)
Sets editorId
|
void |
setExpireDate(java.sql.Timestamp timestamp)
Sets expireDate
|
void |
setField1(java.lang.Integer argField1)
Sets field1
|
void |
setField2(java.math.BigDecimal decimal)
Sets field2
|
void |
setField3(java.lang.String string)
Sets field3
|
void |
setHistoryOrderItem(java.util.Vector vector)
Sets a vector of HistoryOrderItem
|
void |
setHistoryShipInfo(java.util.Vector vector)
Sets a vector of HistoryShipInfo
|
void |
setLastUpdate(java.sql.Timestamp timestamp)
Sets last Update timeStamp
|
void |
setLock(java.lang.String string)
Sets lock or not - "0" not locked, "1" locked
|
void |
setMemberId(java.lang.Long argMemberId)
Sets member Id
|
void |
setMerchantOrderId(java.lang.String string)
Sets merchant Order Id
|
void |
setNotificationId(java.lang.Long argNotificationId)
Sets the notificationId
|
void |
setOrder(OrderAccessBean aborder)
Sets the order.
|
void |
setOrderChannelTypeId(java.lang.Long long1)
Sets order Channel Type Id
|
void |
setOrderId(java.lang.Long long1)
Sets organizationId
|
void |
setOrderProcessSystemId(java.lang.Integer integer)
Sets order process system id
|
void |
setOrganizationId(java.lang.Long long1) |
void |
setOtherRecordableObject(XMLRecordable recordablObject)
Sets the customizable object.
|
void |
setPageSize(int i)
This method sets page size.
|
void |
setPlaceOrderTime(java.sql.Timestamp timestamp)
Sets place Order Time
|
void |
setProviderOrderNumber(java.lang.Integer integer)
Sets provider Order Number
|
void |
setPurchaseOrderId(java.lang.Long long1)
Sets buyer purchase order id
|
void |
setSequence(java.lang.Double double1)
Sets sequence
|
void |
setShipAsComplete(java.lang.String string)
Sets shipAsComplete
|
void |
setSourceId(java.lang.Long long1)
Sets source Id of the order
|
void |
setStatus(java.lang.String string)
Sets status of the order
|
void |
setStoreEntityId(java.lang.Integer integer)
Sets store Entity Id
|
void |
setTotalAdjustment(java.math.BigDecimal decimal)
Sets total Adjustment
|
void |
setTotalProductPrice(java.math.BigDecimal decimal)
Set total Product Price
|
void |
setTotalShippingCharge(java.math.BigDecimal decimal)
Sets Total Shipping Charge
|
void |
setTotalShippingTax(java.math.BigDecimal decimal)
Sets Total Shipping Tax
|
void |
setTotalTax(java.math.BigDecimal decimal)
Sets Total Tax
|
void |
setTransferStatus(java.lang.Short argTransferStatus)
Sets TransferStatus
|
void |
setType(java.lang.String string)
Set type
|
void |
setVecHistoryCalculationAdjustment(java.util.Vector vectorHistoryCalculationAdjustment)
Sets vector HistoryCalculationAdjustment
|
void |
setVecHistoryOrderBlock(java.util.Vector argVecHistoryOrderBlock) |
void |
setVecHistoryOrderItem(java.util.Vector vectorHistoryOrderItem)
Sets vector HistoryOrderItem
|
void |
setVecHistoryPaymentInformation(java.util.Vector vectorHistoryPaymentInformation)
Sets vector HistoryPaymentInformation
|
void |
setVecHistoryShipInfo(java.util.Vector vectorHistoryShipInfo)
Sets vector HistoryShipInfo
|
XMLRecordable |
toFields(org.w3c.dom.Node xmlNode)
Transforms an XML node into a real Object's field
|
XMLRecordable |
toObject(org.w3c.dom.Node xmlNode)
Transforms an XML node into a real Object.
|
java.lang.String |
toXML()
Converts this object into an XML format representation.
|
public static final java.lang.String COPYRIGHT
public java.lang.Long getAddressId()
public java.lang.Integer getBuschnId()
public java.lang.String getComment()
public java.lang.String getCurrency()
public java.lang.String getDescription()
public java.lang.Long getEditorId()
public java.sql.Timestamp getExpireDate()
public java.lang.Integer getField1()
public java.math.BigDecimal getField2()
public java.lang.String getField3()
public java.lang.Short getBlocked()
public java.sql.Timestamp getLastUpdate()
public java.lang.String getLock()
public java.lang.Short getTransferStatus()
public java.lang.Long getMemberId()
public java.lang.String getMerchantOrderId()
public java.lang.Long getOrderChannelTypeId()
public java.lang.Long getOrderId()
public java.lang.Long getOrganizationId()
public java.sql.Timestamp getPlaceOrderTime()
public java.lang.Integer getProviderOrderNumber()
public java.lang.Double getSequence()
public java.lang.String getShipAsComplete()
public java.lang.Long getSourceId()
public java.lang.String getStatus()
public java.lang.Integer getStoreEntityId()
public java.math.BigDecimal getTotalAdjustment()
public java.math.BigDecimal getTotalProductPrice()
public java.math.BigDecimal getTotalShippingCharge()
public java.math.BigDecimal getTotalShippingTax()
public java.math.BigDecimal getTotalTax()
public java.lang.String getType()
public void setAddressId(java.lang.Long long1)
long1
- addressIdpublic void setBuschnId(java.lang.Integer integer)
integer
- business channel Idpublic void setComment(java.lang.String string)
string
- commentpublic void setCurrency(java.lang.String string)
string
- currency - USD, CAD, CHY
and so forth.public void setDescription(java.lang.String string)
string
- descriptionpublic void setEditorId(java.lang.Long argEditorId)
argEditorId
- editorIdpublic void setExpireDate(java.sql.Timestamp timestamp)
timestamp
- expireDatepublic void setField1(java.lang.Integer argField1)
argField1
- public void setField2(java.math.BigDecimal decimal)
decimal
- field2public void setField3(java.lang.String string)
string
- field3public void setHistoryOrderItem(java.util.Vector vector)
vector
- HistoryOrderItempublic void setHistoryShipInfo(java.util.Vector vector)
vector
- HistoryShipInfopublic void setBlocked(java.lang.Short short1)
short1
- blockedpublic void setLastUpdate(java.sql.Timestamp timestamp)
timestamp
- lastUpdatepublic void setLock(java.lang.String string)
string
- lockpublic void setMemberId(java.lang.Long argMemberId)
argMemberId
- public void setMerchantOrderId(java.lang.String string)
string
- merchantOrderIdpublic void setOrderChannelTypeId(java.lang.Long long1)
long1
- orderChannelTypeIdpublic void setOrderId(java.lang.Long long1)
long1
- organizationIdpublic void setOrganizationId(java.lang.Long long1)
long1
- public void setPlaceOrderTime(java.sql.Timestamp timestamp)
timestamp
- placeOrderTimepublic void setProviderOrderNumber(java.lang.Integer integer)
integer
- provider Order Numberpublic void setSequence(java.lang.Double double1)
double1
- sequencepublic void setShipAsComplete(java.lang.String string)
string
- shipAsCompletepublic void setSourceId(java.lang.Long long1)
long1
- sourceIdpublic void setStatus(java.lang.String string)
string
- statuspublic void setStoreEntityId(java.lang.Integer integer)
integer
- storeEntityIdpublic void setTotalAdjustment(java.math.BigDecimal decimal)
decimal
- totalAdjustmentpublic void setTotalProductPrice(java.math.BigDecimal decimal)
decimal
- totalProductPricepublic void setTotalShippingCharge(java.math.BigDecimal decimal)
decimal
- totalShippingChargepublic void setTotalShippingTax(java.math.BigDecimal decimal)
decimal
- totalShippingTaxpublic void setTotalTax(java.math.BigDecimal decimal)
decimal
- totalTaxpublic void setType(java.lang.String string)
string
- typepublic XMLRecordable toObject(org.w3c.dom.Node xmlNode)
toObject
in interface XMLRecordable
xmlNode
- the XML string to be converted to an object.XMLRecordable.toObject(org.w3c.dom.Node)
public XMLRecordable toFields(org.w3c.dom.Node xmlNode)
toFields
in interface XMLRecordable
xmlNode
- the XML node contains the fields to be converted.XMLRecordable.toFields(org.w3c.dom.Node)
public java.lang.String toXML()
toXML
in interface XMLRecordable
XMLRecordable.toXML()
public java.lang.String fieldsToXML()
fieldsToXML
in interface XMLRecordable
XMLRecordable.fieldsToXML()
public java.lang.Long getNotificationId()
public void setNotificationId(java.lang.Long argNotificationId)
argNotificationId
- public java.util.Vector getVecHistoryCalculationAdjustment()
public java.util.Vector getVecHistoryOrderItem()
public java.util.Vector getVecHistoryPaymentInformation()
public java.util.Vector getVecHistoryShipInfo()
public void setVecHistoryCalculationAdjustment(java.util.Vector vectorHistoryCalculationAdjustment)
vectorHistoryCalculationAdjustment
- public void setVecHistoryOrderItem(java.util.Vector vectorHistoryOrderItem)
vectorHistoryOrderItem
- public void setVecHistoryPaymentInformation(java.util.Vector vectorHistoryPaymentInformation)
vectorHistoryPaymentInformation
- public void setVecHistoryShipInfo(java.util.Vector vectorHistoryShipInfo)
vectorHistoryShipInfo
- public void setOrder(OrderAccessBean aborder) throws ECException
aborder
- ECException
public void setOtherRecordableObject(XMLRecordable recordablObject)
recordablObject
- public CommandContext getCommandContext()
public void setCommandContext(CommandContext context)
context
- public void setTransferStatus(java.lang.Short argTransferStatus)
argTransferStatus
- public XMLRecordable getOtherRecordableObject()
public java.lang.Integer getOrderProcessSystemId()
public java.lang.Long getPurchaseOrderId()
public void setOrderProcessSystemId(java.lang.Integer integer)
integer
- orderProcessSystemIdpublic void setPurchaseOrderId(java.lang.Long long1)
long1
- purchaseOrderIdpublic java.util.Vector getVecHistoryOrderBlock()
public void setVecHistoryOrderBlock(java.util.Vector argVecHistoryOrderBlock)
argVecHistoryOrderBlock
- The vecHistoryOrderBlock to set.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 HistoryOrderItem[] getHistoryOrderItemsByPageNumber(int pageNum) throws java.lang.Exception
pageNum
- the page number.java.lang.Exception
- It is thrown when an error occurs.public HistoryOrderItem[] getHistoryOrderItemsInCurrentPage() throws java.lang.Exception
java.lang.Exception
- It is thrown when an error occurs.public HistoryOrderItem[] getHistoryOrderItems(int startIndex, int endIndex) throws java.lang.Exception
startIndex
- the start index from 0.endIndex
- the end index.java.lang.Exception
- It is thrown when an error occurs.