CoolCMS API

Services

Table of Contents

Classes

DocumentService
The single writer of the movement journal and batches.
MarginReporter
Read-only margin report.
ReservationExpirer
Cron worker (this is the service only, the presenter is separate): releases lapsed active reservations (`status=ACTIVE AND expires_datetime < NOW()`). Raw DBAL, per-source serialization, deadlock retry.
ReservationService
Synchronous, atomic stock reservations, idempotent per `SourceRef`.
StockBatchService
Base Api service over a mapper; every concrete service owns exactly one entity.
StockDocumentService
Base Api service over a mapper; every concrete service owns exactly one entity.
StockItemService
Base Api service over a mapper; every concrete service owns exactly one entity.
StockLevelService
Base Api service over a mapper; every concrete service owns exactly one entity.
StockMovementBatchService
Base Api service over a mapper; every concrete service owns exactly one entity.
StockMovementService
Base Api service over a mapper; every concrete service owns exactly one entity.
StockReader
Read model for stock availability and delivery estimates. Pure reads, no locks.
StockRecalculator
Nightly self-heal of stock levels and item prices, run by cron.
StockReservationService
Base Api service over a mapper; every concrete service owns exactly one entity.
SupplierService
Base Api service over a mapper; every concrete service owns exactly one entity.
VacationService
Base Api service over a mapper; every concrete service owns exactly one entity.
WarehouseService
Base Api service over a mapper; every concrete service owns exactly one entity.
On this page

Search results