Package org.fao.geonet.repository

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


           
         
      Element elActivated= new Element("activated");
            char activated = Constants.YN_TRUE;
            final ThesaurusActivationRepository activationRepository = context.getBean(ThesaurusActivationRepository.class);
            final ThesaurusActivation activation = activationRepository.findOne(currentTh.getKey());
            if (activation == null || !activation.isActivated()) {
                activated = Constants.YN_FALSE;
            }
            elActivated.setText(""+activated);
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.