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
public class ProductSavedQueryServiceImpl extends SavedQueryServiceImpl
-
-
Field Summary
Fields Modifier and Type Field Description protected CockpitConfigurationServicecockpitConfigurationServiceprotected ListViewConfigurationPersistingStrategylistViewConfigurationPersistingStrategyprotected LoginServiceloginServiceprotected MediaServicemediaServiceprotected UIConfigurationServiceuiConfigurationServiceprotected UserServiceuserService-
Fields 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, searchService
-
Fields inherited from class de.hybris.platform.cockpit.services.impl.AbstractServiceImpl
modelService, typeService
-
-
Constructor Summary
Constructors Constructor Description ProductSavedQueryServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected 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 queryCockpitSavedQueryModelcreateSavedQuery(java.lang.String label, Query query, UserModel user)Creates the saved query.QuerygetQuery(CockpitSavedQueryModel savedQuery)Gets the query.protected booleanisEmptyRawValueValid(CockpitSavedParameterValueModel queryParameterValue)protected voidsaveListViewConfiguration(java.lang.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, wrapSingleValue
-
Methods inherited from class de.hybris.platform.cockpit.services.impl.AbstractServiceImpl
getEnum, getEnums, getLocalizedLabel, getLocalizedLabel, getModelService, getTypeService, setCockpitTypeService, setLabelResolver, setModelService
-
-
-
-
Field Detail
-
cockpitConfigurationService
protected CockpitConfigurationService cockpitConfigurationService
-
userService
protected UserService userService
-
mediaService
protected MediaService mediaService
-
loginService
protected LoginService loginService
-
uiConfigurationService
protected UIConfigurationService uiConfigurationService
-
listViewConfigurationPersistingStrategy
protected ListViewConfigurationPersistingStrategy listViewConfigurationPersistingStrategy
-
-
Method Detail
-
setListViewConfigurationPersistingStrategy
public void setListViewConfigurationPersistingStrategy(ListViewConfigurationPersistingStrategy listViewConfigurationPersistingStrategy)
-
setCockpitConfigurationService
public void setCockpitConfigurationService(CockpitConfigurationService cockpitConfigurationService)
-
setUserService
public void setUserService(UserService userService)
-
setMediaService
public void setMediaService(MediaService mediaService)
-
setLoginService
public void setLoginService(LoginService loginService)
-
setUiConfigurationService
public void setUiConfigurationService(UIConfigurationService uiConfigurationService)
-
saveListViewConfiguration
protected void saveListViewConfiguration(java.lang.String objectTemplateCode, CockpitSavedQueryModel cockpitSavedQuery)
-
addSpecialParameters
protected void addSpecialParameters(CockpitSavedQuery cockpitSavedQuery, Query query)
Description copied from class:SavedQueryServiceImplOverride this to add special parameters from context to search query- Overrides:
addSpecialParametersin classSavedQueryServiceImpl
-
createSavedQuery
public CockpitSavedQueryModel createSavedQuery(java.lang.String label, Query query, UserModel user)
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
public Query getQuery(CockpitSavedQueryModel savedQuery)
Description copied from interface:SavedQueryServiceGets the query.- Specified by:
getQueryin interfaceSavedQueryService- Overrides:
getQueryin classSavedQueryServiceImpl- Parameters:
savedQuery- the saved query- Returns:
- the query
-
isEmptyRawValueValid
protected boolean isEmptyRawValueValid(CockpitSavedParameterValueModel queryParameterValue)
-
-