package com.ejie.ab04b.service;

import com.ejie.x38.dto.JQGridRequestDto;
import com.ejie.x38.dto.JQGridResponseDto;
import com.ejie.x38.dto.TableRowDto;
import java.util.List;

import com.ejie.ab04b.model.HistCambiosAperturas;

/**
 * Ab0487s00Service generated by UDA, 27-feb-2017 9:02:46.
 * 
 * @author UDA
 */

public interface HistCambiosAperturasService {

	/**
	 * Inserts a single row in the Ab0487s00 table.
	 * 
	 *  ab0487s00
	 *            Ab0487s00
	 *  Ab0487s00
	 *
	 * @param ab0487s00 the ab 0487 s 00
	 * @return the hist cambios aperturas
	 */
	HistCambiosAperturas add(HistCambiosAperturas ab0487s00);

	/**
	 * Updates a single row in the Ab0487s00 table.
	 * 
	 *  ab0487s00
	 *            Ab0487s00
	 *  Ab0487s00
	 *
	 * @param ab0487s00 the ab 0487 s 00
	 * @return the hist cambios aperturas
	 */
	HistCambiosAperturas update(HistCambiosAperturas ab0487s00);

	/**
	 * Finds a single row in the Ab0487s00 table.
	 * 
	 *  ab0487s00
	 *            Ab0487s00
	 *  Ab0487s00
	 *
	 * @param ab0487s00 the ab 0487 s 00
	 * @return the hist cambios aperturas
	 */
	HistCambiosAperturas find(HistCambiosAperturas ab0487s00);

	/**
	 * Deletes a single row in the Ab0487s00 table.
	 * 
	 *  ab0487s00
	 *            Ab0487s00
	 *
	 * @param ab0487s00 the ab 0487 s 00
	 */
	void remove(HistCambiosAperturas ab0487s00);

	/**
	 * Finds a list of rows in the Ab0487s00 table.
	 * 
	 *  ab0487s00
	 *            Ab0487s00
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  List<Ab0487s00>
	 *
	 * @param ab0487s00 the ab 0487 s 00
	 * @param jqGridRequestDto the jq grid request dto
	 * @return the list
	 */
	List<HistCambiosAperturas> findAll(HistCambiosAperturas ab0487s00,
			JQGridRequestDto jqGridRequestDto);

	/**
	 * Finds a list of rows in the Ab0487s00 table.
	 * 
	 *  ab0487s00
	 *            Ab0487s00
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  idioma
	 *            String
	 *  List<Ab0487s00>
	 *
	 * @param ab0487s00 the ab 0487 s 00
	 * @param jqGridRequestDto the jq grid request dto
	 * @param idioma the idioma
	 * @return the list
	 */
	List<HistCambiosAperturas> findAllConComparador(
			HistCambiosAperturas ab0487s00, JQGridRequestDto jqGridRequestDto,
			String idioma);

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

	/*
	 * OPERACIONES RUP_TABLE
	 */

	/**
	 * Removes rows from the Ab0487s00 table.
	 * 
	 *  filterAb0487s00
	 *            Ab0487s00
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *
	 * @param filterAb0487s00 the filter ab 0487 s 00
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 */
	void removeMultiple(HistCambiosAperturas filterAb0487s00,
			JQGridRequestDto jqGridRequestDto, Boolean startsWith);

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

	/**
	 * Searches rows in the Ab0487s00 table.
	 * 
	 *  filterAb0487s00
	 *            Ab0487s00
	 *  searchAb0487s00
	 *            Ab0487s00
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *  List<TableRowDto<Ab0487s00>>
	 *
	 * @param filterAb0487s00 the filter ab 0487 s 00
	 * @param searchAb0487s00 the search ab 0487 s 00
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the list
	 */
	List<TableRowDto<HistCambiosAperturas>> search(
			HistCambiosAperturas filterAb0487s00,
			HistCambiosAperturas searchAb0487s00,
			JQGridRequestDto jqGridRequestDto, Boolean startsWith);

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

}
