Overview
  • Package
  • Class
  • Tree
  • Todo

Packages

  • AddonValue
    • Interfaces
  • ApiV2Controllers
  • Category
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • Customer
    • Address
    • Country
    • CountryZone
    • Interfaces
    • Validation
    • ValueObjects
  • Email
    • Collections
    • Entities
    • Exceptions
    • Interfaces
    • Repository
    • ValueObjects
  • Http
    • Collections
    • Exceptions
    • Factories
    • Interfaces
    • ValueObjects
  • Loaders
    • CrossCuttingLoader
    • GXCoreLoader
    • Interfaces
  • None
  • Order
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
    • ValueObjects
  • Product
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • ProductModule
    • Collections
    • Deleter
    • Entities
    • Factories
    • Interface
    • Interfaces
    • Reader
    • Repositories
    • Writer
  • Shared
    • Exceptions
    • FileSystem
    • Interfaces
    • Storage
    • Types
  • Statistics
    • Interfaces
  • UserConfiguration
    • Interfaces
    • Repository

Interfaces

  • CategoryFactoryInterface
  • CategoryInterface
  • CategoryListProviderFactoryInterface
  • CategoryListProviderInterface
  • CategoryObjectServiceInterface
  • CategoryReadServiceInterface
  • CategoryRepositoryDeleterInterface
  • CategoryRepositoryInterface
  • CategoryRepositoryReaderInterface
  • CategoryRepositoryWriterInterface
  • CategoryServiceSettingsInterface
  • CategorySettingsInterface
  • CategorySettingsRepositoryInterface
  • CategorySettingsRepositoryReaderInterface
  • CategorySettingsRepositoryWriterInterface
  • CategoryWriteServiceInterface
  • StoredCategoryInterface

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

CategoryRepositoryWriter

Package: Category\Interfaces
Category: System
Located at CoreServices/Category/Repositories/Writer/Interfaces/CategoryRepositoryWriterInterface.inc.php

Methods summary

public integer
# insert( CategoryInterface $category )

Inserts a category record into the database accordingly to the provided category object and returns the ID from the saved entity.

Inserts a category record into the database accordingly to the provided category object and returns the ID from the saved entity.

Parameters

$category
The category to insert.

Returns

integer
Returns the ID of the new category.
public CategoryRepositoryWriterInterface
# update( StoredCategoryInterface $category )

Updates an existing category record accordingly to the provided category object.

Updates an existing category record accordingly to the provided category object.

Parameters

$category
The category to update.

Returns

CategoryRepositoryWriterInterface
Same instance for chained method calls.
API documentation generated by ApiGen