public interface BoostFacade
| Modifier and Type | Method and Description |
|---|---|
BoostRuleData |
createBoostRule(String categoryCode,
BoostRuleData boostRuleData)
Creates a new boost rule for a given category and propertyName.
|
String |
getBoostProfileCategoryId(String categoryId)
Returns the search profile category id for a given category id.
|
String |
getBoostProfileCategoryName(String categoryId)
Returns the search profile category name for a given category id.
|
Collection<BoostRuleData> |
getBoostRules(String categoryId)
Returns all boost rule settings for a given category.
|
SearchProfileData |
getSearchProfileData(String categoryCode)
Returns search profile data for a given category.
|
Collection<BoostRuleData> getBoostRules(String categoryId)
categoryId - The category code (leave null to retrieve global boosts)BoostRuleData or an empty collection if no BoostRuleData exists for that
categoryString getBoostProfileCategoryId(String categoryId)
categoryId - The category codeString getBoostProfileCategoryName(String categoryId)
categoryId - The category codeBoostRuleData createBoostRule(String categoryCode, BoostRuleData boostRuleData)
categoryCode - Category code for which the boost rule should be created.
The new boost rule will be assigned to the relevant search profile. If categoryCode is null then the new boost rule
will be assigned to the global search profile.boostRuleData - BoostRuleData contains information's like operatorType, boostFactor, propertyName and propertyValue
which are used to create a new boost ruleSearchProfileData getSearchProfileData(String categoryCode)
categoryCode - The category code the profile of which is being looked for.Copyright © 2017 SAP SE. All Rights Reserved.