Package com.skymobi.monitor.model

Examples of com.skymobi.monitor.model.View


    @RequestMapping(value = "/admin/views/save")
    public @ResponseBody
    WebResult createView(HttpEntity<View> entity,  ModelMap map) {
        WebResult result=new WebResult();
        try{
            View view=entity.getBody();
            Assert.isTrue(view.getName().length() > 0,"name should not be null");
            logger.debug("save view ={}",view);
            viewService.saveView(view);
        } catch (Exception e){
            result.setSuccess(false);
            result.setMessage(e.getMessage());
View Full Code Here

TOP

Related Classes of com.skymobi.monitor.model.View

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.