public class OrderHistoryDataBean extends OrderHistoryDataBeanBase implements OrderHistoryInputDataBean, OrderHistorySmartDataBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
The IBM copyright notice field.
|
Constructor and Description |
---|
OrderHistoryDataBean()
This is the default constructor for OrderHistoryDataBean.
|
OrderHistoryDataBean(OrderHistoryAccessBean argabOrderHistory)
This is the constructor for OrderHistoryDataBean.
|
OrderHistoryDataBean(OrderHistoryAccessBean argabOrderHistory, CommandContext aCommandContext)
This is the constructor for OrderHistoryDataBean.
|
Modifier and Type | Method and Description |
---|---|
CommandContext | getCommandContext()
This method gets the command context for this bean.
|
HistoryOrder | getHistoryOrder()
This method gets the HistoryOrder.
|
java.lang.String | getOrderByField()
This method gets the order by field.
|
OrderCommentDataBean[] | getOrderCommentDataBeans(int startIndex, int endIndex)
This method returns a view of the portion of the list of orderComments between the specified startIndex, inclusive, and endIndex, exclusive.
|
OrderCommentDataBean[] | getOrderCommentDataBeansByPageNumber()
This method returns a list of orderComment databeans by the page number set in currentPage.
|
OrderCommentDataBean[] | getOrderCommentDataBeansByPageNumber(int page)
This method returns a list of orderComment databeans by the page number.
|
OrderCommentDataBean[] | getOrderComments()
This method gets the comments for this order history.
|
TypedProperty | getRequestProperties()
This method gets the request properties.
|
int | getResultSetSize()
This method gets the size of the result set.
|
int | getSortMethodId()
This method returns the inSortMethodId.
|
void | populate()
This method is used to populate the OrderHistoryDataBean.
|
void | setAscendingSortOrder()
This method sets ascending sort order.
|
void | setCommandContext(CommandContext argCommandContext)
This method sets the command context for this bean.
|
void | setCurrentPage(int pageNumber)
This method sets the current page number.
|
void | setDescendingSortOrder()
This method sets ascending sort order.
|
void | setIsOrderCommentFetched(boolean isFetchedAgain)
This method sets the isOrderCommentFetched field for this bean
|
void | setMaxRows(int argMaxRows)
Specify 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.String argOrderId)
This method sets the order history key field for this bean.
|
void | setOrderVersion(java.lang.String argOrderVersion)
This method sets the order history key field for this bean.
|
void | setPageSize(int aPageSize)
This method specifies the page size for getOrderCommentDataBeansByPageNumber(int pageNumber).
|
void | setRequestProperties(TypedProperty param)
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 inSortMethodId.
|
public static final java.lang.String COPYRIGHT
public OrderHistoryDataBean()
public OrderHistoryDataBean(OrderHistoryAccessBean argabOrderHistory) throws java.lang.Exception
public OrderHistoryDataBean(OrderHistoryAccessBean argabOrderHistory, CommandContext aCommandContext) throws java.lang.Exception
public CommandContext getCommandContext()
public void populate() throws java.lang.Exception
public void setCommandContext(CommandContext argCommandContext)
public TypedProperty getRequestProperties()
public void setRequestProperties(TypedProperty param) throws java.lang.Exception
public void setOrderId(java.lang.String argOrderId)
public void setOrderVersion(java.lang.String argOrderVersion)
public void setIsOrderCommentFetched(boolean isFetchedAgain)
public OrderCommentDataBean[] getOrderComments()
public HistoryOrder getHistoryOrder()
public void setPageSize(int aPageSize)
public void setCurrentPage(int pageNumber)
public void setMaxRows(int argMaxRows)
public void setAscendingSortOrder()
public void setDescendingSortOrder()
public int getSortMethodId()
public void setSortMethodId(int argSortMethodId)
public OrderCommentDataBean[] getOrderCommentDataBeansByPageNumber(int page) throws java.lang.Exception
public OrderCommentDataBean[] getOrderCommentDataBeansByPageNumber() throws java.lang.Exception
public OrderCommentDataBean[] getOrderCommentDataBeans(int startIndex, int endIndex) throws java.lang.Exception
public void setOrderByField(java.lang.String argOrderBy)
public java.lang.String getOrderByField()
public int getResultSetSize()
public void setResultSetSize(int newResultSetSize)