com.ibm.commerce.me.beans
Class ProcurementProtocolDataBean

java.lang.Object
  com.ibm.commerce.me.beansrc.ProcurementProtocolDataBeanBase
      com.ibm.commerce.me.beans.ProcurementProtocolDataBean

public class ProcurementProtocolDataBean
extends com.ibm.commerce.me.beansrc.ProcurementProtocolDataBeanBase

This class provides access to PROCPROTCL table. It extends ProcurementProtocolAccessBean.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
IBM internal copyright field
protected CommandContext iCommandContext
protected java.lang.String iDataBeanKeyProtocolId
protected TypedProperty iRequestProperties
Constructor Summary
ProcurementProtocolDataBean(java.lang.String aProtocolId)
Databean constructor.
Method Summary
CommandContext getCommandContext()
Gets the command context set within this bean.
java.lang.String getDataBeanKeyProtocolId()
Gets 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 ProcurementProtocolAccessBean to retrieve data.
void setCommandContext(CommandContext aCommandContext)
Sets the command context within this bean.
void setDataBeanKeyProtocolId(java.lang.String aProtocolId)
Sets the protocl 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

COPYRIGHT

public static final java.lang.String COPYRIGHT
IBM internal copyright field
See Also:
Constant Field Values

iCommandContext

protected CommandContext iCommandContext

iRequestProperties

protected TypedProperty iRequestProperties

iDataBeanKeyProtocolId

protected java.lang.String iDataBeanKeyProtocolId
Constructor Detail

ProcurementProtocolDataBean

public ProcurementProtocolDataBean(java.lang.String aProtocolId)
Databean constructor. It requires the protocol id.
Parameters:
aProtocolId - protocol id
Method Detail

getRequestProperties

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

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 from the TypedProperty
Throws:
javax.ejb.CreateException
java.rmi.RemoteException
javax.naming.NamingException
javax.ejb.FinderException

getDataBeanKeyProtocolId

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

getCommandContext

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

setCommandContext

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

setDataBeanKeyProtocolId

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

populate

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

Feedback