package com.ejie.ab04b.dao;

import java.util.List;

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

/**
 * VdocOs6Dao generated by UDA, 30-jun-2017 14:27:59.
 * 
 * @author UDA
 */

public interface VdocOs6Dao {

	/**
	 * Inserts a single row in the VdocOs6 table.
	 * 
	 *  vdocos6
	 *            VdocOs6
	 *  VdocOs6
	 *
	 * @param vdocos6 the vdocos 6
	 * @return the vdoc os 6
	 */
	VdocOs6 add(VdocOs6 vdocos6);

	/**
	 * Updates a single row in the VdocOs6 table.
	 * 
	 *  vdocos6
	 *            VdocOs6
	 *  VdocOs6
	 *
	 * @param vdocos6 the vdocos 6
	 * @return the vdoc os 6
	 */
	VdocOs6 update(VdocOs6 vdocos6);

	/**
	 * Finds a single row in the VdocOs6 table.
	 * 
	 *  vdocos6
	 *            VdocOs6
	 *  VdocOs6
	 *
	 * @param vdocos6 the vdocos 6
	 * @return the vdoc os 6
	 */
	VdocOs6 find(VdocOs6 vdocos6);

	/**
	 * Removes a single row in the VdocOs6 table.
	 * 
	 *  vdocos6
	 *            VdocOs6
	 *
	 * @param vdocos6 the vdocos 6
	 */
	void remove(VdocOs6 vdocos6);

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

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

	/*
	 * OPERACIONES RUP_TABLE
	 */

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

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

	/**
	 * Counts rows in the VdocOs6 table.
	 * 
	 *  vdocos6
	 *            VdocOs6
	 *  Long
	 *
	 * @param vdocos6 the vdocos 6
	 * @return the long
	 */
	Long findAllCount(VdocOs6 vdocos6);

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

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

}
