package com.ejie.m62fb.service;

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

import com.ejie.m62fb.model.M62fbCalles;

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

public interface M62fbCallesService {

	/**
	 * 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);

}
