com.ibm.commerce.ordermanagement.beans

Class ReturnedProductsListDataBean

  • All Implemented Interfaces:
    DataBean, InputDataBean, SmartDataBean, com.ibm.commerce.ordermanagement.beans.ReturnedProductsInputListDataBean, com.ibm.commerce.ordermanagement.beans.ReturnedProductsSmartListDataBean, Delegator, java.io.Serializable


    public class ReturnedProductsListDataBean
    extends com.ibm.commerce.ordermanagement.beansrc.ReturnedProductsListListDataBeanBase
    implements com.ibm.commerce.ordermanagement.beans.ReturnedProductsInputListDataBean, com.ibm.commerce.ordermanagement.beans.ReturnedProductsSmartListDataBean
    This databean is used to get a list of ReturnedProductsDataBean.
    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        The IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ReturnedProductsListDataBean

        public ReturnedProductsListDataBean()
    • Method Detail

      • getDataBeanKeyLanguageId

        public java.lang.String getDataBeanKeyLanguageId()
        This method returns LanguageId.
        Specified by:
        getDataBeanKeyLanguageId in interface com.ibm.commerce.ordermanagement.beans.ReturnedProductsSmartListDataBean
        Returns:
        java.lang.String
      • getReturnedProductsList

        public ReturnedProductsDataBean[] getReturnedProductsList()
        This method returns ReturnedProductsDataBean array.
        Specified by:
        getReturnedProductsList in interface com.ibm.commerce.ordermanagement.beans.ReturnedProductsSmartListDataBean
        Returns:
        ReturnedProductsDataBean[]
      • getDataBeanKeyRmaId

        public java.lang.String getDataBeanKeyRmaId()
        This method returns RmaId.
        Specified by:
        getDataBeanKeyRmaId in interface com.ibm.commerce.ordermanagement.beans.ReturnedProductsSmartListDataBean
        Returns:
        java.lang.String
      • setDataBeanKeyLanguageId

        public void setDataBeanKeyLanguageId(java.lang.String aLanguageId)
        This method sets LanguageId.
        Specified by:
        setDataBeanKeyLanguageId in interface com.ibm.commerce.ordermanagement.beans.ReturnedProductsInputListDataBean
        Parameters:
        aLanguageId - java.lang.String
      • setReturnedProductsList

        public void setReturnedProductsList(ReturnedProductsDataBean[] aListDataBean)
        This method sets ReturnedProductsDataBean array.
        Specified by:
        setReturnedProductsList in interface com.ibm.commerce.ordermanagement.beans.ReturnedProductsInputListDataBean
        Parameters:
        aListDataBean - ReturnedProductsDataBean[]
      • setDataBeanKeyRmaId

        public void setDataBeanKeyRmaId(java.lang.String aRmaId)
        This method sets RmaId.
        Specified by:
        setDataBeanKeyRmaId in interface com.ibm.commerce.ordermanagement.beans.ReturnedProductsInputListDataBean
        Parameters:
        aRmaId - java.lang.String
      • populate

        public void populate()
                      throws java.lang.Exception
        This method is used to populate the ReturnedProductsListDataBean. You must set the following parameters before running the populate() method.
      • LanguageId
      • RmaId
Specified by:
populate in interface SmartDataBean
Overrides:
populate in class SmartDataBeanImpl
Throws:
java.lang.Exception
See Also:
setDataBeanKeyLanguageId(String), setDataBeanKeyRmaId(String)
  • getCurrentPage

    public int getCurrentPage()
    This method returns current page number.
    Returns:
    int
  • getPageSize

    public int getPageSize()
    This method returns page size.
    Returns:
    int
  • setCurrentPage

    public void setCurrentPage(int i)
    This method sets current page number.
    Parameters:
    i -
  • setPageSize

    public void setPageSize(int i)
    This method sets page size.
    Parameters:
    i -
  • getTotalPages

    public int getTotalPages()
    This method returns total page number.
    Returns:
    int
  • getTotalSize

    public int getTotalSize()
    This method returns total ReturnedProducts' number.
    Returns:
    int
  • getReturnedProductsDataBeansByPageNumber

    public ReturnedProductsDataBean[] getReturnedProductsDataBeansByPageNumber(int pageNum)
    This method returns a list of ReturnedProducts databeans by the page number. Note: page number starts from 1
    Parameters:
    pageNum -
    Returns:
    ReturnedProductsDataBean[]
  • getReturnedProductsDataBeansInCurrentPage

    public ReturnedProductsDataBean[] getReturnedProductsDataBeansInCurrentPage()
    This method returns a list of ReturnedProducts databeans in the current page.
    Returns:
    ReturnedProductsDataBean[]