package somiba.dao;

import java.util.List;

import somiba.domain.Season;


public interface SeasonDao {

	public Season get(String name, String year, String team) throws DataAccessException;

	public List<Season> getSameYear(String name, String year) throws DataAccessException;

    public List<Season> getAllByName(String name) throws DataAccessException;

    public List<Season> getAll() throws DataAccessException;

    public List<Season> getAllTotals() throws DataAccessException;

    public List<Season> getAllByQuery(String whereClause, int maxResults) throws DataAccessException;

    public void save(Season season) throws DataAccessException;

    public void update(Season season) throws DataAccessException;

    public void delete(Season season) throws DataAccessException;

}
