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 Detail

      • replacePrincipalsForAllRelatedCategories

        void replacePrincipalsForAllRelatedCategories​(CategoryModel category,
                                                      java.util.List<PrincipalModel> newPrincipals)
        Replaces the principals of the specific CategoryModel and the principals down to all sub-categories and up to the super categories as well.