phpDocumentor

CategoryRepositoryWriterInterface

Interface CategoryRepositoryWriterInterface

This interface defines methods for creating and updating specific category records in the database and is used in the category repository among the interfaces for reading and deleting category records.

Tags
category

System

subpackage

Interfaces

Table of Contents

detachMainCategoryFromProducts()  : CategoryRepositoryWriter
Updates the main category ID from the products
insert()  : int
Inserts a category record into the database accordingly to the provided category object and returns the ID from the saved entity.
update()  : CategoryRepositoryWriterInterface
Updates an existing category record accordingly to the provided category object.

Methods

Search results