Package org.fao.geonet.repository

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


      Element operationEl = (Element) o;

      String  id    = Util.getAttrib(operationEl, Params.ID);
      final Element label = Util.getChild (operationEl, "label");

            operationRepository.update(Integer.valueOf(id), new Updater<Operation>() {
                @Override
                public void apply(@Nonnull Operation entity) {
                    entity.setLabelTranslations(label.getChildren());
                }
            });
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.