Interface CategoryPrincipalStrategy
- All Known Implementing Classes:
DefaultCategoryPrincipalStrategy
public interface CategoryPrincipalStrategy
This 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
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.
-
Method Details
-
replacePrincipalsForCategory
Replaces the principals of the specificCategoryModel. -
replacePrincipalsForAllRelatedCategories
void replacePrincipalsForAllRelatedCategories(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.
-