Package com.infoclinika.web

Examples of com.infoclinika.web.ParseFileResult


            final String path = targetBucket + "|" + file.getContentId();
            final InstrumentVendorType vendorType = VENDOR_TYPE_MAP.get(file.getInstrument().getModel().vendor.getName());
            if (!SUPPORTED_INSTRUMENT_VENDORS.contains(vendorType)) {
                LOGGER.debug("Meta data file translating for '" + file.getName() + "' won't be executed because currently '" + file.getInstrument().getName() + "' instrument is not supported");
            } else {
                final ParseFileResult result = translationService.parseMetaData(path, vendorType);
                if (!StringUtils.isBlank(result.errorMessage)) {
                    LOGGER.error(result.errorMessage);
                    file.setInvalid(true);
                    notifier.invalidFileUploaded(file.getOwner().getId(), file.getId());
                } else {
View Full Code Here

TOP

Related Classes of com.infoclinika.web.ParseFileResult

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.