package com.ejie.ab04b.service;

import java.util.List;

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

/**
 * Ab0446s00Service generated by UDA, 14-Feb-2017 10:29:39.
 * 
 * @author UDA
 */

public interface EstudioDocOS2Service {

	/**
	 * Inserts a single row in the Ab0446s00 table.
	 * 
	 *  ab0446s00
	 *            Ab0446s00
	 *  Ab0446s00
	 *
	 * @param ab0446s00 the ab 0446 s 00
	 * @return the estudio doc OS 2
	 */
	EstudioDocOS2 add(EstudioDocOS2 ab0446s00);

	/**
	 * Updates a single row in the Ab0446s00 table.
	 * 
	 *  ab0446s00
	 *            Ab0446s00
	 *  Ab0446s00
	 *
	 * @param ab0446s00 the ab 0446 s 00
	 * @return the estudio doc OS 2
	 */
	EstudioDocOS2 update(EstudioDocOS2 ab0446s00);

	/**
	 * Finds a single row in the Ab0446s00 table.
	 * 
	 *  ab0446s00
	 *            Ab0446s00
	 *  Ab0446s00
	 *
	 * @param ab0446s00 the ab 0446 s 00
	 * @return the estudio doc OS 2
	 */
	EstudioDocOS2 find(EstudioDocOS2 ab0446s00);

	/**
	 * Deletes a single row in the Ab0446s00 table.
	 * 
	 *  ab0446s00
	 *            Ab0446s00
	 *
	 * @param ab0446s00 the ab 0446 s 00
	 */
	void remove(EstudioDocOS2 ab0446s00);

	/**
	 * Finds a list of rows in the Ab0446s00 table.
	 * 
	 *  ab0446s00
	 *            Ab0446s00
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  List<Ab0446s00>
	 *
	 * @param ab0446s00 the ab 0446 s 00
	 * @param jqGridRequestDto the jq grid request dto
	 * @return the list
	 */
	List<EstudioDocOS2> findAll(EstudioDocOS2 ab0446s00,
			JQGridRequestDto jqGridRequestDto);

	/**
	 * Finds rows in the Ab0446s00 table using like.
	 * 
	 *  ab0446s00
	 *            Ab0446s00
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *  List<Ab0446s00>
	 *
	 * @param ab0446s00 the ab 0446 s 00
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the list
	 */
	List<EstudioDocOS2> findAllLike(EstudioDocOS2 ab0446s00,
			JQGridRequestDto jqGridRequestDto, Boolean startsWith);

	/*
	 * OPERACIONES RUP_TABLE
	 */

	/**
	 * Filter method in the Ab0446s00 table.
	 * 
	 *  filterAb0446s00
	 *            Ab0446s00
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *  JQGridResponseDto<Ab0446s00>
	 *
	 * @param filterAb0446s00 the filter ab 0446 s 00
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the JQ grid response dto
	 */
	JQGridResponseDto<EstudioDocOS2> filter(EstudioDocOS2 filterAb0446s00,
			JQGridRequestDto jqGridRequestDto, Boolean startsWith);

	/**
	 * Searches rows in the Ab0446s00 table.
	 * 
	 *  filterAb0446s00
	 *            Ab0446s00
	 *  searchAb0446s00
	 *            Ab0446s00
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *  List<TableRowDto<Ab0446s00>>
	 *
	 * @param filterAb0446s00 the filter ab 0446 s 00
	 * @param searchAb0446s00 the search ab 0446 s 00
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the list
	 */
	List<TableRowDto<EstudioDocOS2>> search(EstudioDocOS2 filterAb0446s00,
			EstudioDocOS2 searchAb0446s00, JQGridRequestDto jqGridRequestDto,
			Boolean startsWith);

	/**
	 * Reorder the selection made in Ab0446s00 table.
	 * 
	 *  filterAb0446s00
	 *            Ab0446s00
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *  Object
	 *
	 * @param filterAb0446s00 the filter ab 0446 s 00
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the object
	 */
	Object reorderSelection(EstudioDocOS2 filterAb0446s00,
			JQGridRequestDto jqGridRequestDto, Boolean startsWith);

}
