public class ProductSearchExpressionBuilderFactory
extends java.lang.Object
ProductSearchExpressionBuilderFactory
is the factory class used to provide the appropriate
ProductSearchExpressionBuilder instances according to the catalog TC type in contracts.
Modifier and Type | Method and Description |
---|---|
ProductSearchExpressionBuilder |
getCatalogFilterSearchExpressionBuilder(java.util.List<java.lang.Long> contractIdList)
Get
CatalogFilterSearchExpressionBuilder instance for building search expression for
contract ID list. |
ProductSearchExpressionBuilder |
getCatalogFilterSearchExpressionBuilder(java.util.List<java.lang.Long> contractIdList,
java.lang.Long memberId)
Get
CatalogFilterSearchExpressionBuilder instance for building search expression for
contract ID list. |
static ProductSearchExpressionBuilderFactory |
getInstance()
Get the static instance of
ProductSearchExpressionBuilderFactory |
ProductSearchExpressionBuilder |
getProductSearchExpressionBuilder(java.lang.Long contractId,
java.lang.Long memberId)
Get a
ProductSearchExpressionBuilder instance according to the contract . |
ProductSearchExpressionBuilder |
getProductSetSearchExpressionBuilder(java.util.List<java.lang.Long> contractIdList,
java.lang.Long memberId)
Get
ProductSetSearchExpressionBuilder instance for building search expression for
contract ID list. |
public static ProductSearchExpressionBuilderFactory getInstance()
ProductSearchExpressionBuilderFactory
ProductSearchExpressionBuilderFactory
static instance.public ProductSearchExpressionBuilder getProductSearchExpressionBuilder(java.lang.Long contractId, java.lang.Long memberId) throws ECException
ProductSearchExpressionBuilder
instance according to the contract .contractId
- The contract ID.memberId
- The member ID.ProductSearchExpressionBuilder
instance.ECException
- Exception could be thrown if any error occurred.public ProductSearchExpressionBuilder getCatalogFilterSearchExpressionBuilder(java.util.List<java.lang.Long> contractIdList, java.lang.Long memberId) throws ECException
CatalogFilterSearchExpressionBuilder
instance for building search expression for
contract ID list.contractIdList
- The contract ID listmemberId
- The member IDCatalogFilterSearchExpressionBuilder
instance.ECException
- Exception could be thrown if any error occurred.public ProductSearchExpressionBuilder getCatalogFilterSearchExpressionBuilder(java.util.List<java.lang.Long> contractIdList) throws ECException
CatalogFilterSearchExpressionBuilder
instance for building search expression for
contract ID list.contractIdList
- The contract ID listCatalogFilterSearchExpressionBuilder
instance.ECException
- Exception could be thrown if any error occurred.public ProductSearchExpressionBuilder getProductSetSearchExpressionBuilder(java.util.List<java.lang.Long> contractIdList, java.lang.Long memberId) throws ECException
ProductSetSearchExpressionBuilder
instance for building search expression for
contract ID list.contractIdList
- The contract ID list.memberId
- The member ID.ProductSetSearchExpressionBuilder
instance.ECException
- Exception could be thrown if any error occurred.