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 Details

    • replacePrincipalsForCategory

      void replacePrincipalsForCategory(CategoryModel category, List<PrincipalModel> newPrincipals)
      Replaces the principals of the specific CategoryModel.
    • replacePrincipalsForAllRelatedCategories

      void replacePrincipalsForAllRelatedCategories(CategoryModel category, 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.