public class FileUploadListDataBean
extends com.ibm.commerce.beans.SmartDataBeanImpl
implements com.ibm.commerce.beans.SmartDataBean, com.ibm.commerce.beans.InputDataBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Copyright statement.
|
Constructor and Description |
---|
FileUploadListDataBean() |
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.
|
fulfills, getCommandContext, getHttpRequest, getHttpResponse, getResources, getViewCommandContext, setCommandContext, setHttpRequest, setHttpResponse, setViewCommandContext
getRequestProperties, setRequestProperties
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final java.lang.String COPYRIGHT
public FileUploadDataBean getFileUploadData(int index) throws java.lang.ArrayIndexOutOfBoundsException
index
- the position in the list.java.lang.ArrayIndexOutOfBoundsException
- if the index is less than 0 or greater than the list size.public FileUploadDataBean[] getFileUploadList()
public int getListSize()
public java.lang.String getMaxLength()
public java.util.Hashtable getNLS()
public int getResultSetSize()
public java.lang.String getStartIndex()
public java.lang.String getStoreId()
public void populate() throws java.lang.Exception
populate
in interface com.ibm.commerce.beans.SmartDataBean
populate
in class com.ibm.commerce.beans.SmartDataBeanImpl
java.lang.Exception
- If the fileupload cannot be retrieved successfully.public void setFileUploadList(java.util.Vector newFileUploadList)
newFileUploadList
- the new file upload list.public void setMaxLength(java.lang.String newMaxLength)
newMaxLength
- The maximum length of the list displayedpublic void setNLS(java.util.Hashtable newNLS)
newNLS
- The NLS propertiespublic void setResultSetSize(int newResultSetSize)
newResultSetSize
- The size of the file upload list.public void setStartIndex(java.lang.String newStartIndex)
newStartIndex
- The index for list starting pointpublic void setStoreId(java.lang.String newStoreId)
newStoreId
- the new store id.