java.lang.Object | +--com.ibm.commerce.contract.beansrc.AttachmentDataBeanBase | +--com.ibm.commerce.contract.beans.AttachmentDataBean
Gets the attachment data from the database.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT |
protected
CommandContext |
iCommandContext |
protected
java.lang.String |
iDataBeanKeyAttachmentId |
protected
TypedProperty |
iRequestProperties |
Constructor Summary | |
---|---|
AttachmentDataBean() Constructs AttachmentDataBean, initializes fields to null. | |
AttachmentDataBean(
AttachmentAccessBean anAccessBean) Constructs AttachmentDataBean, initializes EJBRef to incoming anAccessBean.getEJBRef(). |
Method Summary | |
---|---|
CommandContext |
getCommandContext() Gets the command context set within this bean. |
java.lang.String |
getDataBeanKeyAttachmentId() Gets the attachment ID. |
TypedProperty |
getRequestProperties() Gets the request property set within this bean. |
void |
populate() Retrieves data from the database. |
void |
setCommandContext(
CommandContext aCommandContext) Sets the command context within this bean. |
void |
setDataBeanKeyAttachmentId(java.lang.String aAttachmentId) Sets the attachment ID. |
void |
setRequestProperties(
TypedProperty aRequestProperty) Sets the request property within this bean. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
protected CommandContext iCommandContext
protected TypedProperty iRequestProperties
protected java.lang.String iDataBeanKeyAttachmentId
Constructor Detail |
---|
public AttachmentDataBean()
public AttachmentDataBean(AttachmentAccessBean anAccessBean) throws java.lang.Exception
anAccessBean
- An Attachment access bean.java.lang.Exception
- The java.lang.Exception
exception.Method Detail |
---|
public TypedProperty getRequestProperties()
public void setRequestProperties(TypedProperty aRequestProperty) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException, javax.ejb.FinderException
javax.ejb.CreateException
- The javax.ejb.CreateException
exception.java.rmi.RemoteException
- The java.rmi.RemoteException
exception.javax.naming.NamingException
- The
javax.naming.NamingException exception.javax.ejb.FinderException
- The javax.ejb.FinderException
exception.public java.lang.String getDataBeanKeyAttachmentId()
public CommandContext getCommandContext()
public void setCommandContext(CommandContext aCommandContext)
aCommandContext
- The command context set within this
bean.public void setDataBeanKeyAttachmentId(java.lang.String aAttachmentId)
aAttachmentId
- The attachment ID.public void populate() throws java.lang.Exception
java.lang.Exception
- The java.lang.Exception
exception.