package com.ejie.ab04b.service;

import java.util.List;

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

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

public interface VimpresionDocService {

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

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

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

	/**
	 * Deletes a single row in the VimpresionDoc table.
	 * 
	 *  vimpresionDoc
	 *            VimpresionDoc
	 *
	 * @param vimpresionDoc the vimpresion doc
	 */
	void remove(VimpresionDoc vimpresionDoc);

	/**
	 * Finds a list of rows in the VimpresionDoc table.
	 * 
	 *  vimpresionDoc
	 *            VimpresionDoc
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  List<VimpresionDoc>
	 *
	 * @param vimpresionDoc the vimpresion doc
	 * @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<VimpresionDoc>
	 *
	 * @param vimpresionDoc the vimpresion doc
	 * @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
	 */

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

	/**
	 * Filter method in the VimpresionDoc table.
	 * 
	 *  filterVimpresionDoc
	 *            VimpresionDoc
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *  JQGridResponseDto<VimpresionDoc>
	 *
	 * @param filterVimpresionDoc the filter vimpresion doc
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the JQ grid response dto
	 */
	JQGridResponseDto<VimpresionDoc> filter(VimpresionDoc filterVimpresionDoc,
			JQGridRequestDto jqGridRequestDto, Boolean startsWith);

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

	/**
	 * Reorder the selection made in VimpresionDoc table.
	 * 
	 *  filterVimpresionDoc
	 *            VimpresionDoc
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *  Object
	 *
	 * @param filterVimpresionDoc the filter vimpresion doc
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the object
	 */
	Object reorderSelection(VimpresionDoc filterVimpresionDoc,
			JQGridRequestDto jqGridRequestDto, Boolean startsWith);

}
