public class OrderHistoryListDataBean extends OrderHistoryListDataBeanBase implements OrderHistoryListInputDataBean, OrderHistoryListSmartDataBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The IBM copyright notice field.
|
emptyString
Constructor and Description |
---|
OrderHistoryListDataBean()
This is the default constructor for OrderHistoryListDataBean.
|
OrderHistoryListDataBean(java.lang.Long argOrderId)
This is the constructor for OrderHistoryListDataBean.
|
OrderHistoryListDataBean(java.lang.Long argOrderId,
CommandContext commandContext)
This is the constructor for OrderHistoryListDataBean.
|
Modifier and Type | Method and Description |
---|---|
CommandContext |
getCommandContext()
This method returns the command context.
|
java.lang.String |
getOrderByField()
This method gets the order by field.
|
OrderHistoryDataBean[] |
getOrderHistoryDataBeans(int startIndex,
int endIndex)
This method returns a view of the portion of the list of orderHistories between the specified startIndex, inclusive, and endIndex, exclusive.
|
OrderHistoryDataBean[] |
getOrderHistoryDataBeansByPageNumber()
This method returns a list of OrderHistory databeans by the page number set in currentPage
Note: page number starts from 1
|
OrderHistoryDataBean[] |
getOrderHistoryDataBeansByPageNumber(int page)
This method returns a list of OrderHistory databeans by the page number.
|
OrderHistoryDataBean[] |
getOrderHistorys()
This method returns all the change History data bean of this order.
|
TypedProperty |
getRequestProperties()
This method returns the request properties.
|
int |
getResultSetSize()
This method gets the size of the result set.
|
int |
getSortMethodId()
This method returns the sort method id.
|
void |
populate()
This method is used to populate the OrderHistoryListDataBean.
|
void |
setAscendingSortOrder()
This method sets ascending sort order.
|
void |
setCommandContext(CommandContext argCommandContext)
This method sets the command context.
|
void |
setCurrentPage(int pageNumber)
This method sets the current page number - start from 1.
|
void |
setDescendingSortOrder()
This method sets descending sort order.
|
void |
setMaxRows(int argMaxRows)
This method specifies the maximum number of rows to be returned.
|
void |
setOrderByField(java.lang.String argOrderBy)
This method sets the order by field.
|
void |
setOrderId(java.lang.Long argOrderId)
This method sets the orderId.
|
void |
setPageSize(int aPageSize)
This method specifies the page size for getOrderHistoryDataBeansByPageNumber(int pageNumber).
|
void |
setRequestProperties(TypedProperty argRequestProperties)
This method sets the request properties.
|
void |
setResultSetSize(int newResultSetSize)
This method sets the list size of the orders found.
|
void |
setSortMethodId(int argSortMethodId)
This method sets the sort method id.
|
getDelegate
findByOrderId, fulfills, getEntity, getField1, getField2, getFiled3, getLastUpdate, getOrderId, getOrderVersion, getOrderXML, getOwner, instantiateEntity, setField1, setField2, setFiled3, setInitKey_orderId, setInitKey_orderVersion, setLastUpdate, setOrderXML
public static final java.lang.String COPYRIGHT
public OrderHistoryListDataBean()
public OrderHistoryListDataBean(java.lang.Long argOrderId)
OrderHistoryListDataBean(Long argOrderId, CommandContext commandContext)
instead.argOrderId
- the order id.public OrderHistoryListDataBean(java.lang.Long argOrderId, CommandContext commandContext)
argOrderId
- the order id.commandContext
- the command context.public TypedProperty getRequestProperties()
getRequestProperties
in interface InputDataBean
InputDataBean.getRequestProperties()
public void setRequestProperties(TypedProperty argRequestProperties)
setRequestProperties
in interface InputDataBean
java.lang.Exception
InputDataBean.setRequestProperties(com.ibm.commerce.datatype.TypedProperty)
public OrderHistoryDataBean[] getOrderHistorys()
getOrderHistorys
in interface OrderHistoryListSmartDataBean
OrderHistoryListSmartDataBean.getOrderHistorys()
public CommandContext getCommandContext()
getCommandContext
in interface SmartDataBean
SmartDataBean.getCommandContext()
public void setCommandContext(CommandContext argCommandContext)
setCommandContext
in interface SmartDataBean
argCommandContext
- This is the command context.SmartDataBean.setCommandContext(com.ibm.commerce.command.CommandContext)
public void populate()
populate()
method.populate
in interface SmartDataBean
java.lang.Exception
SmartDataBean.populate()
,
setOrderId(java.lang.Long)
public void setOrderId(java.lang.Long argOrderId)
setOrderId
in interface OrderHistoryListInputDataBean
argOrderId
- OrderHistoryListInputDataBean.setOrderId(java.lang.Long)
public OrderHistoryDataBean[] getOrderHistoryDataBeansByPageNumber(int page)
page
- page number.OrderHistoryDataBean[]
containing the OrderHistory data beans.java.lang.Exception
public OrderHistoryDataBean[] getOrderHistoryDataBeansByPageNumber()
OrderHistoryDataBean[]
containing the OrderHistory data beans.java.lang.Exception
public OrderHistoryDataBean[] getOrderHistoryDataBeans(int startIndex, int endIndex)
startIndex
- start indexendIndex
- end indexOrderHistoryDataBean[]
containing the OrderHistory data beans.java.lang.Exception
public void setPageSize(int aPageSize)
aPageSize
- page size, default is 20.public void setCurrentPage(int pageNumber)
pageNumber
- The page number to set.public void setMaxRows(int argMaxRows)
argMaxRows
- maximum number of rows to be returned.public void setAscendingSortOrder()
public void setDescendingSortOrder()
public int getSortMethodId()
public void setSortMethodId(int argSortMethodId)
argSortMethodId
- The sort method id to set.public void setOrderByField(java.lang.String argOrderBy)
argOrderBy
- the order by field.public java.lang.String getOrderByField()
public int getResultSetSize()
public void setResultSetSize(int newResultSetSize)
newResultSetSize
- The size of the order list.