Interface 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.
Direct known implementers
Package: Category\Interfaces
Category: System
Located at Services/Core/Category/Repositories/Writer/Interfaces/CategoryRepositoryWriterInterface.inc.php
Category: System
Located at Services/Core/Category/Repositories/Writer/Interfaces/CategoryRepositoryWriterInterface.inc.php
Methods summary
public
insert( CategoryInterface $category )
: integer
Inserts a category record into the database accordingly to the provided category object and returns the ID from the saved entity.
public
update( StoredCategoryInterface $category )
: CategoryRepositoryWriterInterface
Updates an existing category record accordingly to the provided category object.