/* ----------------------------------------
 * Origin  : GFI INFORMATIQUE 
 * Project : CDPP Propagation Tool 
 * ----------------------------------------
 * History 
 * Version : 01/05/2015 : SCA : V2.1
 * ----------------------------------------
 */
package fr.tlse.irap.fit;

import java.util.Date;

import jakarta.jws.WebMethod;
import jakarta.jws.WebService;
import jakarta.jws.soap.SOAPBinding;
import jakarta.jws.soap.SOAPBinding.Style;

import fr.tlse.irap.tool.radial.CMEType;

@WebService
@SOAPBinding(style = Style.RPC)
public interface IFit {

	/**
	 * 
	 * @param t1
	 * @param t2
	 * @param sourceName
	 * @return
	 */
	@WebMethod 
	FitCatalog fetchFitsCIR(Date t1, Date t2, String sourceName);

	/**
	 * Get catalog of CMEs from HELCATS HIGeoCAT of LINKCAT
	 * @param t1
	 * @param t2
	 * @param cmeType
	 * @param sourceName
	 * @return catalog of fits
	 */
	@WebMethod 
	FitCatalog fetchFitsCME(Date t1, Date t2, boolean fromLinkcat, CMEType cmeType, String sourceName);

	/**
	 * 
	 * @param initialTime
	 * @param probeName
	 * @return
	 */
	@WebMethod 
	FitImages fetchImagesCIR(Date initialTime, String probeName);

	/**
	 * 
	 * @param initialTime
	 * @param probeName
	 * @return
	 */
	@WebMethod 
	FitImages fetchImagesCME(Date initialTime, String probeName);
}
