public class AttachmentDataBean extends AttachmentDataBeanBase implements AttachmentInputDataBean, AttachmentSmartDataBean
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
The IBM copyright notice field.
|
| Constructor and Description |
|---|
AttachmentDataBean()
Constructs AttachmentDataBean, initializes fields to null.
|
AttachmentDataBean(com.ibm.commerce.contract.objects.AttachmentAccessBean anAccessBean)
Constructs AttachmentDataBean, initializes from anAccessBean.
|
| Modifier and Type | Method and Description |
|---|---|
com.ibm.commerce.command.CommandContext |
getCommandContext()
Gets the command context set within this data bean.
|
java.lang.String |
getDataBeanKeyAttachmentId()
Gets the attachment ID.
|
com.ibm.commerce.datatype.TypedProperty |
getRequestProperties()
Gets the request property set within this data bean.
|
void |
populate()
This method is used to populate the AttachmentDataBean.
|
void |
setCommandContext(com.ibm.commerce.command.CommandContext aCommandContext)
Sets the command context within this data bean.
|
void |
setDataBeanKeyAttachmentId(java.lang.String aAttachmentId)
Sets the attachment ID.
|
void |
setRequestProperties(com.ibm.commerce.datatype.TypedProperty aRequestProperty)
Sets the request property within this data bean.
|
getDelegatefindByAttachmentURL, findByTrading, findByTradingId, getAttachmentId, getAttachmentIdInEntityType, getAttachmentURL, getCreateMethod, getDescription, getEntity, getFilename, getFilesize, getImage1, getImage2, getMarkforDelete, getMimeType, getMimeTypeEncoding, getOwnerId, getOwnerIdInEntityType, getReserved, getTimeCreated, getTimeCreatedInEntityType, getTimeUpdated, getTimeUpdatedInEntityType, getUsage, instantiateEntity, setAttachmentId, setAttachmentId, setAttachmentURL, setCreateMethod, setDescription, setFilename, setFilesize, setImage1, setImage2, setInitKey_attachmentId, setInitKey_attachmentId, setMarkforDelete, setMimeType, setMimeTypeEncoding, setOwnerId, setOwnerId, setReserved, setTimeCreated, setTimeCreated, setTimeUpdated, setTimeUpdated, setUsagepublic static final java.lang.String COPYRIGHT
public AttachmentDataBean()
public AttachmentDataBean(com.ibm.commerce.contract.objects.AttachmentAccessBean anAccessBean)
anAccessBean - An Attachment access bean.public com.ibm.commerce.command.CommandContext getCommandContext()
getCommandContext in interface com.ibm.commerce.beans.SmartDataBeanpublic java.lang.String getDataBeanKeyAttachmentId()
getDataBeanKeyAttachmentId in interface AttachmentSmartDataBeanpublic com.ibm.commerce.datatype.TypedProperty getRequestProperties()
getRequestProperties in interface com.ibm.commerce.beans.InputDataBeanpublic void populate()
DataBeanManager.activate() runs.populate in interface com.ibm.commerce.beans.SmartDataBeanjava.lang.Exception - The java.lang.Exception exception.public void setCommandContext(com.ibm.commerce.command.CommandContext aCommandContext)
setCommandContext in interface com.ibm.commerce.beans.SmartDataBeanaCommandContext - The command context set within this data bean.public void setDataBeanKeyAttachmentId(java.lang.String aAttachmentId)
setDataBeanKeyAttachmentId in interface AttachmentInputDataBeanaAttachmentId - The attachment ID.public void setRequestProperties(com.ibm.commerce.datatype.TypedProperty aRequestProperty)
setRequestProperties in interface com.ibm.commerce.beans.InputDataBeanaRequestProperty - The request property set within this data bean.