package com.ejie.ab61.service.nora;

import java.util.ArrayList;
import java.util.List;

import com.ejie.ab61.model.nora.T17Pais;
import com.ejie.x38.dto.Pagination;

/**
 * T17PaisService  
 * 
 *  
 */
public interface T17PaisService {

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

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

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

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

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

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

	/**
	 * Deletes a single row in the T17Pais table.
	 * 
	 * @param t17Pais
	 *            T17Pais
	 */
	void remove(T17Pais t17Pais);

	/**
	 * Deletes multiple rows in the T17Pais table.
	 * 
	 * @param t17PaisList
	 *            ArrayList
	 */
	void removeMultiple(ArrayList<T17Pais> t17PaisList);

}
