/* ----------------------------------------
 * Origin  : GFI INFORMATIQUE 
 * Project : CDPP Propagation Tool 
 * ----------------------------------------
 * History 
 * Version : 01/05/2015 : SCA : V2.1
 * Version : 15/09/2016 : SCA : V2.2 (PSWS-H2020)
 *  Set a default J-map image if not exists
 * ----------------------------------------
 */
package fr.tlse.irap.server.serviceDAO;

import java.util.Date;

import fr.tlse.irap.map.CarringtonMap;
import fr.tlse.irap.map.CarringtonMapType;
import fr.tlse.irap.map.JMap;
import fr.tlse.irap.spaceElement.Probe;

public interface IFitsDAO {

	/**
	 * Load Carrington map from time and type
	 * @param time
	 * @param cmType
	 * @return
	 */
	CarringtonMap loadCarringtonMap(Date time, CarringtonMapType cmType);

	/**
	 * Load a J-map from params 
	 * @param observer
	 * @param type
	 * @param t1
	 * @param t2
	 * @return
	 */
	JMap loadJMap(Probe observer, String type, Date t1, Date t2);
	
	/** 
	 * load default J-Map from params
	 * @param observer
	 * @param type
	 * @param t1
	 * @param t2
	 * @return
	 */
	JMap loadDefaultJMap(Probe observer, String type, Date t1, Date t2);

}
