Class AbstractNamedQueryDataPopulator
java.lang.Object
de.hybris.platform.cmsfacades.common.populator.impl.AbstractNamedQueryDataPopulator
- All Implemented Interfaces:
Populator<NamedQueryData,NamedQuery>
- Direct Known Subclasses:
MediaSearchByCodeNamedQueryDataPopulator
public abstract class AbstractNamedQueryDataPopulator
extends Object
implements Populator<NamedQueryData,NamedQuery>
This populator will take parameters of and add it to the parameters map.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildParameterStringMap(String params) Using the parameter String, convert it to a Map<String, String> for future processing.convertParameters(String params) Converts the parameters from the request String into a Map.protected CMSAdminSiteServicevoidpopulate(NamedQueryData namedQueryData, NamedQuery namedQuery) Populate the target instance with values from the source instance.voidsetCmsAdminSiteService(CMSAdminSiteService cmsAdminSiteService)
-
Field Details
-
COMMA
- See Also:
-
COLON
- See Also:
-
PERCENT
- See Also:
-
-
Constructor Details
-
AbstractNamedQueryDataPopulator
public AbstractNamedQueryDataPopulator()
-
-
Method Details
-
convertParameters
Converts the parameters from the request String into a Map. The input, if not empty, should be already validated with the following format: {param}:{value} Multiple parameters are also allowed separated by comma- Parameters:
params- - the parameters received from the request- Returns:
- a Map of parameters
-
populate
public void populate(NamedQueryData namedQueryData, NamedQuery namedQuery) throws ConversionException Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<NamedQueryData,NamedQuery> - Parameters:
namedQueryData- the source objectnamedQuery- the target to fill- Throws:
ConversionException- if an error occurs
-
buildParameterStringMap
Using the parameter String, convert it to a Map<String, String> for future processing.- Parameters:
params- - the String parameter received from the request- Returns:
- a Map<String, String> representing the requested parameter String
-
getActiveCatalogVersion
-
getCmsAdminSiteService
-
setCmsAdminSiteService
-