Class TmaPoEditorReferenceSearchFacade
java.lang.Object
de.hybris.platform.b2ctelcobackoffice.search.TmaPoEditorReferenceSearchFacade
- All Implemented Interfaces:
com.hybris.cockpitng.editor.commonreferenceeditor.ReferenceEditorSearchFacade<TmaProductOfferingModel>
public class TmaPoEditorReferenceSearchFacade
extends Object
implements com.hybris.cockpitng.editor.commonreferenceeditor.ReferenceEditorSearchFacade<TmaProductOfferingModel>
Search Facade that restricts the search result of
TmaSimpleProductOfferingModel and
TmaFixedBundledProductOfferingModel to the ones belonging to a given product offering.- Since:
- 2007
-
Constructor Summary
ConstructorsConstructorDescriptionTmaPoEditorReferenceSearchFacade(TmaPoService tmaPoService, de.hybris.platform.servicelayer.config.ConfigurationService configurationService) This is a class constructor used to specify the required dependencies required by class for creation. -
Method Summary
Modifier and TypeMethodDescriptionprotected List<TmaProductOfferingModel>filterTypesByCodeOrName(List<TmaProductOfferingModel> productOfferings, String searchText) protected de.hybris.platform.servicelayer.config.ConfigurationServiceprotected TmaPoServicecom.hybris.cockpitng.search.data.pageable.Pageable<TmaProductOfferingModel>search(com.hybris.cockpitng.search.data.SearchQueryData searchQueryData) Returns the pageable simple product offeringTmaSimpleProductOfferingModeland fixed bundled product offeringTmaFixedBundledProductOfferingModellist of a given searched bundled product offering.
-
Constructor Details
-
TmaPoEditorReferenceSearchFacade
public TmaPoEditorReferenceSearchFacade(TmaPoService tmaPoService, de.hybris.platform.servicelayer.config.ConfigurationService configurationService) This is a class constructor used to specify the required dependencies required by class for creation.- Parameters:
tmaPoService- the tmaPoServiceconfigurationService- the configurationService
-
-
Method Details
-
search
public com.hybris.cockpitng.search.data.pageable.Pageable<TmaProductOfferingModel> search(com.hybris.cockpitng.search.data.SearchQueryData searchQueryData) Returns the pageable simple product offeringTmaSimpleProductOfferingModeland fixed bundled product offeringTmaFixedBundledProductOfferingModellist of a given searched bundled product offering.- Specified by:
searchin interfacecom.hybris.cockpitng.editor.commonreferenceeditor.ReferenceEditorSearchFacade<TmaProductOfferingModel>- Parameters:
searchQueryData- the search Query Data- Returns:
- the pageable list of child spos and fixed bpos of the product offering
-
filterTypesByCodeOrName
protected List<TmaProductOfferingModel> filterTypesByCodeOrName(List<TmaProductOfferingModel> productOfferings, String searchText) -
getConfigurationService
protected de.hybris.platform.servicelayer.config.ConfigurationService getConfigurationService() -
getPoService
-