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, 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[] getCatalogGroupIds()
getCatalogGroupIds
in interface CheckCatalogGroupEntitlementCmd
public java.lang.Long getCatalogId()
getCatalogId
in interface CheckCatalogGroupEntitlementCmd
public java.lang.Long[] getEntitledCatalogGroupIds()
getEntitledCatalogGroupIds
in interface CheckCatalogGroupEntitlementCmd
null
indicates none are entitled.public java.lang.Long getMemberId()
getMemberId
in interface CheckCatalogGroupEntitlementCmd
public com.ibm.commerce.contract.objects.TradingAgreementAccessBean[] getTradingAgreementABs()
getTradingAgreementABs
in interface CheckCatalogGroupEntitlementCmd
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 setCatalogGroupIds(java.lang.Long[] catalogGroupIds)
setCatalogGroupIds
in interface CheckCatalogGroupEntitlementCmd
catalogGroupIds
- The catalog group IDs.public void setCatalogId(java.lang.Long catalogId)
setCatalogId
in interface CheckCatalogGroupEntitlementCmd
catalogId
- The catalog ID.public void setCurrentCatalog(com.ibm.commerce.catalog.objects.CatalogAccessBean catalogAB)
setCurrentCatalog
in interface CheckCatalogGroupEntitlementCmd
catalogAB
- public void setMemberId(java.lang.Long memberId)
setMemberId
in interface CheckCatalogGroupEntitlementCmd
memberId
- public void setTradingAgreementABs(com.ibm.commerce.contract.objects.TradingAgreementAccessBean[] agreementABs)
setTradingAgreementABs
in interface CheckCatalogGroupEntitlementCmd
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