com.ibm.commerce.payment.beans
Class AccountDataBean

java.lang.Object
  |
  +--com.ibm.commerce.payment.beansrc.AccountDataBeanBase
        |
        +--com.ibm.commerce.payment.beans.AccountDataBean

public class AccountDataBean
extends com.ibm.commerce.payment.beansrc.AccountDataBeanBase

IBM internal use only.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          IBM Copyright
protected  CommandContext iCommandContext
          Command context
protected  java.lang.String iDataBeanKeyAccountId
          AccountId
protected  TypedProperty iRequestProperties
          Request properties
 
Constructor Summary
AccountDataBean()
           
 
Method Summary
  CommandContext getCommandContext()
          Gets the command context set within this bean.
 java.lang.String getDataBeanKeyAccountId()
          Returns AccountId
  AttachmentDataBean getDisplayCustomizationTCAttachment()
          Returns the Attachment of this Account's DisplayCustomizationTC.
  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 setDataBeanKeyAccountId(java.lang.String aAccountId)
          Sets AccountId
 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
IBM Copyright
See Also:
Constant Field Values

iCommandContext

protected CommandContext iCommandContext
Command context

iRequestProperties

protected TypedProperty iRequestProperties
Request properties

iDataBeanKeyAccountId

protected java.lang.String iDataBeanKeyAccountId
AccountId
Constructor Detail

AccountDataBean

public AccountDataBean()
Method Detail

getCommandContext

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

getDataBeanKeyAccountId

public java.lang.String getDataBeanKeyAccountId()
Returns AccountId
Returns:
java.lang.String

getDisplayCustomizationTCAttachment

public AttachmentDataBean getDisplayCustomizationTCAttachment()
                                                       throws ECException
Returns the Attachment of this Account's DisplayCustomizationTC.
Returns:
the Attachment, or null if this Account does not have a DisplayCustomizationTC.
Throws:
ECException

getRequestProperties

public TypedProperty getRequestProperties()
Gets the request property set within this bean.
Returns:
com.ibm.commerce.datatype.TypedProperty

populate

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

setCommandContext

public void setCommandContext(CommandContext aCommandContext)
Sets the command context within this bean.
Parameters:
aCommandContext - com.ibm.commerce.command.CommandContext

setDataBeanKeyAccountId

public void setDataBeanKeyAccountId(java.lang.String aAccountId)
Sets AccountId
Parameters:
aAccountId - java.lang.String

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.
Parameters:
aRequestProperty - com.ibm.commerce.datatype.TypedProperty
Throws:
javax.ejb.CreateException
java.rmi.RemoteException
javax.naming.NamingException
javax.ejb.FinderException