public class CheckContractHasPriceRuleTCCmdImpl extends com.ibm.commerce.command.TaskCommandImpl implements CheckContractHasPriceRuleTCCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME
The name of this class.
|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
CheckContractHasPriceRuleTCCmdImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
hasPriceRuleTC()
Whether the contract has PriceRule term and condition.
|
void |
performExecute()
Main logic to check the contract has PriceRuleTC
|
void |
setContractId(java.lang.String contractId)
Sets the contract id.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
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 CLASSNAME
public static final java.lang.String COPYRIGHT
public boolean hasPriceRuleTC() throws com.ibm.commerce.exception.ECException
CheckContractHasPriceRuleTCCmd
hasPriceRuleTC
in interface CheckContractHasPriceRuleTCCmd
com.ibm.commerce.exception.ECException
CheckContractHasPriceRuleTCCmd.hasPriceRuleTC()
public void performExecute() throws com.ibm.commerce.exception.ECException
performExecute
in interface com.ibm.commerce.command.ECCommand
performExecute
in class com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.exception.ECException
public void setContractId(java.lang.String contractId)
CheckContractHasPriceRuleTCCmd
setContractId
in interface CheckContractHasPriceRuleTCCmd
contractId
- Can not be null. If you pass the null, the behavior is undefined.CheckContractHasPriceRuleTCCmd.setContractId(String)