Class CMSItemSearchDataValidator
java.lang.Object
de.hybris.platform.cmsfacades.cmsitems.validator.CMSItemSearchDataValidator
- All Implemented Interfaces:
org.springframework.validation.Validator
public class CMSItemSearchDataValidator
extends Object
implements org.springframework.validation.Validator
CMSItemSearchDataValidator validates CMSItemSearchData objects, which are the search parameters
used to perform
CMSItemSearchService searches-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CMSItemSearchServicegetTypeCodesFromSearchData(CMSItemSearchData cmsItemSearchData) Get the list of typeCodes given the cmsItemSearchData.getTypeCodesList(String typeCodes) Get the list of typeCodes given the typeCodesStringvoidsetCmsItemSearchService(CMSItemSearchService cmsItemSearchService) booleanvoid
-
Field Details
-
FIELD_TYPECODE
- See Also:
-
FIELD_NAME_CATALOG_ID
- See Also:
-
FIELD_NAME_CATALOG_VERSION
- See Also:
-
-
Constructor Details
-
CMSItemSearchDataValidator
public CMSItemSearchDataValidator()
-
-
Method Details
-
supports
- Specified by:
supportsin interfaceorg.springframework.validation.Validator
-
validate
- Specified by:
validatein interfaceorg.springframework.validation.Validator
-
getTypeCodesFromSearchData
Get the list of typeCodes given the cmsItemSearchData.- Parameters:
cmsItemSearchData-- Returns:
- the list of typeCodes
-
getTypeCodesList
Get the list of typeCodes given the typeCodesString- Parameters:
typeCodes-- Returns:
- the list of typeCodes
-
getCmsItemSearchService
-
setCmsItemSearchService
-