package com.ejie.ab04b.dao;

import java.util.List;

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

/**
 * Ab0479s00Dao generated by UDA, 23-Jan-2017 10:12:45.
 * 
 * @author UDA
 */

public interface EmpresaAuditoraDao {

	/**
	 * Inserts a single row in the Ab0479s00 table.
	 * 
	 *  ab0479s00
	 *            Ab0479s00
	 *  Ab0479s00
	 *
	 * @param ab0479s00 the ab 0479 s 00
	 * @return the empresa auditora
	 */
	EmpresaAuditora add(EmpresaAuditora ab0479s00);

	/**
	 * Updates a single row in the Ab0479s00 table.
	 * 
	 *  ab0479s00
	 *            Ab0479s00
	 *  Ab0479s00
	 *
	 * @param ab0479s00 the ab 0479 s 00
	 * @return the empresa auditora
	 */
	EmpresaAuditora update(EmpresaAuditora ab0479s00);

	/**
	 * Finds a single row in the Ab0479s00 table.
	 * 
	 *  ab0479s00
	 *            Ab0479s00
	 *  Ab0479s00
	 *
	 * @param ab0479s00 the ab 0479 s 00
	 * @return the empresa auditora
	 */
	EmpresaAuditora find(EmpresaAuditora ab0479s00);

	/**
	 * Removes a single row in the Ab0479s00 table.
	 * 
	 *  ab0479s00
	 *            Ab0479s00
	 *
	 * @param ab0479s00 the ab 0479 s 00
	 */
	void remove(EmpresaAuditora ab0479s00);

	/**
	 * Finds a List of rows in the Ab0479s00 table.
	 * 
	 *  ab0479s00
	 *            Ab0479s00
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  List
	 *
	 * @param ab0479s00 the ab 0479 s 00
	 * @param jqGridRequestDto the jq grid request dto
	 * @return the list
	 */
	List<EmpresaAuditora> findAll(EmpresaAuditora ab0479s00, JQGridRequestDto jqGridRequestDto);

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

	/*
	 * OPERACIONES RUP_TABLE
	 */

	/**
	 * Filter in the Ab0479s00 table.
	 * 
	 *  filterAb0479s00
	 *            Ab0479s00
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *
	 * @param filterAb0479s00 the filter ab 0479 s 00
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 */
	void removeMultiple(EmpresaAuditora filterAb0479s00, JQGridRequestDto jqGridRequestDto, Boolean startsWith);

	/**
	 * Counts rows in the Ab0479s00 table using like.
	 * 
	 *  ab0479s00
	 *            Ab0479s00
	 *  startsWith
	 *            Boolean
	 *  Long
	 *
	 * @param ab0479s00 the ab 0479 s 00
	 * @param startsWith the starts with
	 * @return the long
	 */
	Long findAllLikeCount(EmpresaAuditora ab0479s00, Boolean startsWith);

	/**
	 * Counts rows in the Ab0479s00 table.
	 * 
	 *  ab0479s00
	 *            Ab0479s00
	 *  Long
	 *
	 * @param ab0479s00 the ab 0479 s 00
	 * @return the long
	 */
	Long findAllCount(EmpresaAuditora ab0479s00);

	/**
	 * Reorder selection.
	 * 
	 *  filterAb0479s00
	 *            Ab0479s00
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *  List<TableRowDto<Ab0479s00>>
	 *
	 * @param filterAb0479s00 the filter ab 0479 s 00
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the list
	 */
	List<TableRowDto<EmpresaAuditora>> reorderSelection(EmpresaAuditora filterAb0479s00, JQGridRequestDto jqGridRequestDto,
			Boolean startsWith);

	/**
	 * Searches in the Usuario table.
	 * 
	 *  filterAb0479s00
	 *            Ab0479s00
	 *  searchAb0479s00
	 *            Ab0479s00
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *  List<TableRowDto<Ab0479s00>>
	 *
	 * @param filterAb0479s00 the filter ab 0479 s 00
	 * @param searchAb0479s00 the search ab 0479 s 00
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the list
	 */
	List<TableRowDto<EmpresaAuditora>> search(EmpresaAuditora filterAb0479s00, EmpresaAuditora searchAb0479s00,
			JQGridRequestDto jqGridRequestDto, Boolean startsWith);

}
