com.ibm.commerce.me.beans
Class ProcurementBuyerProfileDataBean

java.lang.Object
  |
  +--com.ibm.commerce.me.beansrc.ProcurementBuyerProfileDataBeanBase
        |
        +--com.ibm.commerce.me.beans.ProcurementBuyerProfileDataBean

public class ProcurementBuyerProfileDataBean
extends com.ibm.commerce.me.beansrc.ProcurementBuyerProfileDataBeanBase

This class provides access to PROCBUYPRF table. It extends ProcurementBuyerProfileAccessBean.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
           
protected  CommandContext iCommandContext
           
protected  java.lang.String iDataBeanKeyOrganizationId
           
protected  java.lang.String iDataBeanKeyProtocolId
           
protected  TypedProperty iRequestProperties
           
 
Constructor Summary
ProcurementBuyerProfileDataBean(java.lang.String aProtocolId, java.lang.String aOrganizationId)
          Databean constructor.
 
Method Summary
  CommandContext getCommandContext()
          Gets the command context set within this bean.
 java.lang.String getDataBeanKeyOrganizationId()
          Returns the organization id
 java.lang.String getDataBeanKeyProtocolId()
          Retruns the protocol id
  TypedProperty getRequestProperties()
          Gets the request property set within this bean.
 void populate()
          Retrieves data from the database, this class calls the parent class ProcurementBuyerProfileAccessBean to retrieve data.
 void setCommandContext( CommandContext aCommandContext)
          Sets the command context within this bean.
 void setDataBeanKeyOrganizationId(java.lang.String aOrganizationId)
          Sets the organization id
 void setDataBeanKeyProtocolId(java.lang.String aProtocolId)
          Sets the protocol 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

iDataBeanKeyProtocolId

protected java.lang.String iDataBeanKeyProtocolId

iDataBeanKeyOrganizationId

protected java.lang.String iDataBeanKeyOrganizationId
Constructor Detail

ProcurementBuyerProfileDataBean

public ProcurementBuyerProfileDataBean(java.lang.String aProtocolId,
                                       java.lang.String aOrganizationId)
Databean constructor. It requires the protocol id and the buyer organization id
Parameters:
aProtocolId - protocol id
aOrganizationId - buyer organization id
Method Detail

getRequestProperties

public TypedProperty getRequestProperties()
Gets the request property set within this bean.
Returns:
request property for this data 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. It retrievies the NVP for WCSProtocolId, WCSOrganizationId from the TypedProperty
Returns:
void
Throws:
javax.ejb.CreateException
java.rmi.RemoteException
javax.naming.NamingException
javax.ejb.FinderException

getDataBeanKeyProtocolId

public java.lang.String getDataBeanKeyProtocolId()
Retruns the protocol id
Returns:
protocol id

getDataBeanKeyOrganizationId

public java.lang.String getDataBeanKeyOrganizationId()
Returns the organization id
Returns:
buyer organization id

getCommandContext

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

setCommandContext

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

setDataBeanKeyProtocolId

public void setDataBeanKeyProtocolId(java.lang.String aProtocolId)
Sets the protocol id
Parameters:
aProtocolId - protocol id

setDataBeanKeyOrganizationId

public void setDataBeanKeyOrganizationId(java.lang.String aOrganizationId)
Sets the organization id
Parameters:
aOrganizationId - buyer organization id

populate

public void populate()
              throws java.lang.Exception
Retrieves data from the database, this class calls the parent class ProcurementBuyerProfileAccessBean to retrieve data.
Throws:
java.lang.Exception - is caught when the access bean raised any ejb exceptions.