com.ibm.commerce.contract.beans
Class PolicyCommandDataBean

java.lang.Object
  |
  +--com.ibm.commerce.contract.beansrc.PolicyCommandDataBeanBase
        |
        +--com.ibm.commerce.contract.beans.PolicyCommandDataBean

public class PolicyCommandDataBean
extends com.ibm.commerce.contract.beansrc.PolicyCommandDataBeanBase

Gets the policy data from the database.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
           
protected  CommandContext iCommandContext
           
protected  java.lang.String iDataBeanKeyBusinessCmdClass
           
protected  java.lang.String iDataBeanKeyPolicyId
           
protected  TypedProperty iRequestProperties
           
 
Constructor Summary
PolicyCommandDataBean()
           
 
Method Summary
  CommandContext getCommandContext()
          Gets the command context set within this bean.
 java.lang.String getDataBeanKeyBusinessCmdClass()
          Gets the business command class.
 java.lang.String getDataBeanKeyPolicyId()
          Gets the policy ID.
  TypedProperty getRequestProperties()
          Gets the request property set within this bean.
 void populate()
          Retrieves data from the database.
 void setCommandContext( CommandContext aCommandContext)
          Sets the command context within this bean.
 void setDataBeanKeyBusinessCmdClass(java.lang.String aBusinessCmdClass)
          Sets the business command class.
 void setDataBeanKeyPolicyId(java.lang.String aPolicyId)
          Sets the policy 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

iDataBeanKeyBusinessCmdClass

protected java.lang.String iDataBeanKeyBusinessCmdClass

iDataBeanKeyPolicyId

protected java.lang.String iDataBeanKeyPolicyId
Constructor Detail

PolicyCommandDataBean

public PolicyCommandDataBean()
Method Detail

getRequestProperties

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

getDataBeanKeyBusinessCmdClass

public java.lang.String getDataBeanKeyBusinessCmdClass()
Gets the business command class.
Returns:
The business command class.

getDataBeanKeyPolicyId

public java.lang.String getDataBeanKeyPolicyId()
Gets the policy ID.
Returns:
The policy ID.

getCommandContext

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

setCommandContext

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

setDataBeanKeyBusinessCmdClass

public void setDataBeanKeyBusinessCmdClass(java.lang.String aBusinessCmdClass)
Sets the business command class.
Parameters:
aBusinessCmdClass - The business command class.

setDataBeanKeyPolicyId

public void setDataBeanKeyPolicyId(java.lang.String aPolicyId)
Sets the policy ID.
Parameters:
aPolicyId - The policy ID.

populate

public void populate()
              throws java.lang.Exception
Retrieves data from the database.
Throws:
java.lang.Exception - The java.lang.Exception exception.