package com.ejie.ab04b.service;

import java.util.List;

import com.ejie.ab04b.model.RegimenJuridico;
import com.ejie.x38.dto.JQGridRequestDto;
import com.ejie.x38.dto.JQGridResponseDto;

/**
 * RegimenJuridicoService generated by UDA, 27-sep-2016 13:26:09.
 * 
 * @author UDA
 */

public interface RegimenJuridicoService {

	/**
	 * Inserts a single row in the RegimenJuridico table.
	 * 
	 *  regimenJuridico
	 *            RegimenJuridico
	 *  RegimenJuridico
	 *
	 * @param regimenJuridico the regimen juridico
	 * @return the regimen juridico
	 */
	RegimenJuridico add(RegimenJuridico regimenJuridico);

	/**
	 * Updates a single row in the RegimenJuridico table.
	 * 
	 *  regimenJuridico
	 *            RegimenJuridico
	 *  RegimenJuridico
	 *
	 * @param regimenJuridico the regimen juridico
	 * @return the regimen juridico
	 */
	RegimenJuridico update(RegimenJuridico regimenJuridico);

	/**
	 * Finds a single row in the RegimenJuridico table.
	 * 
	 *  regimenJuridico
	 *            RegimenJuridico
	 *  RegimenJuridico
	 *
	 * @param regimenJuridico the regimen juridico
	 * @return the regimen juridico
	 */
	RegimenJuridico find(RegimenJuridico regimenJuridico);

	/**
	 * Deletes a single row in the RegimenJuridico table.
	 * 
	 *  regimenJuridico
	 *            RegimenJuridico
	 *
	 * @param regimenJuridico the regimen juridico
	 */
	void remove(RegimenJuridico regimenJuridico);

	/**
	 * Finds a list of rows in the RegimenJuridico table.
	 * 
	 *  regimenJuridico
	 *            RegimenJuridico
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  List<RegimenJuridico>
	 *
	 * @param regimenJuridico the regimen juridico
	 * @param jqGridRequestDto the jq grid request dto
	 * @return the list
	 */
	List<RegimenJuridico> findAll(RegimenJuridico regimenJuridico,
			JQGridRequestDto jqGridRequestDto);

	/**
	 * Finds rows in the RegimenJuridico table using like.
	 * 
	 *  regimenJuridico
	 *            RegimenJuridico
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *  List<RegimenJuridico>
	 *
	 * @param regimenJuridico the regimen juridico
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the list
	 */
	List<RegimenJuridico> findAllLike(RegimenJuridico regimenJuridico,
			JQGridRequestDto jqGridRequestDto, Boolean startsWith);

	/*
	 * OPERACIONES RUP_TABLE
	 */

	/**
	 * Filter method in the RegimenJuridico table.
	 * 
	 *  filterRegimenJuridico
	 *            RegimenJuridico
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *  JQGridResponseDto<RegimenJuridico>
	 *
	 * @param filterRegimenJuridico the filter regimen juridico
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the JQ grid response dto
	 */
	JQGridResponseDto<RegimenJuridico> filter(
			RegimenJuridico filterRegimenJuridico,
			JQGridRequestDto jqGridRequestDto, Boolean startsWith);

	/**
	 * Reorder the selection made in RegimenJuridico table.
	 * 
	 *  filterRegimenJuridico
	 *            RegimenJuridico
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *  Object
	 *
	 * @param filterRegimenJuridico the filter regimen juridico
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the object
	 */
	Object reorderSelection(RegimenJuridico filterRegimenJuridico,
			JQGridRequestDto jqGridRequestDto, Boolean startsWith);

}
