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 CockpitConfigurationService
cockpitConfigurationService
protected ListViewConfigurationPersistingStrategy
listViewConfigurationPersistingStrategy
protected LoginService
loginService
protected MediaService
mediaService
protected UIConfigurationService
uiConfigurationService
protected UserService
userService
-
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 void
addCategoryItemSelectionParameters(CockpitSavedQuery cockpitSavedQuery, Query query)
Deprecated.since 6.3protected void
addCategoryItemSelectionParameters(CockpitSavedQueryModel cockpitSavedQuery, Query query)
protected void
addSpecialParameters(CockpitSavedQuery cockpitSavedQuery, Query query)
Override this to add special parameters from context to search queryCockpitSavedQueryModel
createSavedQuery(java.lang.String label, Query query, UserModel user)
Creates the saved query.Query
getQuery(CockpitSavedQueryModel savedQuery)
Gets the query.protected boolean
isEmptyRawValueValid(CockpitSavedParameterValueModel queryParameterValue)
protected void
saveListViewConfiguration(java.lang.String objectTemplateCode, CockpitSavedQueryModel cockpitSavedQuery)
void
setCockpitConfigurationService(CockpitConfigurationService cockpitConfigurationService)
void
setListViewConfigurationPersistingStrategy(ListViewConfigurationPersistingStrategy listViewConfigurationPersistingStrategy)
void
setLoginService(LoginService loginService)
void
setMediaService(MediaService mediaService)
void
setUiConfigurationService(UIConfigurationService uiConfigurationService)
void
setUserService(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:SavedQueryServiceImpl
Override this to add special parameters from context to search query- Overrides:
addSpecialParameters
in classSavedQueryServiceImpl
-
createSavedQuery
public CockpitSavedQueryModel createSavedQuery(java.lang.String label, Query query, UserModel user)
Description copied from interface:SavedQueryService
Creates the saved query.- Specified by:
createSavedQuery
in interfaceSavedQueryService
- Overrides:
createSavedQuery
in 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:SavedQueryService
Gets the query.- Specified by:
getQuery
in interfaceSavedQueryService
- Overrides:
getQuery
in classSavedQueryServiceImpl
- Parameters:
savedQuery
- the saved query- Returns:
- the query
-
isEmptyRawValueValid
protected boolean isEmptyRawValueValid(CockpitSavedParameterValueModel queryParameterValue)
-
-