Package org.fao.geonet.repository

Examples of org.fao.geonet.repository.ThesaurusActivationRepository.save()


            final ThesaurusActivation activation = new ThesaurusActivation();
            activation.setId(fname);
            activation.setActivated(Constants.toBoolean_fromYNChar(activated.charAt(0)));

            thesaurusRepository.save(activation);

        } else {
            // Thesaurus does not exist
            throw new Exception("Thesaurus not found");
        }
View Full Code Here


        final ThesaurusActivation activation = new ThesaurusActivation();
        activation.setId(fname);
        activation.setActivated(Constants.toBoolean_fromYNChar(activated.charAt(0)));

        activationRepository.save(activation);

    Element elResp = new Element(Jeeves.Elem.RESPONSE);
    Element elRef = new Element("ref");   
    elRef.addContent(theKey);
    elResp.addContent(elRef);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.