com.elasticpath.cmweb.reportservice.impl
Class ProductReportServiceImpl
java.lang.Object
com.elasticpath.service.impl.AbstractEpServiceImpl
com.elasticpath.cmweb.reportservice.impl.ProductReportServiceImpl
- All Implemented Interfaces:
- ProductReportService, EpService
public class ProductReportServiceImpl
- extends AbstractEpServiceImpl
- implements ProductReportService
This service provides access to functionality and data (beans) for
manipulating order on the Javascript client.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProductReportServiceImpl
public ProductReportServiceImpl()
getPersistenceEngine
public PersistenceEngine getPersistenceEngine()
- Returns the persistence engine.
- Returns:
- the persistence engine.
lowStockReport
public java.util.List lowStockReport()
- List sku details for low stock items: ie,
'Available On Hand Qty' < 'Reserved Qty' AND 'Track Inventory' = TRUE.
- Specified by:
lowStockReport
in interface ProductReportService
- Returns:
- list of low stock items sorted (descending) by restock date.
setPersistenceEngine
public void setPersistenceEngine(PersistenceEngine persistenceEngine)
- Sets the persistence engine.
- Parameters:
persistenceEngine
- the persistence engine to set.