package com.ejie.m62fb.service;

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

import com.ejie.m62fb.model.Adjudicatario;

/**
 * AdjudicatarioService generated by UDA, 24-oct-2012 16:55:00.
 * 
XXXX
 */

public interface AdjudicatarioService {

	/**
	 * Inserts a single row in the Adjudicatario table.
	 * 
	 * @param adjudicatario
	 *            Adjudicatario
	 * @return Adjudicatario
	 */
	Adjudicatario add(Adjudicatario adjudicatario);

	/**
	 * Updates a single row in the Adjudicatario table.
	 * 
	 * @param adjudicatario
	 *            Adjudicatario
	 * @return Adjudicatario
	 */
	Adjudicatario update(Adjudicatario adjudicatario);

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

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

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

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

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

	/**
	 * Deletes a single row in the Adjudicatario table.
	 * 
	 * @param adjudicatario
	 *            Adjudicatario
	 * @return
	 */
	void remove(Adjudicatario adjudicatario);

	/**
	 * Deletes multiple rows in the Adjudicatario table.
	 * 
	 * @param adjudicatarioList
	 *            List
	 * @return
	 */
	void removeMultiple(List<Adjudicatario> adjudicatarioList);

}
