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, wait
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, reset, 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 CalculateProductSetEntitlementCmdImpl()
public java.util.Vector getExclusion()
CalculateProductSetEntitlementCmd
getExclusion
in interface CalculateProductSetEntitlementCmd
public java.util.Vector getInclusion()
CalculateProductSetEntitlementCmd
getInclusion
in interface CalculateProductSetEntitlementCmd
public long getObjectSize()
getObjectSize
in class com.ibm.commerce.command.AbstractECTargetableCommand
public java.lang.Long getParticipantId()
CalculateProductSetEntitlementCmd
getParticipantId
in interface CalculateProductSetEntitlementCmd
public java.util.Vector[] getTradingAgreementBrowsableInclusionProductSetIds()
getTradingAgreementBrowsableInclusionProductSetIds
in interface CalculateProductSetEntitlementCmd
public java.util.Vector[] getTradingAgreementExclusionProductSetIds()
getTradingAgreementExclusionProductSetIds
in interface CalculateProductSetEntitlementCmd
public java.lang.Long[] getTradingAgreementIds()
CalculateProductSetEntitlementCmd
getTradingAgreementIds
in interface CalculateProductSetEntitlementCmd
public java.util.Vector[] getTradingAgreementInclusionAndBrowsableProductSetIds()
getTradingAgreementInclusionAndBrowsableProductSetIds
in interface CalculateProductSetEntitlementCmd
public java.util.Vector[] getTradingAgreementInclusionProductSetIds()
getTradingAgreementInclusionProductSetIds
in interface CalculateProductSetEntitlementCmd
public com.ibm.commerce.contract.objects.TradingAgreementAccessBean[] getTradingAgreements()
CalculateProductSetEntitlementCmd
getTradingAgreements
in interface CalculateProductSetEntitlementCmd
public boolean isEntireMasterCatalogSelected()
isEntireMasterCatalogSelected
in interface CalculateProductSetEntitlementCmd
public boolean isReadyToCallExecute()
isReadyToCallExecute
in class com.ibm.commerce.command.AbstractECTargetableCommand
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 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)
CalculateProductSetEntitlementCmd
setParticipantId
in interface CalculateProductSetEntitlementCmd
public void setTradingAgreements(com.ibm.commerce.contract.objects.TradingAgreementAccessBean[] agreements)
CalculateProductSetEntitlementCmd
setTradingAgreements
in interface CalculateProductSetEntitlementCmd
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