public class OpenCryBidControlRuleBeanCmdImpl extends DataBeanCommandImpl implements OpenCryBidControlRuleBeanCmd
Modifier and Type | Field and Description |
---|---|
protected java.lang.Long | bidControlRuleId
Instance variable to store the bid control rule ID.
|
protected ControlRuleAccessBean | controlRuleAccessBean
Instance variable to store the rule access bean.
|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
OpenCryBidControlRuleBeanCmdImpl()
Creates an instance of the command, default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected static void | copy(DataBeanCommandImpl cmd, ControlRuleAccessBean rule, OpenCryBidControlRuleDataBean ruleBean)
Populates a rule bean.
|
protected static void | copyBidRuleFields(DataBeanCommand cmd, ControlRuleAccessBean rule, OpenCryBidControlRuleDataBean ruleBean)
Populates an OpenCryControlRuleDataBean from an access bean and a DataBeanCommand.
|
ControlRuleAccessBean | getBidControlRule()
Returns the control rule access bean.
|
java.lang.Long | getBidControlRuleId()
Returns the bid control rule ID.
|
boolean | isReadyToCallExecute()
This method is called by the targetable command framework.
|
void | performExecute()
Looks-up a specific open cry bid control rule, and populates the data bean with its contents.
|
boolean | performSecurityCheck() |
void | populateDataBeanCommand(InputDataBean aDataBean)
Obtains the rule ID from the input data bean.
|
void | reset()
Resets the class; current implementation does nothing.
|
void | setBidRuleControl(ControlRuleAccessBean aRule)
Sets the control rule access bean.
|
void | setBidRuleControlId(java.lang.Long Id)
Sets the control rule ID.
|
void | setRequestProperties(TypedProperty properties)
Obtains command parameters from TypedProperty; current implementation does nothing.
|
public static final java.lang.String COPYRIGHT
protected java.lang.Long bidControlRuleId
protected ControlRuleAccessBean controlRuleAccessBean
public OpenCryBidControlRuleBeanCmdImpl()
protected static void copy(DataBeanCommandImpl cmd, ControlRuleAccessBean rule, OpenCryBidControlRuleDataBean ruleBean)
protected static void copyBidRuleFields(DataBeanCommand cmd, ControlRuleAccessBean rule, OpenCryBidControlRuleDataBean ruleBean)
public ControlRuleAccessBean getBidControlRule()
public java.lang.Long getBidControlRuleId()
public boolean isReadyToCallExecute()
public void performExecute() throws ECException
public boolean performSecurityCheck()
public void populateDataBeanCommand(InputDataBean aDataBean)
public void reset()
public void setBidRuleControl(ControlRuleAccessBean aRule)
public void setBidRuleControlId(java.lang.Long Id)
public void setRequestProperties(TypedProperty properties)