com.ibm.commerce.common.beans

Class FileUploadListDataBean

  • java.lang.Object
    • com.ibm.commerce.beans.InputDataBeanImpl
      • com.ibm.commerce.beans.SmartDataBeanImpl
        • com.ibm.commerce.common.beans.FileUploadListDataBean
  • All Implemented Interfaces:
    com.ibm.commerce.beans.DataBean, com.ibm.commerce.beans.InputDataBean, com.ibm.commerce.beans.SmartDataBean, java.io.Serializable


    public class FileUploadListDataBean
    extends com.ibm.commerce.beans.SmartDataBeanImpl
    implements com.ibm.commerce.beans.SmartDataBean, com.ibm.commerce.beans.InputDataBean
    It is a list of file upload data bean.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      Copyright statement.
      • Fields inherited from interface com.ibm.commerce.beans.DataBean

        emptyString
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      FileUploadDataBean getFileUploadData(int index)
      Get the file upload data at a specific position in the list.
      FileUploadDataBean[] getFileUploadList()
      Gets the file upload list.
      int getListSize()
      Gets the size of the file upload list
      java.lang.String getMaxLength()
      Gets the maximum length of the list displayed
      java.util.Hashtable getNLS()
      Gets the NLS properties
      int getResultSetSize()
      Gets the size of the result set.
      java.lang.String getStartIndex()
      Gets the index of the starting point of the list displayed.
      java.lang.String getStoreId()
      Gets the store ID that the uploaded file belong to.
      void populate()
      Populates the databean
      void setFileUploadList(java.util.Vector newFileUploadList)
      Sets the new file upload list.
      void setMaxLength(java.lang.String newMaxLength)
      Sets the maximum length of the list displayed.
      void setNLS(java.util.Hashtable newNLS)
      Sets the NLS properties
      void setResultSetSize(int newResultSetSize)
      Sets the list size of the fileupload found.
      void setStartIndex(java.lang.String newStartIndex)
      Sets the index of the starting point of the list displayed.
      void setStoreId(java.lang.String newStoreId)
      Sets the new store id.
      • Methods inherited from class com.ibm.commerce.beans.SmartDataBeanImpl

        fulfills, getCommandContext, getHttpRequest, getHttpResponse, getResources, getViewCommandContext, setCommandContext, setHttpRequest, setHttpResponse, setViewCommandContext
      • Methods inherited from class com.ibm.commerce.beans.InputDataBeanImpl

        getRequestProperties, setRequestProperties
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.ibm.commerce.beans.SmartDataBean

        getCommandContext, setCommandContext
      • Methods inherited from interface com.ibm.commerce.beans.InputDataBean

        getRequestProperties, setRequestProperties
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        Copyright statement.
        See Also:
        Constant Field Values
    • Constructor Detail

      • FileUploadListDataBean

        public FileUploadListDataBean()
    • Method Detail

      • getFileUploadData

        public FileUploadDataBean getFileUploadData(int index)
                                             throws java.lang.ArrayIndexOutOfBoundsException
        Get the file upload data at a specific position in the list.
        Parameters:
        index - the position in the list.
        Returns:
        the file upload data bean at the position of index.
        Throws:
        java.lang.ArrayIndexOutOfBoundsException - if the index is less than 0 or greater than the list size.
      • getFileUploadList

        public FileUploadDataBean[] getFileUploadList()
        Gets the file upload list.
        Returns:
        the file upload list.
      • getListSize

        public int getListSize()
        Gets the size of the file upload list
        Returns:
        The size of the file upload list
      • getMaxLength

        public java.lang.String getMaxLength()
        Gets the maximum length of the list displayed
        Returns:
        The maximum length of the list displayed
      • getNLS

        public java.util.Hashtable getNLS()
        Gets the NLS properties
        Returns:
        The NLS properties
      • getResultSetSize

        public int getResultSetSize()
        Gets the size of the result set.
        Returns:
        The size of the retrieved file upload list.
      • getStartIndex

        public java.lang.String getStartIndex()
        Gets the index of the starting point of the list displayed.
        Returns:
        The index for list starting point
      • getStoreId

        public java.lang.String getStoreId()
        Gets the store ID that the uploaded file belong to.
        Returns:
        The store ID.
      • populate

        public void populate()
                      throws java.lang.Exception
        Populates the databean
        Specified by:
        populate in interface com.ibm.commerce.beans.SmartDataBean
        Overrides:
        populate in class com.ibm.commerce.beans.SmartDataBeanImpl
        Throws:
        java.lang.Exception - If the fileupload cannot be retrieved successfully.
      • setFileUploadList

        public void setFileUploadList(java.util.Vector newFileUploadList)
        Sets the new file upload list.
        Parameters:
        newFileUploadList - the new file upload list.
      • setMaxLength

        public void setMaxLength(java.lang.String newMaxLength)
        Sets the maximum length of the list displayed.
        Parameters:
        newMaxLength - The maximum length of the list displayed
      • setNLS

        public void setNLS(java.util.Hashtable newNLS)
        Sets the NLS properties
        Parameters:
        newNLS - The NLS properties
      • setResultSetSize

        public void setResultSetSize(int newResultSetSize)
        Sets the list size of the fileupload found.
        Parameters:
        newResultSetSize - The size of the file upload list.
      • setStartIndex

        public void setStartIndex(java.lang.String newStartIndex)
        Sets the index of the starting point of the list displayed.
        Parameters:
        newStartIndex - The index for list starting point
      • setStoreId

        public void setStoreId(java.lang.String newStoreId)
        Sets the new store id.
        Parameters:
        newStoreId - the new store id.