package com.ejie.ab04b.service;

import java.util.List;

import com.ejie.ab04b.model.Tablones;
import com.ejie.x38.dto.JQGridRequestDto;
import com.ejie.x38.dto.JQGridResponseDto;

/**
 * TablonesService generated by UDA, 25-abr-2016 15:47:19.
 * 
 * @author UDA
 */

public interface TablonesService {

	/**
	 * Inserts a single row in the Tablones table.
	 * 
	 *  tablones
	 *            Tablones
	 *  Tablones
	 *
	 * @param tablones the tablones
	 * @return the tablones
	 */
	Tablones add(Tablones tablones);

	/**
	 * Updates a single row in the Tablones table.
	 * 
	 *  tablones
	 *            Tablones
	 *  Tablones
	 *
	 * @param tablones the tablones
	 * @return the tablones
	 */
	Tablones update(Tablones tablones);

	/**
	 * Finds a single row in the Tablones table.
	 * 
	 *  tablones
	 *            Tablones
	 *  Tablones
	 *
	 * @param tablones the tablones
	 * @return the tablones
	 */
	Tablones find(Tablones tablones);

	/**
	 * Deletes a single row in the Tablones table.
	 * 
	 *  tablones
	 *            Tablones
	 *
	 * @param tablones the tablones
	 */
	void remove(Tablones tablones);

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

	/**
	 * Finds a list of rows in the Tablones table.
	 * 
	 *  tablones
	 *            Tablones
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  List<Tablones>
	 *
	 * @param tablones the tablones
	 * @param jqGridRequestDto the jq grid request dto
	 * @return the list
	 */
	List<Tablones> vistafindAll(Tablones tablones,
			JQGridRequestDto jqGridRequestDto);

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

	/*
	 * OPERACIONES RUP_TABLE
	 */

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

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

}
