public class CatalogFilterDefaultSearchExpressionCompositor extends AbstractCatalogFilterSearchExpressionCompositor
The default relation between buyer contracts and hosting contract is "AND".
Constructor and Description |
---|
CatalogFilterDefaultSearchExpressionCompositor(java.util.List<java.lang.Long> buyerContractIdList, java.lang.Long memberId)
The CatalogFilterDefaultSearchExpressionCompositor constructor.
|
CatalogFilterDefaultSearchExpressionCompositor(java.util.List<java.lang.Long> buyerContractIdList, java.lang.Long hostingContractId, java.lang.Long memberId)
The CatalogFilterDefaultSearchExpressionCompositor constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean | isCompositeOperationAnd()
This abstract method is adopted to determine what operation should be used to combine the product entitlement search expression from buyer contracts and hosting contract.
|
public CatalogFilterDefaultSearchExpressionCompositor(java.util.List<java.lang.Long> buyerContractIdList, java.lang.Long memberId)
public CatalogFilterDefaultSearchExpressionCompositor(java.util.List<java.lang.Long> buyerContractIdList, java.lang.Long hostingContractId, java.lang.Long memberId)
public boolean isCompositeOperationAnd()
The default catalog filter relationship between buyer contracts and hosting contract is "AND". It means that the product could be entitled to used/seen only if it is both included in the catalog filter of hosting contract and any of those buyer contracts.