Class DefaultCategoryPrincipalStrategy
- java.lang.Object
-
- de.hybris.platform.category.strategies.impl.DefaultCategoryPrincipalStrategy
-
- All Implemented Interfaces:
CategoryPrincipalStrategy
public class DefaultCategoryPrincipalStrategy extends java.lang.Object implements CategoryPrincipalStrategy
Default implementation forCategoryPrincipalStrategy
.
-
-
Constructor Summary
Constructors Constructor Description DefaultCategoryPrincipalStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
replacePrincipalsForAllRelatedCategories(CategoryModel category, java.util.List<PrincipalModel> newPrincipals)
Replaces the principals of the specificCategoryModel
and the principals down to all sub-categories and up to the super categories as well.void
replacePrincipalsForCategory(CategoryModel category, java.util.List<PrincipalModel> newPrincipals)
Replaces the principals of the specificCategoryModel
.
-
-
-
Method Detail
-
replacePrincipalsForCategory
public void replacePrincipalsForCategory(CategoryModel category, java.util.List<PrincipalModel> newPrincipals)
Description copied from interface:CategoryPrincipalStrategy
Replaces the principals of the specificCategoryModel
.- Specified by:
replacePrincipalsForCategory
in interfaceCategoryPrincipalStrategy
-
replacePrincipalsForAllRelatedCategories
public void replacePrincipalsForAllRelatedCategories(CategoryModel category, java.util.List<PrincipalModel> newPrincipals)
Description copied from interface:CategoryPrincipalStrategy
Replaces the principals of the specificCategoryModel
and the principals down to all sub-categories and up to the super categories as well.- Specified by:
replacePrincipalsForAllRelatedCategories
in interfaceCategoryPrincipalStrategy
-
-