package com.ejie.ab04b.service;

import java.util.List;

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

/**
 * Ab04b70s00Service generated by UDA, 11-Jan-2017 12:23:08.
 * 
 * @author UDA
 */

public interface TipoObraService {

	/**
	 * Inserts a single row in the Ab04b70s00 table.
	 * 
	 *  tipoObra
	 *            TipoObra
	 *  TipoObra
	 *
	 * @param tipoObra the tipo obra
	 * @return the tipo obra
	 */
	TipoObra add(TipoObra tipoObra);

	/**
	 * Updates a single row in the Ab04b70s00 table.
	 * 
	 *  tipoObra
	 *            TipoObra
	 *  TipoObra
	 *
	 * @param tipoObra the tipo obra
	 * @return the tipo obra
	 */
	TipoObra update(TipoObra tipoObra);

	/**
	 * Finds a single row in the Ab04b70s00 table.
	 * 
	 *  tipoObra
	 *            TipoObra
	 *  TipoObra
	 *
	 * @param tipoObra the tipo obra
	 * @return the tipo obra
	 */
	TipoObra find(TipoObra tipoObra);

	/**
	 * Deletes a single row in the Ab04b70s00 table.
	 * 
	 *  tipoObra
	 *            TipoObra
	 *
	 * @param tipoObra the tipo obra
	 */
	void remove(TipoObra tipoObra);

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

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

	/*
	 * OPERACIONES RUP_TABLE
	 */

	/**
	 * Removes rows from the Ab04b70s00 table.
	 * 
	 *  filterTipoObra
	 *            TipoObra
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *
	 * @param filterTipoObra the filter tipo obra
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 */
	void removeMultiple(TipoObra filterTipoObra, JQGridRequestDto jqGridRequestDto, Boolean startsWith);

	/**
	 * Filter method in the Ab04b70s00 table.
	 * 
	 *  filterTipoObra
	 *            TipoObra
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *  JQGridResponseDto<TipoObra>
	 *
	 * @param filterTipoObra the filter tipo obra
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the JQ grid response dto
	 */
	JQGridResponseDto<TipoObra> filter(TipoObra filterTipoObra, JQGridRequestDto jqGridRequestDto,
			Boolean startsWith);

	/**
	 * Searches rows in the Ab04b70s00 table.
	 * 
	 *  filterTipoObra
	 *            TipoObra
	 *  searchTipoObra
	 *            TipoObra
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *  List<TableRowDto<TipoObra>>
	 *
	 * @param filterTipoObra the filter tipo obra
	 * @param searchTipoObra the search tipo obra
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the list
	 */
	List<TableRowDto<TipoObra>> search(TipoObra filterTipoObra, TipoObra searchTipoObra,
			JQGridRequestDto jqGridRequestDto, Boolean startsWith);

	/**
	 * Reorder the selection made in Ab04b70s00 table.
	 * 
	 *  filterTipoObra
	 *            TipoObra
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *  Object
	 *
	 * @param filterTipoObra the filter tipo obra
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the object
	 */
	Object reorderSelection(TipoObra filterTipoObra, JQGridRequestDto jqGridRequestDto, Boolean startsWith);

}
