package com.ejie.m62fb.service.registroVPP;

import java.util.List;

import com.ejie.m62fb.model.InquilinoElemento;
import com.ejie.x38.dto.JQGridRequestDto;
import com.ejie.x38.dto.JQGridResponseDto;

/**
 * InquilinoService generated by UDA, 21-oct-2015 14:10:38.
 * 
XXXX
 */

public interface InquilinoElementoService {

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

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

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

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

	/**
	 * Finds a list of rows in the InquilinoElemento table.
	 * 
	 * @param inquilinoElemento
	 *            InquilinoElemento
	 * @param jqGridRequestDto
	 *            JQGridRequestDto
	 * @return List<InquilinoElemento>
	 */
	List<InquilinoElemento> findAll(InquilinoElemento inquilinoElemento,
			JQGridRequestDto jqGridRequestDto);

	/**
	 * Finds rows in the InquilinoElemento table using like.
	 * 
	 * @param inquilinoElemento
	 *            InquilinoElemento
	 * @param jqGridRequestDto
	 *            JQGridRequestDto
	 * @param startsWith
	 *            Boolean
	 * @return List<InquilinoElemento>
	 */
	List<InquilinoElemento> findAllLike(InquilinoElemento inquilinoElemento,
			JQGridRequestDto jqGridRequestDto, Boolean startsWith);

	/*
	 * OPERACIONES RUP_TABLE
	 */
	/**
	 * Filter method in the InquilinoElemento table.
	 * 
	 * @param filterInquilinoElemento
	 *            InquilinoElemento
	 * @param jqGridRequestDto
	 *            JQGridRequestDto
	 * @param startsWith
	 *            Boolean
	 * @return JQGridResponseDto<InquilinoElemento>
	 */
	JQGridResponseDto<InquilinoElemento> filter(
			InquilinoElemento filterInquilinoElemento,
			JQGridRequestDto jqGridRequestDto, Boolean startsWith);

	/**
	 * Reorder the selection made in InquilinoElemento table.
	 * 
	 * @param filterInquilino
	 *            InquilinoElemento
	 * @param jqGridRequestDto
	 *            JQGridRequestDto
	 * @param startsWith
	 *            Boolean
	 * @return Object
	 */
	Object reorderSelection(InquilinoElemento filterInquilino,
			JQGridRequestDto jqGridRequestDto, Boolean startsWith);
}
