package com.ejie.m62fb.service.registroVPP;

import java.util.List;

import com.ejie.m62fb.model.Inquilino;
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 InquilinoService {

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

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

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

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

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

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

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

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