Interface SaveQueryActionChecker
- All Known Implementing Classes:
DefaultSaveQueryActionChecker
public interface SaveQueryActionChecker
Allows to check if conditions in AdvancedSearch Widget can be converted to
BackofficeSavedQueryModel-
Method Summary
Modifier and TypeMethodDescriptioncheck(com.hybris.backoffice.widgets.advancedsearch.impl.AdvancedSearchData advancedSearchData) Checks if given conditions can be converted toBackofficeSavedQueryModel
-
Method Details
-
check
Collection<SaveQueryInvalidCondition> check(com.hybris.backoffice.widgets.advancedsearch.impl.AdvancedSearchData advancedSearchData) throws com.hybris.cockpitng.dataaccess.facades.type.exceptions.TypeNotFoundException Checks if given conditions can be converted toBackofficeSavedQueryModel- Parameters:
advancedSearchData- pojo which containsSearchConditionData- Returns:
- empty collection if all conditions can be converted. Every element of returned collection informs about condition which cannot be converted.
- Throws:
com.hybris.cockpitng.dataaccess.facades.type.exceptions.TypeNotFoundException- if advancedSearchData's typeCode cannot be found
-