package com.ejie.ab04b.dao;

import java.util.List;

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

/**
 * VlistestprevDao generated by UDA, 19-sep-2017 13:57:15.
 * 
 * @author UDA
 */

public interface VlistestprevDao {

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

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

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

	/**
	 * Removes a single row in the Vlistestprev table.
	 * 
	 *  vlistestprev
	 *            Vlistestprev
	 *
	 * @param vlistestprev the vlistestprev
	 */
	void remove(Vlistestprev vlistestprev);

	/**
	 * Finds a List of rows in the Vlistestprev table.
	 * 
	 *  vlistestprev
	 *            Vlistestprev
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  List
	 *
	 * @param vlistestprev the vlistestprev
	 * @param jqGridRequestDto the jq grid request dto
	 * @return the list
	 */
	List<Vlistestprev> findAll(Vlistestprev vlistestprev,
			JQGridRequestDto jqGridRequestDto);

	/**
	 * Finds rows in the Vlistestprev table using like.
	 * 
	 *  vlistestprev
	 *            Vlistestprev
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *  List
	 *
	 * @param vlistestprev the vlistestprev
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the list
	 */
	List<Vlistestprev> findAllLike(Vlistestprev vlistestprev,
			JQGridRequestDto jqGridRequestDto, Boolean startsWith);

	/*
	 * OPERACIONES RUP_TABLE
	 */

	/**
	 * Filter in the Vlistestprev table.
	 * 
	 *  filterVlistestprev
	 *            Vlistestprev
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *
	 * @param filterVlistestprev the filter vlistestprev
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 */
	void removeMultiple(Vlistestprev filterVlistestprev,
			JQGridRequestDto jqGridRequestDto, Boolean startsWith);

	/**
	 * Counts rows in the Vlistestprev table using like.
	 * 
	 *  vlistestprev
	 *            Vlistestprev
	 *  startsWith
	 *            Boolean
	 *  Long
	 *
	 * @param vlistestprev the vlistestprev
	 * @param startsWith the starts with
	 * @return the long
	 */
	Long findAllLikeCount(Vlistestprev vlistestprev, Boolean startsWith);

	/**
	 * Counts rows in the Vlistestprev table.
	 * 
	 *  vlistestprev
	 *            Vlistestprev
	 *  Long
	 *
	 * @param vlistestprev the vlistestprev
	 * @return the long
	 */
	Long findAllCount(Vlistestprev vlistestprev);

	/**
	 * Reorder selection.
	 * 
	 *  filterVlistestprev
	 *            Vlistestprev
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *  List<TableRowDto<Vlistestprev>>
	 *
	 * @param filterVlistestprev the filter vlistestprev
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the list
	 */
	List<TableRowDto<Vlistestprev>> reorderSelection(
			Vlistestprev filterVlistestprev, JQGridRequestDto jqGridRequestDto,
			Boolean startsWith);

	/**
	 * Searches in the Usuario table.
	 * 
	 *  filterVlistestprev
	 *            Vlistestprev
	 *  searchVlistestprev
	 *            Vlistestprev
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *  List<TableRowDto<Vlistestprev>>
	 *
	 * @param filterVlistestprev the filter vlistestprev
	 * @param searchVlistestprev the search vlistestprev
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the list
	 */
	List<TableRowDto<Vlistestprev>> search(Vlistestprev filterVlistestprev,
			Vlistestprev searchVlistestprev, JQGridRequestDto jqGridRequestDto,
			Boolean startsWith);

}
