Package org.fao.geonet.repository

Examples of org.fao.geonet.repository.ServiceRepository


        try {
            Element eltServices = new Element("services");
            eltServices.setAttribute("package", "org.fao.geonet");
           
            java.util.List<Service> serviceList = null;
            ServiceRepository serviceRepo = context.getBean(ServiceRepository.class);
            if (serviceIdentifierToLoad == -1) {
                serviceList = serviceRepo.findAll();
            } else {
                serviceList = Collections.singletonList(serviceRepo.findOne(serviceIdentifierToLoad));
            }

            for (Service service : serviceList) {
                if (service != null) {
                    Element srv = new Element("service");
View Full Code Here

TOP

Related Classes of org.fao.geonet.repository.ServiceRepository

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.