Introduction
The module’s integration lets you generate different kinds of barcode images for your products.
Development
Core
Entity Definitions
The definitions in this module have id discriminators in the range 120-130. |
The BarcodeMediaEntityDefinition extends the AbstractEntityDefinition:

The BarcodeMediaEntityDefinition
represents the single generated barcode image. Via the respective getter-setter pairs, the following relative information can be retrieved/stored in the database:
Property | Description |
---|---|
barcodeText |
stores the text the barcode is associated with |
product |
stores the respective product the barcode refers to |
barcodeFormat |
stores the format the barcode is in |
Spring Data JPA Repositories
The BarcodeRepository extends the BaseEntityRepository
and is the corresponding Spring Data JPA repository for the BarcodeMediaEntityDefinition
:

Business Services
The BarcodeService defines several additional helper methods that allow you to:
Description | Method |
---|---|
create a new barcode media file with the given content |
createBarcodeMediaForContent() |
create a new barcode image |
createBarcodeImage() |
create a new barcode image for a group of products within a catalog |
createBarcodesForAllProductsInCatalog() |
Facade
Facades
The defined method in the BarcodeFacade lets you create a new barcode image, using the given product code.
There are no views, associated with the module.