package com.ejie.ab04b.service;

import java.util.List;

import com.ejie.ab04b.model.RequerimientoOS3;
import com.ejie.x38.dto.JQGridRequestDto;
import com.ejie.x38.dto.JQGridResponseDto;
import com.ejie.x38.dto.TableRowDto;

/**
 * Ab0448s00Service generated by UDA, 31-may-2017 9:30:50.
 * 
 * @author UDA
 */

public interface RequerimientoOS3Service {

	/**
	 * Inserts a single row in the Ab0448s00 table.
	 * 
	 * ab0448s00 Ab0448s00 Ab0448s00
	 * 
	 * @param ab0448s00
	 *            the ab 0448 s 00
	 * @return the requerimiento OS 3
	 */
	RequerimientoOS3 add(RequerimientoOS3 ab0448s00);

	/**
	 * Updates a single row in the Ab0448s00 table.
	 * 
	 * ab0448s00 Ab0448s00 Ab0448s00
	 * 
	 * @param ab0448s00
	 *            the ab 0448 s 00
	 * @return the requerimiento OS 3
	 */
	RequerimientoOS3 update(RequerimientoOS3 ab0448s00);

	/**
	 * Finds a single row in the Ab0448s00 table.
	 * 
	 * ab0448s00 Ab0448s00 Ab0448s00
	 * 
	 * @param ab0448s00
	 *            the ab 0448 s 00
	 * @return the requerimiento OS 3
	 */
	RequerimientoOS3 find(RequerimientoOS3 ab0448s00);

	/**
	 * Deletes a single row in the Ab0448s00 table.
	 * 
	 * ab0448s00 Ab0448s00
	 * 
	 * @param ab0448s00
	 *            the ab 0448 s 00
	 */
	void remove(RequerimientoOS3 ab0448s00);

	/**
	 * Finds a list of rows in the Ab0448s00 table.
	 * 
	 * ab0448s00 Ab0448s00 jqGridRequestDto JQGridRequestDto List<Ab0448s00>
	 * 
	 * @param ab0448s00
	 *            the ab 0448 s 00
	 * @param jqGridRequestDto
	 *            the jq grid request dto
	 * @return the list
	 */
	List<RequerimientoOS3> findAll(RequerimientoOS3 ab0448s00,
			JQGridRequestDto jqGridRequestDto);

	/**
	 * Finds rows in the Ab0448s00 table using like.
	 * 
	 * ab0448s00 Ab0448s00 jqGridRequestDto JQGridRequestDto startsWith Boolean
	 * List<Ab0448s00>
	 * 
	 * @param ab0448s00
	 *            the ab 0448 s 00
	 * @param jqGridRequestDto
	 *            the jq grid request dto
	 * @param startsWith
	 *            the starts with
	 * @return the list
	 */
	List<RequerimientoOS3> findAllLike(RequerimientoOS3 ab0448s00,
			JQGridRequestDto jqGridRequestDto, Boolean startsWith);

	/*
	 * OPERACIONES RUP_TABLE
	 */

	/**
	 * Removes rows from the Ab0448s00 table.
	 * 
	 * filterAb0448s00 Ab0448s00 jqGridRequestDto JQGridRequestDto startsWith
	 * Boolean
	 * 
	 * @param filterAb0448s00
	 *            the filter ab 0448 s 00
	 * @param jqGridRequestDto
	 *            the jq grid request dto
	 * @param startsWith
	 *            the starts with
	 */
	void removeMultiple(RequerimientoOS3 filterAb0448s00,
			JQGridRequestDto jqGridRequestDto, Boolean startsWith);

	/**
	 * Filter method in the Ab0448s00 table.
	 * 
	 * filterAb0448s00 Ab0448s00 jqGridRequestDto JQGridRequestDto startsWith
	 * Boolean JQGridResponseDto<Ab0448s00>
	 * 
	 * @param filterAb0448s00
	 *            the filter ab 0448 s 00
	 * @param jqGridRequestDto
	 *            the jq grid request dto
	 * @param startsWith
	 *            the starts with
	 * @return the JQ grid response dto
	 */
	JQGridResponseDto<RequerimientoOS3> filter(
			RequerimientoOS3 filterAb0448s00,
			JQGridRequestDto jqGridRequestDto, Boolean startsWith);

	/**
	 * Searches rows in the Ab0448s00 table.
	 * 
	 * filterAb0448s00 Ab0448s00 searchAb0448s00 Ab0448s00 jqGridRequestDto
	 * JQGridRequestDto startsWith Boolean List<TableRowDto<Ab0448s00>>
	 * 
	 * @param filterAb0448s00
	 *            the filter ab 0448 s 00
	 * @param searchAb0448s00
	 *            the search ab 0448 s 00
	 * @param jqGridRequestDto
	 *            the jq grid request dto
	 * @param startsWith
	 *            the starts with
	 * @return the list
	 */
	List<TableRowDto<RequerimientoOS3>> search(
			RequerimientoOS3 filterAb0448s00, RequerimientoOS3 searchAb0448s00,
			JQGridRequestDto jqGridRequestDto, Boolean startsWith);

	/**
	 * Reorder the selection made in Ab0448s00 table.
	 * 
	 * filterAb0448s00 Ab0448s00 jqGridRequestDto JQGridRequestDto startsWith
	 * Boolean Object
	 * 
	 * @param filterAb0448s00
	 *            the filter ab 0448 s 00
	 * @param jqGridRequestDto
	 *            the jq grid request dto
	 * @param startsWith
	 *            the starts with
	 * @return the object
	 */
	Object reorderSelection(RequerimientoOS3 filterAb0448s00,
			JQGridRequestDto jqGridRequestDto, Boolean startsWith);

	/**
	 * removePorTarea
	 * 
	 * @param idTarea
	 *            Long
	 */
	void removePorTarea(Long idTarea);

}
