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
All Methods Instance Methods Abstract 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
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 specificCategoryModel
and the principals down to all sub-categories and up to the super categories as well.
-
-