public interface SalesImporter
Modifier and Type | Method and Description |
---|---|
void |
importSales(Element e)
Imports sales
|
void importSales(Element e) throws ServiceException, EntityDoesNotExistException, NotEnoughStoredException
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.