package com.ejie.ab04b.dao;

import java.util.List;

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

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

public interface ModalidadOrganizacionPreventivaDao {

	/**
	 * 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);

	/**
	 * Removes 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
	 *
	 * @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
	 *
	 * @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
	 */

	/**
	 * Filter in 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);

	/**
	 * Counts rows in the Ab04b74s00 table using like.
	 * 
	 *  ab04b74s00
	 *            Ab04b74s00
	 *  startsWith
	 *            Boolean
	 *  Long
	 *
	 * @param ab04b74s00 the ab 04 b 74 s 00
	 * @param startsWith the starts with
	 * @return the long
	 */
	Long findAllLikeCount(ModalidadOrganizacionPreventiva ab04b74s00, Boolean startsWith);

	/**
	 * Counts rows in the Ab04b74s00 table.
	 * 
	 *  ab04b74s00
	 *            Ab04b74s00
	 *  Long
	 *
	 * @param ab04b74s00 the ab 04 b 74 s 00
	 * @return the long
	 */
	Long findAllCount(ModalidadOrganizacionPreventiva ab04b74s00);

	/**
	 * Reorder selection.
	 * 
	 *  filterAb04b74s00
	 *            Ab04b74s00
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *  List<TableRowDto<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 list
	 */
	List<TableRowDto<ModalidadOrganizacionPreventiva>> reorderSelection(
			ModalidadOrganizacionPreventiva filterAb04b74s00, JQGridRequestDto jqGridRequestDto, Boolean startsWith);

	/**
	 * Searches in the Usuario 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);

}
