package com.ejie.ab04b.service;

import java.util.List;

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

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

public interface VdocOs4Service {

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

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

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

	/**
	 * Deletes a single row in the VdocOs4 table.
	 * 
	 *  vdocOs4
	 *            VdocOs4
	 *
	 * @param vdocOs4 the vdoc os 4
	 */
	void remove(VdocOs4 vdocOs4);

	/**
	 * Finds a list of rows in the VdocOs4 table.
	 * 
	 *  vdocOs4
	 *            VdocOs4
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  List<VdocOs4>
	 *
	 * @param vdocOs4 the vdoc os 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<VdocOs4>
	 *
	 * @param vdocOs4 the vdoc os 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
	 */

	/**
	 * Removes rows from 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);

	/**
	 * Filter method in the VdocOs4 table.
	 * 
	 *  filterVdocOs4
	 *            VdocOs4
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *  JQGridResponseDto<VdocOs4>
	 *
	 * @param filterVdocOs4 the filter vdoc os 4
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the JQ grid response dto
	 */
	JQGridResponseDto<VdocOs4> filter(VdocOs4 filterVdocOs4,
			JQGridRequestDto jqGridRequestDto, Boolean startsWith);

	/**
	 * Searches rows in the VdocOs4 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);

	/**
	 * Reorder the selection made in VdocOs4 table.
	 * 
	 *  filterVdocOs4
	 *            VdocOs4
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *  Object
	 *
	 * @param filterVdocOs4 the filter vdoc os 4
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the object
	 */
	Object reorderSelection(VdocOs4 filterVdocOs4,
			JQGridRequestDto jqGridRequestDto, Boolean startsWith);

}
