package com.ejie.ab04b.dao;

import java.util.List;

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

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

public interface ApartadoAnexoIIDao {

	/**
	 * Inserts a single row in the Ab04b86s00 table.
	 * 
	 *  ab04b86s00
	 *            Ab04b86s00
	 *  Ab04b86s00
	 *
	 * @param ab04b86s00 the ab 04 b 86 s 00
	 * @return the apartado anexo II
	 */
	ApartadoAnexoII add(ApartadoAnexoII ab04b86s00);

	/**
	 * Updates a single row in the Ab04b86s00 table.
	 * 
	 *  ab04b86s00
	 *            Ab04b86s00
	 *  Ab04b86s00
	 *
	 * @param ab04b86s00 the ab 04 b 86 s 00
	 * @return the apartado anexo II
	 */
	ApartadoAnexoII update(ApartadoAnexoII ab04b86s00);

	/**
	 * Finds a single row in the Ab04b86s00 table.
	 * 
	 *  ab04b86s00
	 *            Ab04b86s00
	 *  Ab04b86s00
	 *
	 * @param ab04b86s00 the ab 04 b 86 s 00
	 * @return the apartado anexo II
	 */
	ApartadoAnexoII find(ApartadoAnexoII ab04b86s00);

	/**
	 * Removes a single row in the Ab04b86s00 table.
	 * 
	 *  ab04b86s00
	 *            Ab04b86s00
	 *
	 * @param ab04b86s00 the ab 04 b 86 s 00
	 */
	void remove(ApartadoAnexoII ab04b86s00);

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

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

	/*
	 * OPERACIONES RUP_TABLE
	 */

	/**
	 * Filter in the Ab04b86s00 table.
	 * 
	 *  filterAb04b86s00
	 *            Ab04b86s00
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *
	 * @param filterAb04b86s00 the filter ab 04 b 86 s 00
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 */
	void removeMultiple(ApartadoAnexoII filterAb04b86s00, JQGridRequestDto jqGridRequestDto, Boolean startsWith);

	/**
	 * Counts rows in the Ab04b86s00 table using like.
	 * 
	 *  ab04b86s00
	 *            Ab04b86s00
	 *  startsWith
	 *            Boolean
	 *  Long
	 *
	 * @param ab04b86s00 the ab 04 b 86 s 00
	 * @param startsWith the starts with
	 * @return the long
	 */
	Long findAllLikeCount(ApartadoAnexoII ab04b86s00, Boolean startsWith);

	/**
	 * Counts rows in the Ab04b86s00 table.
	 * 
	 *  ab04b86s00
	 *            Ab04b86s00
	 *  Long
	 *
	 * @param ab04b86s00 the ab 04 b 86 s 00
	 * @return the long
	 */
	Long findAllCount(ApartadoAnexoII ab04b86s00);

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

	/**
	 * Searches in the Usuario table.
	 * 
	 *  filterAb04b86s00
	 *            Ab04b86s00
	 *  searchAb04b86s00
	 *            Ab04b86s00
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *  List<TableRowDto<Ab04b86s00>>
	 *
	 * @param filterAb04b86s00 the filter ab 04 b 86 s 00
	 * @param searchAb04b86s00 the search ab 04 b 86 s 00
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the list
	 */
	List<TableRowDto<ApartadoAnexoII>> search(ApartadoAnexoII filterAb04b86s00, ApartadoAnexoII searchAb04b86s00,
			JQGridRequestDto jqGridRequestDto, Boolean startsWith);

}
