public class CalculateProductSetEntitlementCmdImpl extends com.ibm.commerce.command.TaskCommandImpl implements CalculateProductSetEntitlementCmd
| 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 |
|---|
CalculateProductSetEntitlementCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Vector |
getExclusion()
Get the list of applicable exclusion product sets
|
java.util.Vector |
getInclusion()
Get the list of applicable inclusion product sets
|
long |
getObjectSize()
Returns the estimated footprint size in bytes
of this object and the objects it contains.
|
java.lang.Long |
getParticipantId()
get memberId of the trading agreement participant
|
java.util.Vector[] |
getTradingAgreementBrowsableInclusionProductSetIds()
Gets the list of applicable browsable inclusion product sets for each
trading agreement.
|
java.util.Vector[] |
getTradingAgreementExclusionProductSetIds()
Gets the list of applicable exclusion product sets for each trading
agreement.
|
java.lang.Long[] |
getTradingAgreementIds()
get trading agreement Ids
|
java.util.Vector[] |
getTradingAgreementInclusionAndBrowsableProductSetIds()
Gets the list of applicable inclusion and browsable product sets for each
trading agreement.
|
java.util.Vector[] |
getTradingAgreementInclusionProductSetIds()
Gets the list of applicable inclusion product sets for each trading
agreement.
|
com.ibm.commerce.contract.objects.TradingAgreementAccessBean[] |
getTradingAgreements()
get a set of trading agreement access beans
|
boolean |
isEntireMasterCatalogSelected()
Is the entire master catalog for sale under the trading agreements
|
boolean |
isReadyToCallExecute() |
void |
performExecute() |
void |
postExecute()
This method is called by the Dynamic Cache when the execute method is called,
and a cache miss occurs,
after the performExecute method is called.
|
void |
setOutputProperties(TargetableCommand fromCommand) |
void |
setParticipantId(java.lang.Long memberId)
set memberId of the trading agreement participant
|
void |
setTradingAgreements(com.ibm.commerce.contract.objects.TradingAgreementAccessBean[] agreements)
set a set of trading agreement access beans
|
void |
validateParameters() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, reset, 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 CalculateProductSetEntitlementCmdImpl()
public java.util.Vector getExclusion()
CalculateProductSetEntitlementCmdgetExclusion in interface CalculateProductSetEntitlementCmdpublic java.util.Vector getInclusion()
CalculateProductSetEntitlementCmdgetInclusion in interface CalculateProductSetEntitlementCmdpublic long getObjectSize()
getObjectSize in class com.ibm.commerce.command.AbstractECTargetableCommandpublic java.lang.Long getParticipantId()
CalculateProductSetEntitlementCmdgetParticipantId in interface CalculateProductSetEntitlementCmdpublic java.util.Vector[] getTradingAgreementBrowsableInclusionProductSetIds()
getTradingAgreementBrowsableInclusionProductSetIds in interface CalculateProductSetEntitlementCmdpublic java.util.Vector[] getTradingAgreementExclusionProductSetIds()
getTradingAgreementExclusionProductSetIds in interface CalculateProductSetEntitlementCmdpublic java.lang.Long[] getTradingAgreementIds()
CalculateProductSetEntitlementCmdgetTradingAgreementIds in interface CalculateProductSetEntitlementCmdpublic java.util.Vector[] getTradingAgreementInclusionAndBrowsableProductSetIds()
getTradingAgreementInclusionAndBrowsableProductSetIds in interface CalculateProductSetEntitlementCmdpublic java.util.Vector[] getTradingAgreementInclusionProductSetIds()
getTradingAgreementInclusionProductSetIds in interface CalculateProductSetEntitlementCmdpublic com.ibm.commerce.contract.objects.TradingAgreementAccessBean[] getTradingAgreements()
CalculateProductSetEntitlementCmdgetTradingAgreements in interface CalculateProductSetEntitlementCmdpublic boolean isEntireMasterCatalogSelected()
isEntireMasterCatalogSelected in interface CalculateProductSetEntitlementCmdpublic boolean isReadyToCallExecute()
isReadyToCallExecute in class com.ibm.commerce.command.AbstractECTargetableCommandpublic 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 postExecute()
This method is called by the Dynamic Cache when the execute method is called, and a cache miss occurs, after the performExecute method is called.
com.ibm.websphere.command.CacheableCommand#postExecute()public void setOutputProperties(TargetableCommand fromCommand)
public void setParticipantId(java.lang.Long memberId)
CalculateProductSetEntitlementCmdsetParticipantId in interface CalculateProductSetEntitlementCmdpublic void setTradingAgreements(com.ibm.commerce.contract.objects.TradingAgreementAccessBean[] agreements)
CalculateProductSetEntitlementCmdsetTradingAgreements in interface CalculateProductSetEntitlementCmdpublic 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