public interface XmlImporter
Modifier and Type | Method and Description |
---|---|
void |
importXml(String xmlFile)
Imports xml file
|
void importXml(String xmlFile) throws XmlValidationException, EntityDoesNotExistException, NotEnoughStoredException, ServiceException
xmlFile
- xml file to importXmlValidationException
- if something goes wrong during validationEntityDoesNotExistException
- if some entity doesn't existNotEnoughStoredException
- if there is not enough of certain item storedServiceException
- if something unexpected goes wrong while storing in dbCopyright © 2017 Pivotal Software, Inc.. All rights reserved.