package com.ejie.ab39a.service;

import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletResponse;

import org.springframework.context.support.ReloadableResourceBundleMessageSource;

import com.ejie.ab39a.model.AccionesPg;
import com.ejie.ab39a.model.ElementosArbol;
import com.ejie.ab39a.model.PlanesEstrategicos;
import com.ejie.ab39a.model.PlanesGestion;

/**
 * Eje.
 * 
 *  
 */

public interface ExcelService {

	/**
	 * Generar excel pe
	 * 
	 * @param appMessageSource
	 *            ReloadableResourceBundleMessageSource appMessageSource
	 * @param plan
	 *            PlanesEstrategicos plan
	 * @param lista
	 *            List<ElementosArbol> lista
	 * @param response
	 *            HttpServletResponse response
	 * @throws FileNotFoundException
	 *             e e
	 * @throws IOException
	 *             e e
	 */
	void generarExcelPE(ReloadableResourceBundleMessageSource appMessageSource, PlanesEstrategicos plan,
			List<ElementosArbol> lista, HttpServletResponse response) throws FileNotFoundException, IOException;

	/**
	 * Generar excel pg
	 * 
	 * @param appMessageSource
	 *            ReloadableResourceBundleMessageSource appMessageSource
	 * @param acciones
	 *            Map<String, List<AccionesPg>> acciones
	 * @param lista
	 *            List<ElementosArbol> lista
	 * @param response
	 *            HttpServletResponse response
	 * @param plan
	 *            PlanesGestion plan
	 * @throws FileNotFoundException
	 *             e e
	 * @throws IOException
	 *             e e
	 */
	void generarExcelPG(ReloadableResourceBundleMessageSource appMessageSource, Map<String, List<AccionesPg>> acciones,
			List<ElementosArbol> lista, PlanesGestion plan, HttpServletResponse response)
			throws FileNotFoundException, IOException;

}
