package it.csi.demo.democomp.business.business.dao.refappdao.dao;

import it.csi.demo.democomp.business.business.dao.refappdao.dao.*;
import it.csi.demo.democomp.business.business.dao.refappdao.dto.*;
import it.csi.demo.democomp.business.business.dao.refappdao.qbe.*;
import it.csi.demo.democomp.business.business.dao.refappdao.metadata.*;
import it.csi.demo.democomp.business.business.dao.refappdao.exceptions.*;
import it.csi.demo.democomp.business.business.dao.util.*;
import it.csi.demo.democomp.business.business.dao.qbe.*;
import java.util.*;
import java.sql.ResultSet;
import java.sql.SQLException;

/**
 * @generated
 */
public interface ComuneDao {

	/**
	 * Method 'mapRow'
	 * 
	 * @param rs
	 * @param row
	 * @throws SQLException
	 * @return ComuneDto
	 * @generated
	 */
	public ComuneDto mapRow(ResultSet rs, int row) throws SQLException;

	/**
	 * Method 'mapRow_internal'
	 * 
	 * @param rs
	 * @param row
	 * @throws SQLException
	 * @return ComuneDto
	 * @generated
	 */
	public ComuneDto mapRow_internal(ComuneDto objectToFill, ResultSet rs,
			int row) throws SQLException;

	/** 
	 * Returns all rows from the REFAPP_D_COMUNE table that match the primary key criteria
	 * @generated
	 */
	@SuppressWarnings("unchecked")
	public ComuneDto findByPrimaryKey(ComunePk pk) throws ComuneDaoException;

	/** 
	 * Returns all rows from the REFAPP_D_COMUNE table that match the criteria ''.
	 * @generated
	 */
	@SuppressWarnings("unchecked")
	public List<ComuneDto> findAll() throws ComuneDaoException;

	/** 
	 * Implementazione del finder findByProv
	 * @generated
	 */
	@SuppressWarnings("unchecked")
	public List<ComuneDto> findFindByProv(
			it.csi.demo.democomp.business.business.dao.refappdao.dto.ComuneDto input)
			throws ComuneDaoException;
}
