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.ElementosPe;

/**
 * ElementosPe.
 * 
 *  
 */

public interface ElementosPeService {

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

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

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

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

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

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

	/*
	 * OPERACIONES RUP_TABLE
	 */

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

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

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

}
