package com.ejie.ab63.service;

import java.util.List;

import com.ejie.ab63.model.FactorCompensatorio;
import com.ejie.x38.dto.TableRequestDto;
import com.ejie.x38.dto.TableResponseDto;
import com.ejie.x38.dto.TableRowDto;

/**
 * Ab6319s00Service  
 * 
 *  
 */

public interface FactorCompensatorioService {

	/**
	 * Inserts a single row in the Ab6319s00 table.
	 *
	 * @param ab6319s00
	 *            Ab6319s00
	 * @return Ab6319s00
	 */
	FactorCompensatorio add(FactorCompensatorio ab6319s00);

	/**
	 * Updates a single row in the Ab6319s00 table.
	 *
	 * @param ab6319s00
	 *            Ab6319s00
	 * @return Ab6319s00
	 */
	FactorCompensatorio update(FactorCompensatorio ab6319s00);

	/**
	 * Finds a single row in the Ab6319s00 table.
	 *
	 * @param ab6319s00
	 *            Ab6319s00
	 * @return Ab6319s00
	 */
	FactorCompensatorio find(FactorCompensatorio ab6319s00);

	/**
	 * Deletes a single row in the Ab6319s00 table.
	 *
	 * @param ab6319s00
	 *            Ab6319s00
	 */
	void remove(FactorCompensatorio ab6319s00);

	/**
	 * Finds a list of rows in the Ab6319s00 table.
	 *
	 * @param ab6319s00
	 *            Ab6319s00
	 * @param jqGridRequestDto
	 *            JQGridRequestDto
	 * @return List<Ab6319s00>
	 */
	List<FactorCompensatorio> findAll(FactorCompensatorio ab6319s00, TableRequestDto tableRequestDto);

	/**
	 * Finds rows in the Ab6319s00 table using like.
	 *
	 * @param ab6319s00
	 *            Ab6319s00
	 * @param jqGridRequestDto
	 *            JQGridRequestDto
	 * @param startsWith
	 *            Boolean
	 * @return List<Ab6319s00>
	 */
	List<FactorCompensatorio> findAllLike(FactorCompensatorio ab6319s00, TableRequestDto tableRequestDto,
			Boolean startsWith);

	/*
	 * OPERACIONES RUP_TABLE
	 */

	/**
	 * Removes rows from the Ab6319s00 table.
	 *
	 * @param filterAb6319s00
	 *            Ab6319s00
	 * @param jqGridRequestDto
	 *            JQGridRequestDto
	 * @param startsWith
	 *            Boolean
	 */
	void removeMultiple(FactorCompensatorio filterAb6319s00, TableRequestDto tableRequestDto, Boolean startsWith);

	/**
	 * Filter method in the Ab6319s00 table.
	 *
	 * @param filterAb6319s00
	 *            Ab6319s00
	 * @param jqGridRequestDto
	 *            JQGridRequestDto
	 * @param startsWith
	 *            Boolean
	 * @return JQGridResponseDto<Ab6319s00>
	 */
	TableResponseDto<FactorCompensatorio> filter(FactorCompensatorio filterAb6319s00, TableRequestDto tableRequestDto,
			Boolean startsWith);

	/**
	 * Searches rows in the Ab6319s00 table.
	 *
	 * @param filterAb6319s00
	 *            Ab6319s00
	 * @param searchAb6319s00
	 *            Ab6319s00
	 * @param jqGridRequestDto
	 *            JQGridRequestDto
	 * @param startsWith
	 *            Boolean
	 * @return List<TableRowDto<Ab6319s00>>
	 */
	List<TableRowDto<FactorCompensatorio>> search(FactorCompensatorio filterAb6319s00,
			FactorCompensatorio searchAb6319s00, TableRequestDto tableRequestDto, Boolean startsWith);

	/**
	 * Reorder the selection made in Ab6319s00 table.
	 *
	 * @param filterAb6319s00
	 *            Ab6319s00
	 * @param jqGridRequestDto
	 *            JQGridRequestDto
	 * @param startsWith
	 *            Boolean
	 * @return Object
	 */
	Object reorderSelection(FactorCompensatorio filterAb6319s00, TableRequestDto tableRequestDto, Boolean startsWith);

	FactorCompensatorio save(FactorCompensatorio ab6319s00);

}
