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

import com.eactive.eai.rms.onl.dashboard.dao.DashboardErrorDAO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.Vector;

@Service("dashboardErrorService")
public class DashboardErrorServiceImpl implements DashboardErrorService {


	/** The repository. */
	@Autowired
	@Qualifier("dashboardError")
	private DashboardErrorDAO dashboardErrorDao;
	
	public Vector<String[]> getLogList(String owner, String logTime, String nodeIndex,
			String errorType, String commDiv) throws Exception {
		return dashboardErrorDao.getLogList(owner, logTime, nodeIndex, errorType, commDiv);
	}
	
	public Vector<String[]> getLogListBranchTest(String owner, String logTime,
			String nodeIndex, String errorType, String commDiv)
			throws Exception {
		return dashboardErrorDao.getLogListBranchTest(owner, logTime, nodeIndex, errorType, commDiv);
		
	}
	
	public HashMap<String, Object> getDSGTelno(String owner, String adt) throws Exception {
		return dashboardErrorDao.getDSGTelno(owner, adt);
	}
	
}
