public class CalculateProductSetEntitlementCmdImpl extends TaskCommandImpl implements CalculateProductSetEntitlementCmd, com.ibm.websphere.cache.Sizeable
Modifier and Type | Field and Description |
---|---|
protected java.util.Vector[] | browsableProductSetsPerAgreement
a list of browsable product sets for each trading agreement
|
static java.lang.String | CLASSNAME
The name of this class
|
static java.lang.String | COPYRIGHT
The IBM copyright notice field.
|
protected java.util.Vector | exclusionAllAgreements
Exclusion product set for all trading agreements
|
protected java.util.Vector[] | exclusionPerAgreement
a list of exclusion product sets for each trading agreement
|
protected java.util.Vector | inclusionAllAgreements
Inclusion product sets for all trading agreements
|
protected java.util.Vector[] | inclusionPerAgreement
a list of inclusion product sets for each trading agreement
|
Constructor and Description |
---|
CalculateProductSetEntitlementCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected void | addToBrowsable(java.lang.Integer productSetId, int agreementIndex)
Add a Product Set Id to the list of browsable product sets
|
protected void | addToExclusion(java.lang.Integer productSetId, int agreementIndex)
Add a Product Set Id to the list of exclusion product sets
|
protected void | addToInclusion(java.lang.Integer productSetId, int agreementIndex)
Add a Product Set Id to the list of inclusion product sets
|
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.
|
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()
This method is called by the targetable command framework.
|
protected java.util.Vector | mergerExclusion()
merger exclusion of all trading agreement to a vector
|
protected java.util.Vector | mergerInclusion()
merger inclusion of all trading agreement to a vector
|
void | performExecute()
This method performs the business logic for this command.
|
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.
|
protected void | processCatalogFilterTCs(int agreementIndex, TermConditionAccessBean[] terms)
Determine the product sets applicable to a set of PriceTCMasterCatalogWithFiltering terms and conditions
|
protected boolean | processPriceTCs(int agreementIndex, TermConditionAccessBean[] terms)
Determine the product sets applicable to a set of Price terms and conditions
|
protected boolean | processProductSetTCs(int agreementIndex, TermConditionAccessBean[] terms)
Determine the product sets applicable to a set of Product Set terms and conditions
|
void | setOutputProperties(com.ibm.websphere.command.TargetableCommand fromCommand) |
void | setParticipantId(java.lang.Long memberId)
set memberId of the trading agreement participant
|
void | setTradingAgreements(TradingAgreementAccessBean[] agreements)
set a set of trading agreement access beans
|
void | validateParameters()
This method performs server side parameter checking.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
protected java.util.Vector inclusionAllAgreements
protected java.util.Vector exclusionAllAgreements
protected java.util.Vector[] inclusionPerAgreement
protected java.util.Vector[] exclusionPerAgreement
protected java.util.Vector[] browsableProductSetsPerAgreement
public CalculateProductSetEntitlementCmdImpl()
public long getObjectSize()
public void performExecute() throws ECException
public void validateParameters() throws ECException
public java.util.Vector getExclusion()
protected java.util.Vector mergerExclusion()
public java.util.Vector getInclusion()
protected java.util.Vector mergerInclusion()
public java.util.Vector[] getTradingAgreementInclusionProductSetIds()
public java.util.Vector[] getTradingAgreementExclusionProductSetIds()
public java.util.Vector[] getTradingAgreementBrowsableInclusionProductSetIds()
public java.util.Vector[] getTradingAgreementInclusionAndBrowsableProductSetIds()
public java.lang.Long getParticipantId()
public java.lang.Long[] getTradingAgreementIds()
public TradingAgreementAccessBean[] getTradingAgreements()
public boolean isEntireMasterCatalogSelected()
public void setParticipantId(java.lang.Long memberId)
public void setTradingAgreements(TradingAgreementAccessBean[] agreements)
protected boolean processPriceTCs(int agreementIndex, TermConditionAccessBean[] terms) throws ECException, java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException, javax.ejb.CreateException
protected boolean processProductSetTCs(int agreementIndex, TermConditionAccessBean[] terms) throws ECException, java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException, javax.ejb.CreateException
protected void processCatalogFilterTCs(int agreementIndex, TermConditionAccessBean[] terms) throws ECException, java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException, javax.ejb.CreateException
protected void addToExclusion(java.lang.Integer productSetId, int agreementIndex)
protected void addToInclusion(java.lang.Integer productSetId, int agreementIndex)
protected void addToBrowsable(java.lang.Integer productSetId, int agreementIndex)
public boolean isReadyToCallExecute()
public void setOutputProperties(com.ibm.websphere.command.TargetableCommand fromCommand)
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.