public class OpenCryBidControlRuleBeanCmdImpl extends DataBeanCommandImpl implements OpenCryBidControlRuleBeanCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
emptyString, EURO_CODE
defaultCommandClassName, NAME
Constructor and Description |
---|
OpenCryBidControlRuleBeanCmdImpl()
Creates an instance of the command, default constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
getDataBean, setDataBean
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDataBean, setDataBean
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
public static final java.lang.String COPYRIGHT
public OpenCryBidControlRuleBeanCmdImpl()
public ControlRuleAccessBean getBidControlRule()
public java.lang.Long getBidControlRuleId()
public boolean isReadyToCallExecute()
AbstractECTargetableCommand
true
.isReadyToCallExecute
in interface com.ibm.websphere.command.Command
isReadyToCallExecute
in class AbstractECTargetableCommand
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
- when data bean could not be populated.public boolean performSecurityCheck()
public void populateDataBeanCommand(InputDataBean aDataBean)
populateDataBeanCommand
in class DataBeanCommandImpl
com.ibm.commerce.beans.InputDataBean
- public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public void setBidRuleControl(ControlRuleAccessBean aRule)
setBidRuleControl
in interface OpenCryBidControlRuleBeanCmd
aRule
- com.ibm.commerce.negotiation.objects.ControlRuleAccessBeanpublic void setBidRuleControlId(java.lang.Long Id)
setBidRuleControlId
in interface OpenCryBidControlRuleBeanCmd
Id
- java.long.Longpublic void setRequestProperties(TypedProperty properties)
setRequestProperties
in interface DataBeanCommand
setRequestProperties
in class DataBeanCommandImpl
properties
- com.ibm.commerce.datatype.TypedProperty