package com.ejie.ab04b.dao;

import com.ejie.x38.dto.JQGridRequestDto;
import com.ejie.x38.dto.TableRowDto;
import java.util.List;

import com.ejie.ab04b.model.RequerimientoAperturas;

/**
 * Ab0458s00Dao generated by UDA, 31-may-2017 9:30:50.
 * 
 * @author UDA
 */

public interface RequerimientoAperturasDao {

	/**
	 * Inserts a single row in the Ab0458s00 table.
	 * 
	 * ab0458s00 Ab0458s00 Ab0458s00
	 * 
	 * @param ab0458s00
	 *            the ab 0458 s 00
	 * @return the requerimiento aperturas
	 */
	RequerimientoAperturas add(RequerimientoAperturas ab0458s00);

	/**
	 * Updates a single row in the Ab0458s00 table.
	 * 
	 * ab0458s00 Ab0458s00 Ab0458s00
	 * 
	 * @param ab0458s00
	 *            the ab 0458 s 00
	 * @return the requerimiento aperturas
	 */
	RequerimientoAperturas update(RequerimientoAperturas ab0458s00);

	/**
	 * Finds a single row in the Ab0458s00 table.
	 * 
	 * ab0458s00 Ab0458s00 Ab0458s00
	 * 
	 * @param ab0458s00
	 *            the ab 0458 s 00
	 * @return the requerimiento aperturas
	 */
	RequerimientoAperturas find(RequerimientoAperturas ab0458s00);

	/**
	 * Removes a single row in the Ab0458s00 table.
	 * 
	 * ab0458s00 Ab0458s00
	 * 
	 * @param ab0458s00
	 *            the ab 0458 s 00
	 */
	void remove(RequerimientoAperturas ab0458s00);

	/**
	 * Finds a List of rows in the Ab0458s00 table.
	 * 
	 * ab0458s00 Ab0458s00 jqGridRequestDto JQGridRequestDto List
	 * 
	 * @param ab0458s00
	 *            the ab 0458 s 00
	 * @param jqGridRequestDto
	 *            the jq grid request dto
	 * @return the list
	 */
	List<RequerimientoAperturas> findAll(RequerimientoAperturas ab0458s00,
			JQGridRequestDto jqGridRequestDto);

	/**
	 * Finds rows in the Ab0458s00 table using like.
	 * 
	 * ab0458s00 Ab0458s00 jqGridRequestDto JQGridRequestDto startsWith Boolean
	 * List
	 * 
	 * @param ab0458s00
	 *            the ab 0458 s 00
	 * @param jqGridRequestDto
	 *            the jq grid request dto
	 * @param startsWith
	 *            the starts with
	 * @return the list
	 */
	List<RequerimientoAperturas> findAllLike(RequerimientoAperturas ab0458s00,
			JQGridRequestDto jqGridRequestDto, Boolean startsWith);

	/*
	 * OPERACIONES RUP_TABLE
	 */

	/**
	 * Filter in the Ab0458s00 table.
	 * 
	 * filterAb0458s00 Ab0458s00 jqGridRequestDto JQGridRequestDto startsWith
	 * Boolean
	 * 
	 * @param filterAb0458s00
	 *            the filter ab 0458 s 00
	 * @param jqGridRequestDto
	 *            the jq grid request dto
	 * @param startsWith
	 *            the starts with
	 */
	void removeMultiple(RequerimientoAperturas filterAb0458s00,
			JQGridRequestDto jqGridRequestDto, Boolean startsWith);

	/**
	 * Counts rows in the Ab0458s00 table using like.
	 * 
	 * ab0458s00 Ab0458s00 startsWith Boolean Long
	 * 
	 * @param ab0458s00
	 *            the ab 0458 s 00
	 * @param startsWith
	 *            the starts with
	 * @return the long
	 */
	Long findAllLikeCount(RequerimientoAperturas ab0458s00, Boolean startsWith);

	/**
	 * Counts rows in the Ab0458s00 table.
	 * 
	 * ab0458s00 Ab0458s00 Long
	 * 
	 * @param ab0458s00
	 *            the ab 0458 s 00
	 * @return the long
	 */
	Long findAllCount(RequerimientoAperturas ab0458s00);

	/**
	 * Reorder selection.
	 * 
	 * filterAb0458s00 Ab0458s00 jqGridRequestDto JQGridRequestDto startsWith
	 * Boolean List<TableRowDto<Ab0458s00>>
	 * 
	 * @param filterAb0458s00
	 *            the filter ab 0458 s 00
	 * @param jqGridRequestDto
	 *            the jq grid request dto
	 * @param startsWith
	 *            the starts with
	 * @return the list
	 */
	List<TableRowDto<RequerimientoAperturas>> reorderSelection(
			RequerimientoAperturas filterAb0458s00,
			JQGridRequestDto jqGridRequestDto, Boolean startsWith);

	/**
	 * Searches in the Usuario table.
	 * 
	 * filterAb0458s00 Ab0458s00 searchAb0458s00 Ab0458s00 jqGridRequestDto
	 * JQGridRequestDto startsWith Boolean List<TableRowDto<Ab0458s00>>
	 * 
	 * @param filterAb0458s00
	 *            the filter ab 0458 s 00
	 * @param searchAb0458s00
	 *            the search ab 0458 s 00
	 * @param jqGridRequestDto
	 *            the jq grid request dto
	 * @param startsWith
	 *            the starts with
	 * @return the list
	 */
	List<TableRowDto<RequerimientoAperturas>> search(
			RequerimientoAperturas filterAb0458s00,
			RequerimientoAperturas searchAb0458s00,
			JQGridRequestDto jqGridRequestDto, Boolean startsWith);

	/**
	 * removePorTarea
	 * 
	 * @param idTarea
	 *            Long
	 */
	void removePorTarea(Long idTarea);

}
