Class DefaultCategoryPrincipalStrategy
java.lang.Object
de.hybris.platform.category.strategies.impl.DefaultCategoryPrincipalStrategy
- All Implemented Interfaces:
CategoryPrincipalStrategy
Default implementation for
CategoryPrincipalStrategy.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidreplacePrincipalsForAllRelatedCategories(CategoryModel category, List<PrincipalModel> newPrincipals) Replaces the principals of the specificCategoryModeland the principals down to all sub-categories and up to the super categories as well.voidreplacePrincipalsForCategory(CategoryModel category, List<PrincipalModel> newPrincipals) Replaces the principals of the specificCategoryModel.
-
Constructor Details
-
DefaultCategoryPrincipalStrategy
public DefaultCategoryPrincipalStrategy()
-
-
Method Details
-
replacePrincipalsForCategory
public void replacePrincipalsForCategory(CategoryModel category, List<PrincipalModel> newPrincipals) Description copied from interface:CategoryPrincipalStrategyReplaces the principals of the specificCategoryModel.- Specified by:
replacePrincipalsForCategoryin interfaceCategoryPrincipalStrategy
-
replacePrincipalsForAllRelatedCategories
public void replacePrincipalsForAllRelatedCategories(CategoryModel category, List<PrincipalModel> newPrincipals) Description copied from interface:CategoryPrincipalStrategyReplaces the principals of the specificCategoryModeland the principals down to all sub-categories and up to the super categories as well.- Specified by:
replacePrincipalsForAllRelatedCategoriesin interfaceCategoryPrincipalStrategy
-