com.ibm.commerce.contract.beans
Class AttachmentDataBean

java.lang.Object
  |
  +--com.ibm.commerce.contract.beansrc.AttachmentDataBeanBase
        |
        +--com.ibm.commerce.contract.beans.AttachmentDataBean

public class AttachmentDataBean
extends com.ibm.commerce.contract.beansrc.AttachmentDataBeanBase

Gets the attachment data from the database.

See Also:
Serialized Form

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
See Also:
Constant Field Values

iCommandContext

protected CommandContext iCommandContext

iRequestProperties

protected TypedProperty iRequestProperties

iDataBeanKeyAttachmentId

protected java.lang.String iDataBeanKeyAttachmentId
Constructor Detail

AttachmentDataBean

public AttachmentDataBean()
Constructs AttachmentDataBean, initializes fields to null.

AttachmentDataBean

public AttachmentDataBean(AttachmentAccessBean anAccessBean)
                   throws java.lang.Exception
Constructs AttachmentDataBean, initializes EJBRef to incoming anAccessBean.getEJBRef().
Parameters:
anAccessBean - An Attachment access bean.
Throws:
java.lang.Exception - The java.lang.Exception exception.
Method Detail

getRequestProperties

public TypedProperty getRequestProperties()
Gets the request property set within this bean.
Returns:
The request property set within this bean.

setRequestProperties

public void setRequestProperties(TypedProperty aRequestProperty)
                          throws javax.ejb.CreateException,
                                 java.rmi.RemoteException,
                                 javax.naming.NamingException,
                                 javax.ejb.FinderException
Sets the request property within this bean.
Throws:
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.

getDataBeanKeyAttachmentId

public java.lang.String getDataBeanKeyAttachmentId()
Gets the attachment ID.
Returns:
The attachment ID.

getCommandContext

public CommandContext getCommandContext()
Gets the command context set within this bean.
Returns:
The command context set within this bean.

setCommandContext

public void setCommandContext(CommandContext aCommandContext)
Sets the command context within this bean.
Parameters:
aCommandContext - The command context set within this bean.

setDataBeanKeyAttachmentId

public void setDataBeanKeyAttachmentId(java.lang.String aAttachmentId)
Sets the attachment ID.
Parameters:
aAttachmentId - The attachment ID.

populate

public void populate()
              throws java.lang.Exception
Retrieves data from the database.
Throws:
java.lang.Exception - The java.lang.Exception exception.