Interface Categories

All Known Implementing Classes:
CategoriesImpl

@Experimental public interface Categories
  • Method Details

    • getCategoryById

      Category getCategoryById(String id, Parameters parameters)
    • createSubcategories

      List<Category> createSubcategories(String parentCategoryId, List<Category> categories, Parameters parameters)
    • getCategoryChildren

      CollectionWithPagingInfo<Category> getCategoryChildren(String parentCategoryId, Parameters parameters)
    • updateCategoryById

      Category updateCategoryById(String id, Category fixedCategoryModel)
      Update category by ID. Currently, it's possible only to update the name of category.
      Parameters:
      id - Category ID.
      fixedCategoryModel - Fixed category model.
      Returns:
      Updated category.
    • deleteCategoryById

      void deleteCategoryById(String id, Parameters parameters)
    • linkNodeToCategories

      List<Category> linkNodeToCategories(String nodeId, List<Category> categoryLinks)
      Link node to categories. Node types allowed for categorization are specified within TypeConstraint.
      Parameters:
      nodeId - Node ID.
      categoryLinks - Category IDs to which content should be linked to.
      Returns:
      Linked to categories.