package com.ejie.ab39a.service;

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

import com.ejie.ab39a.model.TiposIdentif;

/**
 * TiposIdentif.
 * 
 *  
 */

public interface TiposIdentifService {

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

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

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

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

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

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

	/*
	 * OPERACIONES RUP_TABLE
	 */

	/**
	 * Removes rows from the TiposIdentif table.
	 *
	 * @param filterTiposIdentif
	 *            TiposIdentif filterTiposIdentif
	 * @param jqGridRequestDto
	 *            JQGridRequestDto jqGridRequestDto
	 * @param startsWith
	 *            Boolean startsWith
	 */
	void removeMultiple(TiposIdentif filterTiposIdentif, JQGridRequestDto jqGridRequestDto, Boolean startsWith);

	/**
	 * Filter method in the TiposIdentif table.
	 *
	 * @param filterTiposIdentif
	 *            TiposIdentif filterTiposIdentif
	 * @param jqGridRequestDto
	 *            JQGridRequestDto jqGridRequestDto
	 * @param startsWith
	 *            Boolean startsWith
	 * @return JQGridResponseDto<TiposIdentif> JQGridResponseDto
	 */
	JQGridResponseDto<TiposIdentif> filter(TiposIdentif filterTiposIdentif, JQGridRequestDto jqGridRequestDto,
			Boolean startsWith);

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

}
