Package org.fao.geonet.domain

Examples of org.fao.geonet.domain.MetadataHarvestInfo


     */
    public void setHarvestedExt(final int id, final String harvestUuid, final Optional<String> harvestUri) throws Exception {
        _metadataRepository.update(id, new Updater<Metadata>() {
            @Override
            public void apply(Metadata metadata) {
                MetadataHarvestInfo harvestInfo = metadata.getHarvestInfo();
                harvestInfo.setUuid(harvestUuid);
                harvestInfo.setHarvested(harvestUuid != null);
                harvestInfo.setUri(harvestUri.orNull());
            }
        });
    }
View Full Code Here

TOP

Related Classes of org.fao.geonet.domain.MetadataHarvestInfo

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.