public class SalesImporterImpl extends Object implements SalesImporter
Constructor and Description |
---|
SalesImporterImpl(SaleFacade saleFacade)
Constructor
|
public SalesImporterImpl(SaleFacade saleFacade)
saleFacade
- sale facadepublic void importSales(Element e) throws ServiceException, EntityDoesNotExistException, NotEnoughStoredException
SalesImporter
importSales
in interface SalesImporter
e
- root element of XML fileServiceException
- If there are unexpected troubles on service layerEntityDoesNotExistException
- If one of items referenced in sales does not existNotEnoughStoredException
- if there is not enough items storedCopyright © 2017 Pivotal Software, Inc.. All rights reserved.