ReabrirProcessoController.java 1.68 KB
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.ReabrirProcesso;
import br.com.centralit.api.service.ReabrirProcessoService;
import br.com.centralit.framework.controller.GenericController;

/**
 * <p><img src="http://centralit.com.br/images/logo_central.png"></p>
 *
 * <p><b>Company: </b> Central IT - Governança Corporativa - </p>
 *
 * <p><b>Title: </b></p>
 *
 * <p><b>Description: </b></p>
 * 
 * <p><b>Iniciativa(s):</b> <a href="LINK_PORTAL">NUMERO_INICIATIVA</a></p>
 *
 * <p><b>Regra(s) de negócio:</b> <a href="LINK_PORTAL">NUMERO_REGRA_DE_NEGOCIO</a></p>	
 * 	
 * @since 01/04/2016 - 19:06:06
 *
 * @version 1.0.0
 *
 * @author maycon.silva
 *	
 */
@Controller
@RequestMapping("/rest/reabrirProcesso")
public class ReabrirProcessoController extends GenericController<ReabrirProcesso> {

	/** Atributo reabrirProcessoDao. */
	private ReabrirProcessoService reabrirProcessoService;

	/**
	 * Responsável pela criação de novas instâncias desta classe.
	 * 
	 * @param reabrirProcessoService
	 */
	@Autowired
	public ReabrirProcessoController( ReabrirProcessoService reabrirProcessoService ) {

		super(reabrirProcessoService);

		this.reabrirProcessoService = reabrirProcessoService;
	}

	@Override
	public Class<ViewsEcm.ReabrirProcessoEditView> getEditView() {

		return ViewsEcm.ReabrirProcessoEditView.class;
	}

	@Override
	public Class<ViewsEcm.ReabrirProcessoListView> getListView() {

		return ViewsEcm.ReabrirProcessoListView.class;
	}



}