Interface CategoryPrincipalStrategy
-
- All Known Implementing Classes:
DefaultCategoryPrincipalStrategy
public interface CategoryPrincipalStrategyThis strategy provides functionality around category and its principals. The principals can be set or added to the category so that the user rights can be defined specifically.- Spring Bean ID:
- categoryPrincipalStrategy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidreplacePrincipalsForAllRelatedCategories(CategoryModel category, java.util.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, java.util.List<PrincipalModel> newPrincipals)Replaces the principals of the specificCategoryModel.
-
-
-
Method Detail
-
replacePrincipalsForCategory
void replacePrincipalsForCategory(CategoryModel category, java.util.List<PrincipalModel> newPrincipals)
Replaces the principals of the specificCategoryModel.
-
replacePrincipalsForAllRelatedCategories
void replacePrincipalsForAllRelatedCategories(CategoryModel category, java.util.List<PrincipalModel> newPrincipals)
Replaces the principals of the specificCategoryModeland the principals down to all sub-categories and up to the super categories as well.
-
-