com.ibm.commerce.me.beans
Class BuyerSupplierSecurityDataBean

java.lang.Object
  |
  +--com.ibm.commerce.me.beansrc.BuyerSupplierSecurityDataBeanBase
        |
        +--com.ibm.commerce.me.beans.BuyerSupplierSecurityDataBean

public class BuyerSupplierSecurityDataBean
extends com.ibm.commerce.me.beansrc.BuyerSupplierSecurityDataBeanBase

This class provides access to BUYSUPSEC table. It extends BuyerSuplierSecurityAccessBean.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          IBM internal copyright field
protected  CommandContext iCommandContext
           
protected  java.lang.String iDataBeanKeyIBuyerOrganizationId
           
protected  java.lang.String iDataBeanKeyISupplierOrganizationId
           
protected  TypedProperty iRequestProperties
           
 
Constructor Summary
BuyerSupplierSecurityDataBean(java.lang.String aISupplierOrganizationId, java.lang.String aIBuyerOrganizationId)
          BuyerSupplierSecurityDatabean constructor.
 
Method Summary
  CommandContext getCommandContext()
          Gets the command context set within this bean.
 java.lang.String getDataBeanKeyIBuyerOrganizationId()
          Returns the buyer organization id
 java.lang.String getDataBeanKeyISupplierOrganizationId()
          Returns the supplier organization id
  TypedProperty getRequestProperties()
          Gets the request property set within this bean.
 void populate()
          Retrieves data from the database, this class calls the parent class BuyerSupplierSecurityAccessBean to retrieve data.
 void setCommandContext( CommandContext aCommandContext)
          Sets the command context within this bean.
 void setDataBeanKeyIBuyerOrganizationId(java.lang.String aIBuyerOrganizationId)
          Sets the buyer organization id to be used during data population
 void setDataBeanKeyISupplierOrganizationId(java.lang.String aISupplierOrganizationId)
          Sets the supplier organization id to be used during data population
 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 internal copyright field
See Also:
Constant Field Values

iCommandContext

protected CommandContext iCommandContext

iRequestProperties

protected TypedProperty iRequestProperties

iDataBeanKeyISupplierOrganizationId

protected java.lang.String iDataBeanKeyISupplierOrganizationId

iDataBeanKeyIBuyerOrganizationId

protected java.lang.String iDataBeanKeyIBuyerOrganizationId
Constructor Detail

BuyerSupplierSecurityDataBean

public BuyerSupplierSecurityDataBean(java.lang.String aISupplierOrganizationId,
                                     java.lang.String aIBuyerOrganizationId)
BuyerSupplierSecurityDatabean constructor. It uses the buyer and supplier organization id to identify an entry in the db.
Parameters:
aISupplierOrganizationId - supplier organization id
aIBuyerOrganizationId - buyer organization id
Method Detail

getRequestProperties

public TypedProperty getRequestProperties()
Gets the request property set within this bean.
Returns:
the 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 WCSSupplierOrganizationId, WCSBuyerOrganizationId from the TypedProperty
Throws:
javax.ejb.CreateException
java.rmi.RemoteException
javax.naming.NamingException
javax.ejb.FinderException

getDataBeanKeyISupplierOrganizationId

public java.lang.String getDataBeanKeyISupplierOrganizationId()
Returns the supplier organization id
Returns:
supplier organization id

getDataBeanKeyIBuyerOrganizationId

public java.lang.String getDataBeanKeyIBuyerOrganizationId()
Returns the buyer 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 for this bean

setDataBeanKeyISupplierOrganizationId

public void setDataBeanKeyISupplierOrganizationId(java.lang.String aISupplierOrganizationId)
Sets the supplier organization id to be used during data population
Parameters:
aISupplierOrganizationId - supplier organization id

setDataBeanKeyIBuyerOrganizationId

public void setDataBeanKeyIBuyerOrganizationId(java.lang.String aIBuyerOrganizationId)
Sets the buyer organization id to be used during data population
Parameters:
aIBuyerOrganizationId - buyer organization

populate

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