com.ibm.commerce.me.beans
Class ProcurementMessageViewDataBean

java.lang.Object
  |
  +--com.ibm.commerce.me.beansrc.ProcurementMessageViewDataBeanBase
        |
        +--com.ibm.commerce.me.beans.ProcurementMessageViewDataBean

public class ProcurementMessageViewDataBean
extends com.ibm.commerce.me.beansrc.ProcurementMessageViewDataBeanBase

This class provides access to PROCMSGVW table. It extends ProcurementMessageViewAccessBean.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          IBM internal copyright field
protected  CommandContext iCommandContext
           
protected  java.lang.String iDataBeanKeyMessageName
           
protected  java.lang.String iDataBeanKeyOrganizationId
           
protected  java.lang.String iDataBeanKeyProtocolId
           
protected  TypedProperty iRequestProperties
           
 
Constructor Summary
ProcurementMessageViewDataBean(java.lang.String aProtocolId, java.lang.String aMessageName, java.lang.String aOrganizationId)
          Databean constructor.
 
Method Summary
  CommandContext getCommandContext()
          Gets the command context set within this bean.
 java.lang.String getDataBeanKeyMessageName()
          Gets the message view name
 java.lang.String getDataBeanKeyOrganizationId()
          Gets the organization id
 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 ProcurementMessageViewAccessBean to retrieve data.
 void setCommandContext( CommandContext aCommandContext)
          Sets the command context within this bean.
 void setDataBeanKeyMessageName(java.lang.String aMessageName)
          Sets the message name
 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
IBM internal copyright field
See Also:
Constant Field Values

iCommandContext

protected CommandContext iCommandContext

iRequestProperties

protected TypedProperty iRequestProperties

iDataBeanKeyProtocolId

protected java.lang.String iDataBeanKeyProtocolId

iDataBeanKeyMessageName

protected java.lang.String iDataBeanKeyMessageName

iDataBeanKeyOrganizationId

protected java.lang.String iDataBeanKeyOrganizationId
Constructor Detail

ProcurementMessageViewDataBean

public ProcurementMessageViewDataBean(java.lang.String aProtocolId,
                                      java.lang.String aMessageName,
                                      java.lang.String aOrganizationId)
Databean constructor. It requires the protocol id, message name and organization id.
Parameters:
aProtocolId - protocol id
aMessageName - message name
aOrganizationId - 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, and WCSMessagename 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

getDataBeanKeyMessageName

public java.lang.String getDataBeanKeyMessageName()
Gets the message view name
Returns:
message view name

getDataBeanKeyOrganizationId

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

getCommandContext

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

setCommandContext

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

setDataBeanKeyProtocolId

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

setDataBeanKeyMessageName

public void setDataBeanKeyMessageName(java.lang.String aMessageName)
Sets the message name
Parameters:
aMessageName - message view name

setDataBeanKeyOrganizationId

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

populate

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