package com.ejie.ab04b.dao;

import java.util.List;

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

/**
 * VimpresionDocDao generated by UDA, 05-sep-2017 8:53:43.
 * 
 * @author UDA
 */

public interface VimpresionDocDao {

	/**
	 * Inserts a single row in the VimpresionDoc table.
	 * 
	 *  vimpresiondoc
	 *            VimpresionDoc
	 *  VimpresionDoc
	 *
	 * @param vimpresiondoc the vimpresiondoc
	 * @return the vimpresion doc
	 */
	VimpresionDoc add(VimpresionDoc vimpresiondoc);

	/**
	 * Updates a single row in the VimpresionDoc table.
	 * 
	 *  vimpresiondoc
	 *            VimpresionDoc
	 *  VimpresionDoc
	 *
	 * @param vimpresiondoc the vimpresiondoc
	 * @return the vimpresion doc
	 */
	VimpresionDoc update(VimpresionDoc vimpresiondoc);

	/**
	 * Finds a single row in the VimpresionDoc table.
	 * 
	 *  vimpresiondoc
	 *            VimpresionDoc
	 *  VimpresionDoc
	 *
	 * @param vimpresiondoc the vimpresiondoc
	 * @return the vimpresion doc
	 */
	VimpresionDoc find(VimpresionDoc vimpresiondoc);

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

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

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

	/*
	 * OPERACIONES RUP_TABLE
	 */

	/**
	 * Filter in the VimpresionDoc table.
	 * 
	 *  filterVimpresionDoc
	 *            VimpresionDoc
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *
	 * @param filterVimpresionDoc the filter vimpresion doc
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 */
	void removeMultiple(VimpresionDoc filterVimpresionDoc,
			JQGridRequestDto jqGridRequestDto, Boolean startsWith);

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

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

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

	/**
	 * Searches in the Usuario table.
	 * 
	 *  filterVimpresionDoc
	 *            VimpresionDoc
	 *  searchVimpresionDoc
	 *            VimpresionDoc
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *  List<TableRowDto<VimpresionDoc>>
	 *
	 * @param filterVimpresionDoc the filter vimpresion doc
	 * @param searchVimpresionDoc the search vimpresion doc
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the list
	 */
	List<TableRowDto<VimpresionDoc>> search(VimpresionDoc filterVimpresionDoc,
			VimpresionDoc searchVimpresionDoc,
			JQGridRequestDto jqGridRequestDto, Boolean startsWith);

}
