Interface CategoryRepositoryInterface
This interface defines methods for handling the database operations that concern the category records of the database. It provides a layer for more complicated methods that use the writer, reader and deleter.
| category |
System |
|---|---|
| package |
Category |
| subpackage |
Interfaces |
add(\CategoryInterface $category) : integer
integerStored id of the passed category.
deleteCategoryById(\IdType $categoryId) : \CategoryRepositoryInterface
getCategoryById(\IdType $categoryId) : \StoredCategoryInterface
getCategoryIdsByParentId(\IdType $parentId) : \IdCollection
getCategoryIdsTree(\IdType $parentCategoryId) : \IdCollection
store(\StoredCategoryInterface $category) : \CategoryRepositoryInterface