public class SealedBidControlRuleBeanCmdImpl extends DataBeanCommandImpl implements SealedBidControlRuleBeanCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
emptyString, EURO_CODE
defaultCommandClassName, NAME
Constructor and Description |
---|
SealedBidControlRuleBeanCmdImpl()
Creates an instance of OpenCryBidRuleControlBeanCmdImpl, default constructor.
|
Modifier and Type | Method and Description |
---|---|
ControlRuleAccessBean |
getBidControlRule()
Returns the access bean manipulated by the command.
|
java.lang.Long |
getBidControlRuleId()
Returns the control rule ID.
|
boolean |
isReadyToCallExecute()
This method is called by the targetable command framework.
|
void |
performExecute()
Uses the access bean to lookup a control rule, then populates
its associated rule interpreter data bean.
|
boolean |
performSecurityCheck() |
void |
populateDataBeanCommand(InputDataBean aDataBean)
Obtains the bid control rule ID from the data bean.
|
void |
reset()
Does nothing.
|
void |
setBidRuleControl(ControlRuleAccessBean aRule)
Provides an access bean for manipulation by the class.
|
void |
setBidRuleControlId(java.lang.Long Id)
Sets the bid control rule ID field.
|
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 SealedBidControlRuleBeanCmdImpl()
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
aDataBean
- input data bean.public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public void setBidRuleControl(ControlRuleAccessBean aRule)
setBidRuleControl
in interface SealedBidControlRuleBeanCmd
aRule
- com.ibm.commerce.negotiation.objects.ControlRuleAccessBeanpublic void setBidRuleControlId(java.lang.Long Id)
setBidRuleControlId
in interface SealedBidControlRuleBeanCmd
Id
- java.lang.Integerpublic void setRequestProperties(TypedProperty properties)
setRequestProperties
in interface DataBeanCommand
setRequestProperties
in class DataBeanCommandImpl
properties
- com.ibm.commerce.datatype.TypedProperty