public class CheckCatalogEntryEntitlementCmdImpl extends com.ibm.commerce.command.TaskCommandImpl implements CheckCatalogEntryEntitlementCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME
The name of this class
|
static java.lang.String |
COPYRIGHT
The IBM copyright notice field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
CheckCatalogEntryEntitlementCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Long[] |
getEntitledCatalogEntryIds()
Get entitled catalog entry IDs against the trading agreement set for this command.
|
void |
performExecute()
The main logic of this command.
|
void |
reset()
This method resets the parameters.
|
void |
setCatentryIds(java.lang.Long[] catentryIds)
Set catalog entry IDs for entitlement check.
|
void |
setMemberId(java.lang.Long memberId)
This method sets the member ID.
|
void |
setTradingAgreementABs(com.ibm.commerce.contract.objects.TradingAgreementAccessBean[] agreementABs)
This method sets the trading agreemnts.
|
void |
validateParameters()
This method verifies the input parameters.
|
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, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
public static final java.lang.String CLASSNAME
public static final java.lang.String COPYRIGHT
public java.lang.Long[] getEntitledCatalogEntryIds()
getEntitledCatalogEntryIds
in interface CheckCatalogEntryEntitlementCmd
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 reset()
reset
in class com.ibm.commerce.command.AbstractECTargetableCommand
public void setCatentryIds(java.lang.Long[] catentryIds)
setCatentryIds
in interface CheckCatalogEntryEntitlementCmd
catentryIds
- A array of catalog entry ID.public void setMemberId(java.lang.Long memberId)
setMemberId
in interface CheckCatalogEntryEntitlementCmd
memberId
- public void setTradingAgreementABs(com.ibm.commerce.contract.objects.TradingAgreementAccessBean[] agreementABs)
setTradingAgreementABs
in interface CheckCatalogEntryEntitlementCmd
agreementABs
- public void validateParameters() throws com.ibm.commerce.exception.ECException
validateParameters
in interface com.ibm.commerce.command.ECCommand
validateParameters
in class com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.exception.ECException