package com.ejie.m62fb.dao;

import com.ejie.x38.dto.Pagination;
import java.util.List;

import com.ejie.m62fb.model.M62fbCalles;

/**
 * M62fbCallesDao generated by UDA, 22-oct-2012 12:14:19.
 * 
XXXX
 */

public interface M62fbCallesDao {

	/**
	 * Finds a single row in the M62fbCalles table.
	 * 
	 * @param m62fbcalles
	 *            M62fbCalles
	 * @return M62fbCalles
	 */
	M62fbCalles find(M62fbCalles m62fbcalles);

	/**
	 * Finds a List of rows in the M62fbCalles table.
	 * 
	 * @param m62fbcalles
	 *            M62fbCalles
	 * @param pagination
	 *            Pagination
	 * @return List
	 */
	List<M62fbCalles> findAll(M62fbCalles m62fbcalles, Pagination pagination);

	/**
	 * Counts rows in the M62fbCalles table.
	 * 
	 * @param m62fbcalles
	 *            M62fbCalles
	 * @return Long
	 */
	Long findAllCount(M62fbCalles m62fbcalles);

	/**
	 * Finds rows in the M62fbCalles table using like.
	 * 
	 * @param m62fbcalles
	 *            M62fbCalles
	 * @param pagination
	 *            Pagination
	 * @param startsWith
	 *            Boolean
	 * @return List
	 */
	List<M62fbCalles> findAllLike(M62fbCalles m62fbcalles,
			Pagination pagination, Boolean startsWith);

	/**
	 * Counts rows in the M62fbCalles table using like.
	 * 
	 * @param m62fbcalles
	 *            M62fbCalles
	 * @param startsWith
	 *            Boolean
	 * @return Long
	 */
	Long findAllLikeCount(M62fbCalles m62fbcalles, Boolean startsWith);
}
