com.ibm.commerce.command
Class DataBeanCommandImpl

com.ibm.commerce.command.AbstractECTargetableCommand
  |
  +--com.ibm.commerce.command.DataBeanCommandImpl
All Implemented Interfaces:
DataBeanCommand, ECCommand, ECTargetableCommand
Direct Known Subclasses:
ControlRuleListBeanCmdImpl, OpenCryBidControlRuleBeanCmdImpl, SealedBidControlRuleBeanCmdImpl

public abstract class DataBeanCommandImpl
extends AbstractECTargetableCommand
implements DataBeanCommand

This class defines the base behavior for all DataBean commands


Field Summary
protected  DataBean dataBean
           
static java.lang.String emptyString
           
static java.lang.String EURO_CODE
           
protected  TypedProperty requestProperties
           
 
Fields inherited from class com.ibm.commerce.command.AbstractECTargetableCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.command.DataBeanCommand
COPYRIGHT
 
Fields inherited from interface com.ibm.commerce.command.ECCommand
defaultCommandClassName
 
Fields inherited from interface com.ibm.commerce.command.ECTargetableCommand
COPYRIGHT
 
Constructor Summary
DataBeanCommandImpl()
           
 
Method Summary
protected static java.lang.String convertToString(java.lang.Object obj)
          Return a string representation of the object.
 DataBean getDataBean()
          Gets the data bean associated with this data bean command
 void populateDataBeanCommand(InputDataBean aDataBean)
          This method populates the input data bean.
 void setDataBean(DataBean newDataBean)
          Sets the data bean associated with this command.
 void setRequestProperties(TypedProperty val)
          Sets request properties associated with this command.
 
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, performExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 

Field Detail

dataBean

protected DataBean dataBean

emptyString

public static final java.lang.String emptyString

EURO_CODE

public static final java.lang.String EURO_CODE

requestProperties

protected TypedProperty requestProperties
Constructor Detail

DataBeanCommandImpl

public DataBeanCommandImpl()
Method Detail

convertToString

protected static java.lang.String convertToString(java.lang.Object obj)
Return a string representation of the object. Return an empty string if object is null.
Parameters:
obj - java.lang.Object
Returns:
java.lang.String

getDataBean

public final DataBean getDataBean()
Gets the data bean associated with this data bean command
Specified by:
getDataBean in interface DataBeanCommand
Returns:
com.ibm.commerce.beans.DataBean

populateDataBeanCommand

public void populateDataBeanCommand(InputDataBean aDataBean)
This method populates the input data bean.
Parameters:
InputDataBean - - the data bean object to be populated.

setDataBean

public final void setDataBean(DataBean newDataBean)
Sets the data bean associated with this command.
Specified by:
setDataBean in interface DataBeanCommand
Parameters:
newDataBean - com.ibm.commerce.beans.DataBean

setRequestProperties

public void setRequestProperties(TypedProperty val)
Sets request properties associated with this command.
Specified by:
setRequestProperties in interface DataBeanCommand
Parameters:
val - TypedProperties