public class CheckCatalogGroupEntitlementCmdImpl extends com.ibm.commerce.command.TaskCommandImpl implements CheckCatalogGroupEntitlementCmd
| 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 |
|---|
CheckCatalogGroupEntitlementCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long[] |
getCatalogGroupIds()
Get Catalog Group IDs.
|
java.lang.Long |
getCatalogId()
Get catalog ID.
|
java.lang.Long[] |
getEntitledCatalogGroupIds()
Get Entitled catalog group IDs.
|
java.lang.Long |
getMemberId()
Get member ID.
|
com.ibm.commerce.contract.objects.TradingAgreementAccessBean[] |
getTradingAgreementABs()
Get trading agreements
|
void |
performExecute()
The main logic of this command.
|
void |
reset()
This method resets the parameters.
|
void |
setCatalogGroupIds(java.lang.Long[] catalogGroupIds)
Set Catalog Group IDs.
|
void |
setCatalogId(java.lang.Long catalogId)
Sets the catalog ID.
|
void |
setCurrentCatalog(com.ibm.commerce.catalog.objects.CatalogAccessBean catalogAB)
This method sets the current catalog access bean.
|
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 agreements.
|
void |
validateParameters()
This method verifies the input parameters.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiescheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiespublic static final java.lang.String CLASSNAME
public static final java.lang.String COPYRIGHT
public java.lang.Long[] getCatalogGroupIds()
getCatalogGroupIds in interface CheckCatalogGroupEntitlementCmdpublic java.lang.Long getCatalogId()
getCatalogId in interface CheckCatalogGroupEntitlementCmdpublic java.lang.Long[] getEntitledCatalogGroupIds()
getEntitledCatalogGroupIds in interface CheckCatalogGroupEntitlementCmdnull indicates none are entitled.public java.lang.Long getMemberId()
getMemberId in interface CheckCatalogGroupEntitlementCmdpublic com.ibm.commerce.contract.objects.TradingAgreementAccessBean[] getTradingAgreementABs()
getTradingAgreementABs in interface CheckCatalogGroupEntitlementCmdpublic void performExecute()
throws com.ibm.commerce.exception.ECException
performExecute in interface com.ibm.commerce.command.ECCommandperformExecute in class com.ibm.commerce.command.AbstractECTargetableCommandcom.ibm.commerce.exception.ECExceptionpublic void reset()
reset in class com.ibm.commerce.command.AbstractECTargetableCommandpublic void setCatalogGroupIds(java.lang.Long[] catalogGroupIds)
setCatalogGroupIds in interface CheckCatalogGroupEntitlementCmdcatalogGroupIds - The catalog group IDs.public void setCatalogId(java.lang.Long catalogId)
setCatalogId in interface CheckCatalogGroupEntitlementCmdcatalogId - The catalog ID.public void setCurrentCatalog(com.ibm.commerce.catalog.objects.CatalogAccessBean catalogAB)
setCurrentCatalog in interface CheckCatalogGroupEntitlementCmdcatalogAB - public void setMemberId(java.lang.Long memberId)
setMemberId in interface CheckCatalogGroupEntitlementCmdmemberId - public void setTradingAgreementABs(com.ibm.commerce.contract.objects.TradingAgreementAccessBean[] agreementABs)
setTradingAgreementABs in interface CheckCatalogGroupEntitlementCmdagreementABs - public void validateParameters()
throws com.ibm.commerce.exception.ECException
validateParameters in interface com.ibm.commerce.command.ECCommandvalidateParameters in class com.ibm.commerce.command.AbstractECTargetableCommandcom.ibm.commerce.exception.ECException