package com.ejie.ab04b.service.nora;

import java.util.List;

import com.ejie.ab04b.model.nora.Pais;
import com.ejie.x38.dto.JQGridRequestDto;
import com.ejie.x38.dto.JQGridResponseDto;
import com.ejie.x38.dto.TableRowDto;

/**
 * PaisService generated by UDA, 13-Jan-2017 12:55:53.
 * 
 * @author UDA
 */

public interface PaisService {

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

	/**
	 * Finds a list of rows in the Pais table.
	 * 
	 *  pais
	 *            Pais
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  List<Pais>
	 *
	 * @param pais the pais
	 * @param jqGridRequestDto the jq grid request dto
	 * @return the list
	 */
	List<Pais> findAll(Pais pais, JQGridRequestDto jqGridRequestDto);

	/**
	 * Finds rows in the Pais table using like.
	 * 
	 *  pais
	 *            Pais
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *  List<Pais>
	 *
	 * @param pais the pais
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the list
	 */
	List<Pais> findAllLike(Pais pais, JQGridRequestDto jqGridRequestDto, Boolean startsWith);

	/*
	 * OPERACIONES RUP_TABLE
	 */

	/**
	 * Filter method in the Pais table.
	 * 
	 *  filterPais
	 *            Pais
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *  JQGridResponseDto<Pais>
	 *
	 * @param filterPais the filter pais
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the JQ grid response dto
	 */
	JQGridResponseDto<Pais> filter(Pais filterPais, JQGridRequestDto jqGridRequestDto, Boolean startsWith);

	/**
	 * Searches rows in the Pais table.
	 * 
	 *  filterPais
	 *            Pais
	 *  searchPais
	 *            Pais
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *  List<TableRowDto<Pais>>
	 *
	 * @param filterPais the filter pais
	 * @param searchPais the search pais
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the list
	 */
	List<TableRowDto<Pais>> search(Pais filterPais, Pais searchPais, JQGridRequestDto jqGridRequestDto,
			Boolean startsWith);

	/**
	 * Reorder the selection made in Pais table.
	 * 
	 *  filterPais
	 *            Pais
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *  Object
	 *
	 * @param filterPais the filter pais
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the object
	 */
	Object reorderSelection(Pais filterPais, JQGridRequestDto jqGridRequestDto, Boolean startsWith);

}
