Package com.skymobi.monitor.model

Examples of com.skymobi.monitor.model.Project.saveChart()


    @RequestMapping(value = "/projects/{projectName}/charts", method = RequestMethod.POST)
    public String update(ModelMap map, @PathVariable String projectName, Chart chart) {
        Project project = projectService.findProject(projectName);
        Assert.notNull("chart name can't be null", chart.getName());
        project.saveChart(chart);
        projectService.saveProject(project);
        map.put("project", project);

        return "chart/list";
    }
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.