package com.ejie.ab04b.dao;

import java.util.List;

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

/**
 * VdocOs4Dao generated by UDA, 29-jun-2017 8:32:42.
 * 
 * @author UDA
 */

public interface VdocOs4Dao {

	/**
	 * Inserts a single row in the VdocOs4 table.
	 * 
	 *  vdocos4
	 *            VdocOs4
	 *  VdocOs4
	 *
	 * @param vdocos4 the vdocos 4
	 * @return the vdoc os 4
	 */
	VdocOs4 add(VdocOs4 vdocos4);

	/**
	 * Updates a single row in the VdocOs4 table.
	 * 
	 *  vdocos4
	 *            VdocOs4
	 *  VdocOs4
	 *
	 * @param vdocos4 the vdocos 4
	 * @return the vdoc os 4
	 */
	VdocOs4 update(VdocOs4 vdocos4);

	/**
	 * Finds a single row in the VdocOs4 table.
	 * 
	 *  vdocos4
	 *            VdocOs4
	 *  VdocOs4
	 *
	 * @param vdocos4 the vdocos 4
	 * @return the vdoc os 4
	 */
	VdocOs4 find(VdocOs4 vdocos4);

	/**
	 * Removes a single row in the VdocOs4 table.
	 * 
	 *  vdocos4
	 *            VdocOs4
	 *
	 * @param vdocos4 the vdocos 4
	 */
	void remove(VdocOs4 vdocos4);

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

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

	/*
	 * OPERACIONES RUP_TABLE
	 */

	/**
	 * Filter in the VdocOs4 table.
	 * 
	 *  filterVdocOs4
	 *            VdocOs4
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *
	 * @param filterVdocOs4 the filter vdoc os 4
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 */
	void removeMultiple(VdocOs4 filterVdocOs4,
			JQGridRequestDto jqGridRequestDto, Boolean startsWith);

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

	/**
	 * Counts rows in the VdocOs4 table.
	 * 
	 *  vdocos4
	 *            VdocOs4
	 *  Long
	 *
	 * @param vdocos4 the vdocos 4
	 * @return the long
	 */
	Long findAllCount(VdocOs4 vdocos4);

	/**
	 * Reorder selection.
	 * 
	 *  filterVdocOs4
	 *            VdocOs4
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *  List<TableRowDto<VdocOs4>>
	 *
	 * @param filterVdocOs4 the filter vdoc os 4
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the list
	 */
	List<TableRowDto<VdocOs4>> reorderSelection(VdocOs4 filterVdocOs4,
			JQGridRequestDto jqGridRequestDto, Boolean startsWith);

	/**
	 * Searches in the Usuario table.
	 * 
	 *  filterVdocOs4
	 *            VdocOs4
	 *  searchVdocOs4
	 *            VdocOs4
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *  List<TableRowDto<VdocOs4>>
	 *
	 * @param filterVdocOs4 the filter vdoc os 4
	 * @param searchVdocOs4 the search vdoc os 4
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the list
	 */
	List<TableRowDto<VdocOs4>> search(VdocOs4 filterVdocOs4,
			VdocOs4 searchVdocOs4, JQGridRequestDto jqGridRequestDto,
			Boolean startsWith);

}
