/******************************************************************************
 * CrudDao.java - created by Sakai App Builder -AZ
 * 
 * Copyright (c) 2007 Sakai Project/Sakai Foundation
 * Licensed under the Educational Community License version 1.0
 * 
 * A copy of the Educational Community License has been included in this 
 * distribution and is available at: http://www.opensource.org/licenses/ecl1.php
 * 
 *****************************************************************************/

package org.sakaiproject.wontovlab.dao;

import java.util.List;

import org.sakaiproject.wontovlab.model.Experiment;

/**
 * This is a specialized DAO that allows the developer to extend
 * the functionality of the generic dao package
 * @author Sakai App Builder -AZ
 */
public interface ExperimentDao {

	public List findAllExperiments();
	
	public List findExperimentByExperimentName(String experimentName);
	
	public List findExperimentByExperimentId(Long experimentId);
	
	//public List findByLocation(String locationId);
	
	public boolean saveExperiment(Experiment l);
	
	public boolean deleteExperiment(Experiment l);
}
