package com.ejie.ab04b.dao;

import java.util.List;

import com.ejie.ab04b.model.ApartadoAnexoI;
import com.ejie.x38.dto.JQGridRequestDto;
import com.ejie.x38.dto.TableRowDto;

/**
 * Ab04b73s00Dao generated by UDA, 11-Jan-2017 12:23:07.
 * 
 * @author UDA
 */

public interface ApartadoAnexoIDao {

	/**
	 * Inserts a single row in the Ab04b73s00 table.
	 * 
	 *  ab04b73s00
	 *            Ab04b73s00
	 *  Ab04b73s00
	 *
	 * @param ab04b73s00 the ab 04 b 73 s 00
	 * @return the apartado anexo I
	 */
	ApartadoAnexoI add(ApartadoAnexoI ab04b73s00);

	/**
	 * Updates a single row in the Ab04b73s00 table.
	 * 
	 *  ab04b73s00
	 *            Ab04b73s00
	 *  Ab04b73s00
	 *
	 * @param ab04b73s00 the ab 04 b 73 s 00
	 * @return the apartado anexo I
	 */
	ApartadoAnexoI update(ApartadoAnexoI ab04b73s00);

	/**
	 * Finds a single row in the Ab04b73s00 table.
	 * 
	 *  ab04b73s00
	 *            Ab04b73s00
	 *  Ab04b73s00
	 *
	 * @param ab04b73s00 the ab 04 b 73 s 00
	 * @return the apartado anexo I
	 */
	ApartadoAnexoI find(ApartadoAnexoI ab04b73s00);

	/**
	 * Removes a single row in the Ab04b73s00 table.
	 * 
	 *  ab04b73s00
	 *            Ab04b73s00
	 *
	 * @param ab04b73s00 the ab 04 b 73 s 00
	 */
	void remove(ApartadoAnexoI ab04b73s00);

	/**
	 * Finds a List of rows in the Ab04b73s00 table.
	 * 
	 *  ab04b73s00
	 *            Ab04b73s00
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  List
	 *
	 * @param ab04b73s00 the ab 04 b 73 s 00
	 * @param jqGridRequestDto the jq grid request dto
	 * @return the list
	 */
	List<ApartadoAnexoI> findAll(ApartadoAnexoI ab04b73s00, JQGridRequestDto jqGridRequestDto);

	/**
	 * Finds rows in the Ab04b73s00 table using like.
	 * 
	 *  ab04b73s00
	 *            Ab04b73s00
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *  List
	 *
	 * @param ab04b73s00 the ab 04 b 73 s 00
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the list
	 */
	List<ApartadoAnexoI> findAllLike(ApartadoAnexoI ab04b73s00, JQGridRequestDto jqGridRequestDto, Boolean startsWith);

	/*
	 * OPERACIONES RUP_TABLE
	 */

	/**
	 * Filter in the Ab04b73s00 table.
	 * 
	 *  filterAb04b73s00
	 *            Ab04b73s00
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *
	 * @param filterAb04b73s00 the filter ab 04 b 73 s 00
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 */
	void removeMultiple(ApartadoAnexoI filterAb04b73s00, JQGridRequestDto jqGridRequestDto, Boolean startsWith);

	/**
	 * Counts rows in the Ab04b73s00 table using like.
	 * 
	 *  ab04b73s00
	 *            Ab04b73s00
	 *  startsWith
	 *            Boolean
	 *  Long
	 *
	 * @param ab04b73s00 the ab 04 b 73 s 00
	 * @param startsWith the starts with
	 * @return the long
	 */
	Long findAllLikeCount(ApartadoAnexoI ab04b73s00, Boolean startsWith);

	/**
	 * Counts rows in the Ab04b73s00 table.
	 * 
	 *  ab04b73s00
	 *            Ab04b73s00
	 *  Long
	 *
	 * @param ab04b73s00 the ab 04 b 73 s 00
	 * @return the long
	 */
	Long findAllCount(ApartadoAnexoI ab04b73s00);

	/**
	 * Reorder selection.
	 * 
	 *  filterAb04b73s00
	 *            Ab04b73s00
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *  List<TableRowDto<Ab04b73s00>>
	 *
	 * @param filterAb04b73s00 the filter ab 04 b 73 s 00
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the list
	 */
	List<TableRowDto<ApartadoAnexoI>> reorderSelection(ApartadoAnexoI filterAb04b73s00,
			JQGridRequestDto jqGridRequestDto, Boolean startsWith);

	/**
	 * Searches in the Usuario table.
	 * 
	 *  filterAb04b73s00
	 *            Ab04b73s00
	 *  searchAb04b73s00
	 *            Ab04b73s00
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *  List<TableRowDto<Ab04b73s00>>
	 *
	 * @param filterAb04b73s00 the filter ab 04 b 73 s 00
	 * @param searchAb04b73s00 the search ab 04 b 73 s 00
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the list
	 */
	List<TableRowDto<ApartadoAnexoI>> search(ApartadoAnexoI filterAb04b73s00, ApartadoAnexoI searchAb04b73s00,
			JQGridRequestDto jqGridRequestDto, Boolean startsWith);

}
