com.ibm.commerce.me.beans
Class ProcurementSystemDataBean

java.lang.Object
  |
  +--com.ibm.commerce.me.beansrc.ProcurementSystemDataBeanBase
        |
        +--com.ibm.commerce.me.beans.ProcurementSystemDataBean

public class ProcurementSystemDataBean
extends com.ibm.commerce.me.beansrc.ProcurementSystemDataBeanBase

This class provides access to PROCSYS table. It extends ProcurementSystemAccessBean.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          IBM internal Copyright field
protected  CommandContext iCommandContext
           
protected  java.lang.String iDataBeanKeyProcurementSystemName
           
protected  TypedProperty iRequestProperties
           
 
Constructor Summary
ProcurementSystemDataBean(java.lang.String aProcurementSystemName)
          Databean constructor.
 
Method Summary
  CommandContext getCommandContext()
          Gets the command context set within this bean.
 java.lang.String getDataBeanKeyProcurementSystemName()
          Gets the procurement system name
  TypedProperty getRequestProperties()
          Gets the request property set within this bean.
 void populate()
          Retrieves data from the database, this class calls the parent class ProcurementSystemAccessBean to retrieve data.
 void setCommandContext( CommandContext aCommandContext)
          Sets the command context within this bean.
 void setDataBeanKeyProcurementSystemName(java.lang.String aProcurementSystemName)
          Sets the procurement system name which is used as a key to retrieve from the table
 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

iDataBeanKeyProcurementSystemName

protected java.lang.String iDataBeanKeyProcurementSystemName
Constructor Detail

ProcurementSystemDataBean

public ProcurementSystemDataBean(java.lang.String aProcurementSystemName)
Databean constructor. It requires the procurement system name.
Parameters:
aProcurementSystemName - procurement system name
Method Detail

getRequestProperties

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

getDataBeanKeyProcurementSystemName

public java.lang.String getDataBeanKeyProcurementSystemName()
Gets the procurement system name
Returns:
procurement system name

getCommandContext

public CommandContext getCommandContext()
Gets the command context set within this bean.
Returns:
command context for 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

setDataBeanKeyProcurementSystemName

public void setDataBeanKeyProcurementSystemName(java.lang.String aProcurementSystemName)
Sets the procurement system name which is used as a key to retrieve from the table
Parameters:
aProcurementSystemName - procurement system name

populate

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