Package org.geoserver.geofence.services

Examples of org.geoserver.geofence.services.RuleReaderService


        form.add(new AjaxSubmitLink("test") {
            @Override
            protected void onSubmit(AjaxRequestTarget target, Form<?> form) {
                ((FormComponent)form.get("servicesUrl")).processInput();
                String servicesUrl = (String)((FormComponent)form.get("servicesUrl")).getConvertedInput();
                RuleReaderService ruleReader = getRuleReaderService(servicesUrl);
                try {
                    List<ShortRule> rules = ruleReader.getMatchingRules(new RuleFilter());
                   
                    info(new StringResourceModel(GeofencePage.class.getSimpleName() +
                            ".connectionSuccessful", null).getObject());
                } catch(Exception e) {
                    error(e);
View Full Code Here

TOP

Related Classes of org.geoserver.geofence.services.RuleReaderService

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.