Classes, interfaces and traits
CategoryObjectService¶
Class CategoryObjectService
Use this class for creating new categories objects with its default values.
« More »
CategoryReadService¶
Class CategoryReadService
This class provides methods for retrieving data of a particular category and a collection of specific categories.
« More »
CategoryWriteService¶
Class CategoryWriteService
This class provides methods for creating, updating and deleting categories data.
« More »
Classes, interfaces and traits
CategoryFactoryInterface¶
Interface CategoryFactoryInterface
This interface defines methods for creating Category and StoredCategory objects with its CategorySettings dependency.
« More »
CategoryInterface¶
Interface CategoryInterface
« More »
CategoryListProviderFactoryInterface¶
Interface CategoryListProviderFactoryInterface
This interface defines methods for creating CategoryListProvider objects for a specific language and filter of
customer status permissions with its dependencies.
« More »
CategoryListProviderInterface¶
Interface CategoryListProviderInterface
This interface defines methods for creating a list of flattened categories with just its essential data.
The list of categories is filtered by its parent category ID and customer status permissions and for simplicity
it contains language specific data only in one language.
« More »
CategoryObjectServiceInterface¶
Interface CategoryObjectServiceInterface
This interface defines methods for creating new categories objects with its default values.
« More »
CategoryReadServiceInterface¶
Interface CategoryReadServiceInterface
This interface defines methods for retrieving data of a particular category and a collection of specific categories.
« More »
CategoryRepositoryDeleterInterface¶
Interface CategoryRepositoryDeleterInterface
This interface defines methods for deleting category records from the database and is used in the category
repository among the interfaces for writing and reading category records.
« More »
CategoryRepositoryInterface¶
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.
« More »
CategoryRepositoryReaderInterface¶
Interface CategoryRepositoryReaderInterface
This interface defines methods for fetching category records from the database and is used in the category
repository among the classes for writing and deleting category records.
« More »
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.
« More »
CategoryServiceSettingsInterface¶
Interface CategoryServiceSettingsInterface
This class contains the file system path to the image directory by using specific constants which are defined in
the config. It is used by the factory to build the proper service environment.
By encapsulating this dependency the code becomes more explicit and testable.
« More »
CategorySettingsInterface¶
Interface CategorySettingsInterface
This interface defines methods for storing and retrieving some settings regarding display and visibility mode of
category related data and is used within a CategoryInterface.
« More »
CategorySettingsRepositoryInterface¶
Interface CategorySettingsRepositoryInterface
This interface handles the database operations that concern settings regarding display and visibility mode of
category related data of the database. It provides a layer for more complicated methods that use the writer, reader
and deleter.
« More »
CategorySettingsRepositoryReaderInterface¶
Interface CategorySettingsRepositoryReaderInterface
This interface defines methods for fetching particular columns of specific category records in the database.
The category settings are stored in the categories table and are more related to display and visibility modes of
category related data.
« More »
CategorySettingsRepositoryWriterInterface¶
Interface CategorySettingsRepositoryWriterInterface
This interface defines methods for updating particular columns of specific category records in the database.
The category settings are stored in the categories table and are more related to display and visibility modes of
category related data.
« More »
CategoryWriteServiceInterface¶
Interface CategoryWriteServiceInterface
This interface defines methods for creating, updating and deleting categories data.
« More »
StoredCategoryInterface¶
Interface StoredCategoryInterface
This interface extends the Category CategoryInterface and represents a persisted category with an unique ID.
« More »
Classes, interfaces and traits
AbstractCategoryServiceFactory¶
Class AbstractCategoryServiceFactory
This abstract class defines defines the api contract for the CategoryServiceFactory.
« More »
CategoryFactory¶
Class CategoryFactory
This class creates Category and StoredCategory objects with its CategorySettings dependency.
« More »
CategoryListProviderFactory¶
Class CategoryListProviderFactory
This class creates CategoryListProvider objects for a specific language and filter of customer status permissions
with its dependencies.
« More »
CategoryServiceFactory¶
Class CategoryServiceFactory
This class provides methods for creating the objects of the public category service api with its dependencies.
« More »
Classes, interfaces and traits
CategoryRepository¶
Class CategoryRepository
This class handles 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.
« More »
CategoryRepositoryDeleter¶
Class CategoryRepositoryDeleter
This class deletes category records from the database and is used in the category repository among the classes for
writing and reading category records.
« More »
CategoryRepositoryReader¶
Class CategoryRepositoryReader
This class provides methods for fetching specific category records from the database and is used in the category
repository among the classes for writing and deleting category records.
« More »
CategoryRepositoryWriter¶
Class CategoryRepositoryWriter
This class provides methods for creating and updating specific category records in the database and is used in the
category repository among the classes for reading and deleting category records.
« More »
CategorySettingsRepository¶
Class CategorySettingsRepository
This class handles the database operations that concern settings regarding display and visibility mode of category
related data of the database. It provides a layer for more complicated methods that use the writer, reader and
deleter.
« More »
CategorySettingsRepositoryReader¶
Class CategorySettingsRepositoryReader
This class provides methods for fetching particular columns of specific category records in the database.
The category settings are stored in the categories table and are more related to display and visibility modes of
category related data.
« More »
CategorySettingsRepositoryWriter¶
Class CategorySettingsRepositoryWriter
This class provides methods for updating particular columns of specific category records in the database.
The category settings are stored in the categories table and are more related to display and visibility modes of
category related data.
« More »
Classes, interfaces and traits
Category¶
Class Category
This class represents a shop category which is not persisted yet.
« More »
CategoryListItem¶
Class CategoryListItem
This class represents a flattened category with just its essential data.
The object stores language specific data only in one language and is mainly used inside a CategoryListItemCollection
for displaying among other CategoryListItems in a list.
The class provides only read access and can not use to manipulate and persist categories data.
« More »
CategorySettings¶
Class CategorySettings
This Class stores some settings regarding display and visibility mode of category related data and is used within a
CategoryInterface.
« More »
EnvCategoryServiceSettings¶
Class EnvCategoryServiceSettings
This class contains the file system path to the image directory by using specific constants which are defined in
the config. It is used by the factory to build the proper service environment.
By encapsulating this dependency the code becomes more explicit and testable.
« More »
StoredCategory¶
Class StoredCategory
This class extends the Category class and represents a persisted category with an unique ID.
« More »