package com.eactive.eai.rms.onl.loader.service;

import java.util.ArrayList;
import java.util.HashMap;

import com.eactive.eai.rms.common.datasource.DataSourceType;

public interface HistoryService{

    /**
     * layout loading
     */
    public HashMap<String, ArrayList<HashMap<String, String>>> userHistoryList(DataSourceType dt, String userId) throws Exception ;
    public HashMap<String, ArrayList<HashMap<String, String>>> userHistoryListByInterface(DataSourceType dt, String interfaceId) throws Exception ;
    public String parse(String serviceType, String iomapPath, String userId, HashMap<String, ArrayList<HashMap<String, String>>> list) throws Exception ;
    public String parseSimple(String serviceType, String iomapPath, HashMap<String, ArrayList<HashMap<String, String>>> list) throws Exception ;
	public HashMap<String, ArrayList<HashMap<String, String>>> userHistoryListByLayout(DataSourceType dt,
			String[] eaiLoutNames) throws Exception;
	public HashMap<String, ArrayList<HashMap<String, String>>> userHistoryListByTransform(DataSourceType dt,
			String[] transformNames) throws Exception;
	public HashMap<String, ArrayList<HashMap<String, String>>> userHistoryListByAdapter(DataSourceType dt,
			String[] adapterNames) throws Exception;
}