package br.com.centralit.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import br.com.centralit.api.framework.json.ViewsEcm; import br.com.centralit.api.model.TemplatePadrao; import br.com.centralit.api.service.TemplatePadraoService; import br.com.centralit.framework.controller.GenericController; /** *

* *

* *

* Company: Central IT - Governança Corporativa - *

* *

* Title: *

* *

* Description: *

* *

* Iniciativa(s): NUMERO_INICIATIVA *

* *

* Regra(s) de negócio: NUMERO_REGRA_DE_NEGOCIO *

* * @since 04/02/2016 - 15:52:36 * * @version 1.0.0 * * @author rogerio.costa * */ @Controller @RequestMapping("/rest/templatePadrao") public class TemplatePadraoController extends GenericController { /** Atributo templatePadraoService. */ private TemplatePadraoService templatePadraoService; /** * Responsável pela criação de novas instâncias desta classe. * * @param templatePadraoService */ @Autowired public TemplatePadraoController( TemplatePadraoService templatePadraoService ) { super(templatePadraoService); this.templatePadraoService = templatePadraoService; } @Override public Class getEditView() { return ViewsEcm.TemplatePadraoEditView.class; } @Override public Class getListView() { return ViewsEcm.TemplatePadraoListView.class; } }