package com.ejie.ab04b.dao;

import java.util.List;

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

/**
 * Ab0464s00Dao generated by UDA, 14-Feb-2017 10:29:38.
 * 
 * @author UDA
 */

public interface EstudioDocOS2Dao {

	/**
	 * Inserts a single row in the Ab0464s00 table.
	 * 
	 *  ab0464s00
	 *            Ab0464s00
	 *  Ab0464s00
	 *
	 * @param ab0464s00 the ab 0464 s 00
	 * @return the estudio doc OS 2
	 */
	EstudioDocOS2 add(EstudioDocOS2 ab0464s00);

	/**
	 * Updates a single row in the Ab0464s00 table.
	 * 
	 *  ab0464s00
	 *            Ab0464s00
	 *  Ab0464s00
	 *
	 * @param ab0464s00 the ab 0464 s 00
	 * @return the estudio doc OS 2
	 */
	EstudioDocOS2 update(EstudioDocOS2 ab0464s00);

	/**
	 * Finds a single row in the Ab0464s00 table.
	 * 
	 *  ab0464s00
	 *            Ab0464s00
	 *  Ab0464s00
	 *
	 * @param ab0464s00 the ab 0464 s 00
	 * @return the estudio doc OS 2
	 */
	EstudioDocOS2 find(EstudioDocOS2 ab0464s00);

	/**
	 * Removes a single row in the Ab0464s00 table.
	 * 
	 *  ab0464s00
	 *            Ab0464s00
	 *
	 * @param ab0464s00 the ab 0464 s 00
	 */
	void remove(EstudioDocOS2 ab0464s00);

	/**
	 * Finds a List of rows in the Ab0464s00 table.
	 * 
	 *  ab0464s00
	 *            Ab0464s00
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  List
	 *
	 * @param ab0464s00 the ab 0464 s 00
	 * @param jqGridRequestDto the jq grid request dto
	 * @return the list
	 */
	List<EstudioDocOS2> findAll(EstudioDocOS2 ab0464s00,
			JQGridRequestDto jqGridRequestDto);

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

	/*
	 * OPERACIONES RUP_TABLE
	 */

	/**
	 * Counts rows in the Ab0464s00 table using like.
	 * 
	 *  ab0464s00
	 *            Ab0464s00
	 *  startsWith
	 *            Boolean
	 *  Long
	 *
	 * @param ab0464s00 the ab 0464 s 00
	 * @param startsWith the starts with
	 * @return the long
	 */
	Long findAllLikeCount(EstudioDocOS2 ab0464s00, Boolean startsWith);

	/**
	 * Counts rows in the Ab0464s00 table.
	 * 
	 *  ab0464s00
	 *            Ab0464s00
	 *  Long
	 *
	 * @param ab0464s00 the ab 0464 s 00
	 * @return the long
	 */
	Long findAllCount(EstudioDocOS2 ab0464s00);

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

	/**
	 * Searches in the Usuario table.
	 * 
	 *  filterAb0464s00
	 *            Ab0464s00
	 *  searchAb0464s00
	 *            Ab0464s00
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *  List<TableRowDto<Ab0464s00>>
	 *
	 * @param filterAb0464s00 the filter ab 0464 s 00
	 * @param searchAb0464s00 the search ab 0464 s 00
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the list
	 */
	List<TableRowDto<EstudioDocOS2>> search(EstudioDocOS2 filterAb0464s00,
			EstudioDocOS2 searchAb0464s00, JQGridRequestDto jqGridRequestDto,
			Boolean startsWith);

}
