package com.ejie.ab04b.service;

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

import com.ejie.ab04b.model.TipoApertura;

/**
 * Ab04b71s00Service generated by UDA, 27-dic-2016 9:57:25.
 * 
 * @author UDA
 */

public interface TipoAperturaService {

	/**
	 * Inserts a single row in the Ab04b71s00 table.
	 * 
	 *  tipoApertura
	 *            TipoApertura
	 *  TipoApertura
	 *
	 * @param tipoApertura the tipo apertura
	 * @return the tipo apertura
	 */
	TipoApertura add(TipoApertura tipoApertura);

	/**
	 * Updates a single row in the Ab04b71s00 table.
	 * 
	 *  tipoApertura
	 *            TipoApertura
	 *  TipoApertura
	 *
	 * @param tipoApertura the tipo apertura
	 * @return the tipo apertura
	 */
	TipoApertura update(TipoApertura tipoApertura);

	/**
	 * Finds a single row in the Ab04b71s00 table.
	 * 
	 *  tipoApertura
	 *            TipoApertura
	 *  TipoApertura
	 *
	 * @param tipoApertura the tipo apertura
	 * @return the tipo apertura
	 */
	TipoApertura find(TipoApertura tipoApertura);

	/**
	 * Deletes a single row in the Ab04b71s00 table.
	 * 
	 *  tipoApertura
	 *            TipoApertura
	 *
	 * @param tipoApertura the tipo apertura
	 */
	void remove(TipoApertura tipoApertura);

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

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

	/*
	 * OPERACIONES RUP_TABLE
	 */

	/**
	 * Removes rows from the Ab04b71s00 table.
	 * 
	 *  filterTipoApertura
	 *            TipoAperturas
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *
	 * @param filterTipoApertura the filter tipo apertura
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 */
	void removeMultiple(TipoApertura filterTipoApertura,
			JQGridRequestDto jqGridRequestDto, Boolean startsWith);

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

	/**
	 * Searches rows in the Ab04b71s00 table.
	 * 
	 *  filterTipoApertura
	 *            TipoApertura
	 *  searchTipoApertura
	 *            TipoApertura
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *  List<TableRowDto<Ab04b71s00>>
	 *
	 * @param filterTipoApertura the filter tipo apertura
	 * @param searchTipoApertura the search tipo apertura
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the list
	 */
	List<TableRowDto<TipoApertura>> search(TipoApertura filterTipoApertura,
			TipoApertura searchTipoApertura, JQGridRequestDto jqGridRequestDto,
			Boolean startsWith);

	/**
	 * Reorder the selection made in Ab04b71s00 table.
	 * 
	 *  filterTipoApertura
	 *            TipoApertura
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *  Object
	 *
	 * @param filterTipoApertura the filter tipo apertura
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the object
	 */
	Object reorderSelection(TipoApertura filterTipoApertura,
			JQGridRequestDto jqGridRequestDto, Boolean startsWith);

	/*
	 * OPERACIONES RUP_TABLE JERARQUIA
	 */

	/**
	 * Finder method in the hierarchical the Ab04b71s00 table.
	 * 
	 *  filterTipoApertura
	 *            TipoApertura
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *  JQGridResponseDto<JerarquiaDto<Ab04b71s00>>
	 *
	 * @param filterTipoApertura the filter tipo apertura
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the JQ grid response dto
	 */
	JQGridResponseDto<JerarquiaDto<TipoApertura>> jerarquia(
			TipoApertura filterTipoApertura, JQGridRequestDto jqGridRequestDto,
			Boolean startsWith);

	/**
	 * Finder method for siblings rows in the hierarchical the Ab04b71s00 table.
	 * 
	 *  filterTipoApertura
	 *            TipoApertura
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  JQGridResponseDto<JerarquiaDto<Ab04b71s00>>
	 *
	 * @param filterTipoApertura the filter tipo apertura
	 * @param jqGridRequestDto the jq grid request dto
	 * @return the JQ grid response dto
	 */
	JQGridResponseDto<JerarquiaDto<TipoApertura>> jerarquiaChildren(
			TipoApertura filterTipoApertura, JQGridRequestDto jqGridRequestDto);

}
