package com.ejie.ab04b.service;

import java.util.List;

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

/**
 * Ab04b74s00Service generated by UDA, 11-Jan-2017 12:23:08.
 * 
 * @author UDA
 */

public interface ModalidadOrganizacionPreventivaService {

	/**
	 * Inserts a single row in the Ab04b74s00 table.
	 * 
	 *  ab04b74s00
	 *            Ab04b74s00
	 *  Ab04b74s00
	 *
	 * @param ab04b74s00 the ab 04 b 74 s 00
	 * @return the modalidad organizacion preventiva
	 */
	ModalidadOrganizacionPreventiva add(ModalidadOrganizacionPreventiva ab04b74s00);

	/**
	 * Updates a single row in the Ab04b74s00 table.
	 * 
	 *  ab04b74s00
	 *            Ab04b74s00
	 *  Ab04b74s00
	 *
	 * @param ab04b74s00 the ab 04 b 74 s 00
	 * @return the modalidad organizacion preventiva
	 */
	ModalidadOrganizacionPreventiva update(ModalidadOrganizacionPreventiva ab04b74s00);

	/**
	 * Finds a single row in the Ab04b74s00 table.
	 * 
	 *  ab04b74s00
	 *            Ab04b74s00
	 *  Ab04b74s00
	 *
	 * @param ab04b74s00 the ab 04 b 74 s 00
	 * @return the modalidad organizacion preventiva
	 */
	ModalidadOrganizacionPreventiva find(ModalidadOrganizacionPreventiva ab04b74s00);

	/**
	 * Deletes a single row in the Ab04b74s00 table.
	 * 
	 *  ab04b74s00
	 *            Ab04b74s00
	 *
	 * @param ab04b74s00 the ab 04 b 74 s 00
	 */
	void remove(ModalidadOrganizacionPreventiva ab04b74s00);

	/**
	 * Finds a list of rows in the Ab04b74s00 table.
	 * 
	 *  ab04b74s00
	 *            Ab04b74s00
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  List<Ab04b74s00>
	 *
	 * @param ab04b74s00 the ab 04 b 74 s 00
	 * @param jqGridRequestDto the jq grid request dto
	 * @return the list
	 */
	List<ModalidadOrganizacionPreventiva> findAll(ModalidadOrganizacionPreventiva ab04b74s00,
			JQGridRequestDto jqGridRequestDto);

	/**
	 * Finds rows in the Ab04b74s00 table using like.
	 * 
	 *  ab04b74s00
	 *            Ab04b74s00
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *  List<Ab04b74s00>
	 *
	 * @param ab04b74s00 the ab 04 b 74 s 00
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the list
	 */
	List<ModalidadOrganizacionPreventiva> findAllLike(ModalidadOrganizacionPreventiva ab04b74s00,
			JQGridRequestDto jqGridRequestDto, Boolean startsWith);

	/*
	 * OPERACIONES RUP_TABLE
	 */

	/**
	 * Removes rows from the Ab04b74s00 table.
	 * 
	 *  filterAb04b74s00
	 *            Ab04b74s00
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *
	 * @param filterAb04b74s00 the filter ab 04 b 74 s 00
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 */
	void removeMultiple(ModalidadOrganizacionPreventiva filterAb04b74s00, JQGridRequestDto jqGridRequestDto,
			Boolean startsWith);

	/**
	 * Filter method in the Ab04b74s00 table.
	 * 
	 *  filterAb04b74s00
	 *            Ab04b74s00
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *  JQGridResponseDto<Ab04b74s00>
	 *
	 * @param filterAb04b74s00 the filter ab 04 b 74 s 00
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the JQ grid response dto
	 */
	JQGridResponseDto<ModalidadOrganizacionPreventiva> filter(ModalidadOrganizacionPreventiva filterAb04b74s00,
			JQGridRequestDto jqGridRequestDto, Boolean startsWith);

	/**
	 * Searches rows in the Ab04b74s00 table.
	 * 
	 *  filterAb04b74s00
	 *            Ab04b74s00
	 *  searchAb04b74s00
	 *            Ab04b74s00
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *  List<TableRowDto<Ab04b74s00>>
	 *
	 * @param filterAb04b74s00 the filter ab 04 b 74 s 00
	 * @param searchAb04b74s00 the search ab 04 b 74 s 00
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the list
	 */
	List<TableRowDto<ModalidadOrganizacionPreventiva>> search(ModalidadOrganizacionPreventiva filterAb04b74s00,
			ModalidadOrganizacionPreventiva searchAb04b74s00, JQGridRequestDto jqGridRequestDto, Boolean startsWith);

	/**
	 * Reorder the selection made in Ab04b74s00 table.
	 * 
	 *  filterAb04b74s00
	 *            Ab04b74s00
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *  Object
	 *
	 * @param filterAb04b74s00 the filter ab 04 b 74 s 00
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the object
	 */
	Object reorderSelection(ModalidadOrganizacionPreventiva filterAb04b74s00, JQGridRequestDto jqGridRequestDto,
			Boolean startsWith);

}
