Package org.fao.geonet.repository

Examples of org.fao.geonet.repository.SchematronCriteriaRepository.update()


        final String uiType = Util.getParam(params, PARAM_UI_TYPE, null);
        final String uiValue = Util.getParam(params, PARAM_UI_VALUE, null);


        final SchematronCriteriaRepository criteriaRepository = context.getBean(SchematronCriteriaRepository.class);
        criteriaRepository.update(id, new Updater<SchematronCriteria>() {
            @Override
            public void apply(@Nonnull SchematronCriteria entity) {
                if (type != null) {
                    entity.setType(SchematronCriteriaType.valueOf(type.toUpperCase()));
                }
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.