Package org.magicbox.controller

Source Code of org.magicbox.controller.SmsGraphController

package org.magicbox.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.magicbox.dto.SpedizioneCriteria;
import org.magicbox.util.Constant;
import org.springframework.validation.BindException;
import org.springframework.web.servlet.ModelAndView;

//TODO da rifare
public class SmsGraphController extends StatsController {

    public SmsGraphController() {
        super.setFormView("graph/statsSms");
    }

    @Override
    protected ModelAndView onSubmit(HttpServletRequest req, HttpServletResponse res, Object command, BindException errors) throws Exception {

        SpedizioneCriteria spedizione = (SpedizioneCriteria) command;
        // Dataset storico = storicoService.getStorico(spedizione);
        return new ModelAndView("graph.page", Constant.STORICO, null);
    }
}
TOP

Related Classes of org.magicbox.controller.SmsGraphController

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.