public final class ProductSetSelection
extends java.lang.Object
TradingPositionContainerAccessBean, TermConditionAccessBean, TradingAgreementAccessBean
Constructor and Description |
---|
ProductSetSelection(com.ibm.commerce.contract.objects.TradingAgreementAccessBean[] agreements,
java.lang.Long uid)
The constructor of this class.
|
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
|
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.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.
|
boolean |
isEntireMasterCatalogSelected()
Is the entire master catalog for sale under the trading agreements
|
public ProductSetSelection(com.ibm.commerce.contract.objects.TradingAgreementAccessBean[] agreements, java.lang.Long uid) throws com.ibm.commerce.exception.ECException, javax.naming.NamingException
agreements
- A set of Trading Agreement Access Beansuid
- User Id of the Trading Agreement participantcom.ibm.commerce.exception.ECException
- Raised with message _ERR_TRADING_OBJECT_CANNOT_BE_NULL when there are no trading agreements.javax.naming.NamingException
public java.util.Vector getExclusion()
public java.util.Vector getInclusion()
public java.util.Vector[] getTradingAgreementBrowsableInclusionProductSetIds()
public java.util.Vector[] getTradingAgreementExclusionProductSetIds()
public java.util.Vector[] getTradingAgreementInclusionAndBrowsableProductSetIds()
public java.util.Vector[] getTradingAgreementInclusionProductSetIds()
public boolean isEntireMasterCatalogSelected()