Class ProductSavedQueryServiceImpl
java.lang.Object
de.hybris.platform.cockpit.services.impl.AbstractServiceImpl
de.hybris.platform.cockpit.services.query.impl.SavedQueryServiceImpl
de.hybris.platform.productcockpit.services.query.impl.ProductSavedQueryServiceImpl
- All Implemented Interfaces:
SavedQueryService
- Direct Known Subclasses:
SavedQueryUserRightsServiceImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CockpitConfigurationServiceprotected ListViewConfigurationPersistingStrategyprotected LoginServiceprotected MediaServiceprotected UIConfigurationServiceprotected UserServiceFields inherited from class de.hybris.platform.cockpit.services.query.impl.SavedQueryServiceImpl
COLLECTION_DELIM, DATE_MARK, ENUM_DELIM, ENUM_MARK, FEATURE_VALUE_DELIM, FEATURE_VALUE_MARK, FEATURE_VALUE_STRING_VALUE_POS, FEATURE_VALUE_UNIT_POS, NUMBER_CLASS_NAME_POS, NUMBER_MARK, NUMBER_VALUE_DELIM, NUMBER_VALUE_POS, PK_MARK, searchServiceFields inherited from class de.hybris.platform.cockpit.services.impl.AbstractServiceImpl
modelService, typeService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddCategoryItemSelectionParameters(CockpitSavedQuery cockpitSavedQuery, Query query) Deprecated.since 6.3protected voidaddCategoryItemSelectionParameters(CockpitSavedQueryModel cockpitSavedQuery, Query query) protected voidaddSpecialParameters(CockpitSavedQuery cockpitSavedQuery, Query query) Override this to add special parameters from context to search querycreateSavedQuery(String label, Query query, UserModel user) Creates the saved query.getQuery(CockpitSavedQueryModel savedQuery) Gets the query.protected booleanisEmptyRawValueValid(CockpitSavedParameterValueModel queryParameterValue) protected voidsaveListViewConfiguration(String objectTemplateCode, CockpitSavedQueryModel cockpitSavedQuery) voidsetCockpitConfigurationService(CockpitConfigurationService cockpitConfigurationService) voidsetListViewConfigurationPersistingStrategy(ListViewConfigurationPersistingStrategy listViewConfigurationPersistingStrategy) voidsetLoginService(LoginService loginService) voidsetMediaService(MediaService mediaService) voidsetUiConfigurationService(UIConfigurationService uiConfigurationService) voidsetUserService(UserService userService) Methods inherited from class de.hybris.platform.cockpit.services.query.impl.SavedQueryServiceImpl
addSpecialParameters, decode, deleteQuery, getDecodedValues, getPKsString, getSavedQueries, getSavedQueryDao, publishSavedQuery, renameQuery, setEnumerationService, setSavedQueryDao, setSearchService, storeUpdates, unwrapCollectionValues, unwrapFeatureValue, unwrapNumber, unwrapSingleValue, wrap, wrapCollectionValues, wrapFeatureValue, wrapNumber, wrapSingleValueMethods inherited from class de.hybris.platform.cockpit.services.impl.AbstractServiceImpl
getEnum, getEnums, getLocalizedLabel, getLocalizedLabel, getModelService, getTypeService, setCockpitTypeService, setLabelResolver, setModelService
-
Field Details
-
cockpitConfigurationService
-
userService
-
mediaService
-
loginService
-
uiConfigurationService
-
listViewConfigurationPersistingStrategy
-
-
Constructor Details
-
ProductSavedQueryServiceImpl
public ProductSavedQueryServiceImpl()
-
-
Method Details
-
setListViewConfigurationPersistingStrategy
public void setListViewConfigurationPersistingStrategy(ListViewConfigurationPersistingStrategy listViewConfigurationPersistingStrategy) -
setCockpitConfigurationService
-
setUserService
-
setMediaService
-
setLoginService
-
setUiConfigurationService
-
saveListViewConfiguration
protected void saveListViewConfiguration(String objectTemplateCode, CockpitSavedQueryModel cockpitSavedQuery) -
addSpecialParameters
Description copied from class:SavedQueryServiceImplOverride this to add special parameters from context to search query- Overrides:
addSpecialParametersin classSavedQueryServiceImpl
-
createSavedQuery
Description copied from interface:SavedQueryServiceCreates the saved query.- Specified by:
createSavedQueryin interfaceSavedQueryService- Overrides:
createSavedQueryin classSavedQueryServiceImpl- Parameters:
label- the labelquery- the queryuser- the user- Returns:
- the cockpit saved query model
-
addCategoryItemSelectionParameters
@Deprecated protected void addCategoryItemSelectionParameters(CockpitSavedQuery cockpitSavedQuery, Query query) Deprecated.since 6.3 -
addCategoryItemSelectionParameters
protected void addCategoryItemSelectionParameters(CockpitSavedQueryModel cockpitSavedQuery, Query query) -
getQuery
Description copied from interface:SavedQueryServiceGets the query.- Specified by:
getQueryin interfaceSavedQueryService- Overrides:
getQueryin classSavedQueryServiceImpl- Parameters:
savedQuery- the saved query- Returns:
- the query
-
isEmptyRawValueValid
-