Interface TelcoProductFacade
- All Known Implementing Classes:
DefaultTelcoProductFacade
public interface TelcoProductFacade
Telco product facade that provides functionality to return products that a) are 1 to 1 product references and feature
compatible products b) are 1 to 1 product references and feature and vendor compatible products.
-
Method Summary
Modifier and TypeMethodDescriptiongetProductReferencesAndCompatibleProducts(String code, List<ProductReferenceTypeEnum> referenceTypes, List<ProductOption> options, Integer limit, ClassAttributeAssignmentModel classAttributeAssignment) Returns a list of products build of: product references, feature and vendor compatible products having the limit set by maximumNumber.getProductReferencesAndFeatureCompatibleProductsForCode(String code, List<ProductReferenceTypeEnum> referenceTypes, List<ProductOption> options, Integer limit, ClassAttributeAssignmentModel classAttributeAssignment) Get unique list of product references and feature compatible products with a max limit set by maximunNumber Of Products First list of product references is returned and then feature compatible products are returned.
-
Method Details
-
getProductReferencesAndFeatureCompatibleProductsForCode
List<ProductData> getProductReferencesAndFeatureCompatibleProductsForCode(String code, List<ProductReferenceTypeEnum> referenceTypes, List<ProductOption> options, Integer limit, ClassAttributeAssignmentModel classAttributeAssignment) Get unique list of product references and feature compatible products with a max limit set by maximunNumber Of Products First list of product references is returned and then feature compatible products are returned.- Parameters:
code- product CodereferenceTypes-ListofProductReferenceTypeEnumsoptions-ListofProductOptionslimit- maximum size of returned dataclassAttributeAssignment- classification attribute of the classification class for the product- Returns:
ListofProductData
-
getProductReferencesAndCompatibleProducts
List<ProductData> getProductReferencesAndCompatibleProducts(String code, List<ProductReferenceTypeEnum> referenceTypes, List<ProductOption> options, Integer limit, ClassAttributeAssignmentModel classAttributeAssignment) Returns a list of products build of: product references, feature and vendor compatible products having the limit set by maximumNumber.- Parameters:
code- code of the product for which the compatible products should be retrievedreferenceTypes-ListofProductReferenceTypeEnums for which the products should be returnedoptions-ListofProductOptions for populating information on the returnedProductDatalimit- maximum number of products to be returned. If null, all available products will be returned.classAttributeAssignment- classification attribute- Returns:
ListofProductData- Since:
- 6.6
-