package com.ejie.ab04b.service;

import java.util.List;

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

/**
 * Ab0475s00Service generated by UDA, 27-jun-2017 11:01:08.
 * 
 * @author UDA
 */

public interface NumeracionExpedienteService {

	/**
	 * Inserts a single row in the Ab0475s00 table.
	 * 
	 *  ab0475s00
	 *            Ab0475s00
	 *  Ab0475s00
	 *
	 * @param ab0475s00 the ab 0475 s 00
	 * @return the numeracion expediente
	 */
	NumeracionExpediente add(NumeracionExpediente ab0475s00);

	/**
	 * Updates a single row in the Ab0475s00 table.
	 * 
	 *  ab0475s00
	 *            Ab0475s00
	 *  Ab0475s00
	 *
	 * @param ab0475s00 the ab 0475 s 00
	 * @return the numeracion expediente
	 */
	NumeracionExpediente update(NumeracionExpediente ab0475s00);

	/**
	 * Finds a single row in the Ab0475s00 table.
	 * 
	 *  ab0475s00
	 *            Ab0475s00
	 *  Ab0475s00
	 *
	 * @param ab0475s00 the ab 0475 s 00
	 * @return the numeracion expediente
	 */
	NumeracionExpediente find(NumeracionExpediente ab0475s00);

	/**
	 * Deletes a single row in the Ab0475s00 table.
	 * 
	 *  ab0475s00
	 *            Ab0475s00
	 *
	 * @param ab0475s00 the ab 0475 s 00
	 */
	void remove(NumeracionExpediente ab0475s00);

	/**
	 * Finds a list of rows in the Ab0475s00 table.
	 * 
	 *  ab0475s00
	 *            Ab0475s00
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  List<Ab0475s00>
	 *
	 * @param ab0475s00 the ab 0475 s 00
	 * @param jqGridRequestDto the jq grid request dto
	 * @return the list
	 */
	List<NumeracionExpediente> findAll(NumeracionExpediente ab0475s00,
			JQGridRequestDto jqGridRequestDto);

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

	/*
	 * OPERACIONES RUP_TABLE
	 */

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

	/**
	 * Searches rows in the Ab0475s00 table.
	 * 
	 *  filterAb0475s00
	 *            Ab0475s00
	 *  searchAb0475s00
	 *            Ab0475s00
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *  List<TableRowDto<Ab0475s00>>
	 *
	 * @param filterAb0475s00 the filter ab 0475 s 00
	 * @param searchAb0475s00 the search ab 0475 s 00
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the list
	 */
	List<TableRowDto<NumeracionExpediente>> search(
			NumeracionExpediente filterAb0475s00,
			NumeracionExpediente searchAb0475s00,
			JQGridRequestDto jqGridRequestDto, Boolean startsWith);

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

}
