/********************************************************************
 * Copyright © 2005 VHA. All rights reserved
 ********************************************************************/


package gov.va.med.esr.ui.common.dao;

import java.util.ArrayList;
import java.util.List;

import gov.va.med.esr.service.UnknownLookupTypeException;
import gov.va.med.fw.batchprocess.BatchProcessInvoker;

/**
 * Initial javadoc for class BatchProcessDetailsDAO.
 * TODO - Add content here
 * 
 * Created Jan 31, 2006 4:06:02 PM
 * @author DNS   BOHMEG
 */
public class BatchProcessDetailsDAO extends UIAbstractLookupDAO {
	private BatchProcessInvoker invoker;
	
	/* (non-Javadoc)
	 * @see gov.va.med.esr.ui.common.dao.UIAbstractLookupDAO#findAll()
	 */
	public List findAll() throws UnknownLookupTypeException,
			ClassNotFoundException {
		return new ArrayList(invoker.getBatchProcessDetails());
	}

	/**
	 * @return Returns the invoker.
	 */
	public BatchProcessInvoker getInvoker() {
		return invoker;
	}

	/**
	 * @param invoker The invoker to set.
	 */
	public void setInvoker(BatchProcessInvoker invoker) {
		this.invoker = invoker;
	}

}
