package com.ejie.ab63.dao;

import java.util.List;

import com.ejie.ab63.model.ZonaOcio;
import com.ejie.x38.dto.TableRequestDto;
import com.ejie.x38.dto.TableRowDto;

/**
 * Ab6333s00Dao  
 * 
 *  
 */

public interface ZonaOcioDao {

	/**
	 * Inserts a single row in the Ab6333s00 table.
	 *
	 * @param ab6333s00
	 *            Ab6333s00
	 * @return Ab6333s00
	 */
	ZonaOcio add(ZonaOcio ab6333s00);

	/**
	 * Updates a single row in the Ab6333s00 table.
	 *
	 * @param ab6333s00
	 *            Ab6333s00
	 * @return Ab6333s00
	 */
	ZonaOcio update(ZonaOcio ab6333s00);

	/**
	 * Finds a single row in the Ab6333s00 table.
	 *
	 * @param ab6333s00
	 *            Ab6333s00
	 * @return Ab6333s00
	 */
	ZonaOcio find(ZonaOcio ab6333s00);

	/**
	 * Removes a single row in the Ab6333s00 table.
	 *
	 * @param ab6333s00
	 *            Ab6333s00
	 */
	void remove(ZonaOcio ab6333s00);

	/**
	 * Finds a List of rows in the Ab6333s00 table.
	 *
	 * @param ab6333s00
	 *            Ab6333s00
	 * @param jqGridRequestDto
	 *            JQGridRequestDto
	 * @return List
	 */
	List<ZonaOcio> findAll(ZonaOcio ab6333s00, TableRequestDto tableRequestDto);

	/**
	 * Finds rows in the Ab6333s00 table using like.
	 *
	 * @param ab6333s00
	 *            Ab6333s00
	 * @param jqGridRequestDto
	 *            JQGridRequestDto
	 * @param startsWith
	 *            Boolean
	 * @return List
	 */
	List<ZonaOcio> findAllLike(ZonaOcio ab6333s00, TableRequestDto tableRequestDto, Boolean startsWith);

	/*
	 * OPERACIONES RUP_TABLE
	 */

	/**
	 * Filter in the Ab6333s00 table.
	 *
	 * @param filterAb6333s00
	 *            Ab6333s00
	 * @param jqGridRequestDto
	 *            JQGridRequestDto
	 * @param startsWith
	 *            Boolean
	 */
	void removeMultiple(ZonaOcio filterAb6333s00, TableRequestDto tableRequestDto, Boolean startsWith);

	/**
	 * Counts rows in the Ab6333s00 table using like.
	 *
	 * @param ab6333s00
	 *            Ab6333s00
	 * @param startsWith
	 *            Boolean
	 * @return Long
	 */
	Long findAllLikeCount(ZonaOcio ab6333s00, Boolean startsWith);

	/**
	 * Counts rows in the Ab6333s00 table.
	 *
	 * @param ab6333s00
	 *            Ab6333s00
	 * @return Long
	 */
	Long findAllCount(ZonaOcio ab6333s00);

	/**
	 * Reorder selection.
	 *
	 * @param filterAb6333s00
	 *            Ab6333s00
	 * @param jqGridRequestDto
	 *            JQGridRequestDto
	 * @param startsWith
	 *            Boolean
	 * @return List<TableRowDto<Ab6333s00>>
	 */
	List<TableRowDto<ZonaOcio>> reorderSelection(ZonaOcio filterAb6333s00, TableRequestDto tableRequestDto,
			Boolean startsWith);

	/**
	 * Searches in the Usuario table.
	 *
	 * @param filterAb6333s00
	 *            Ab6333s00
	 * @param searchAb6333s00
	 *            Ab6333s00
	 * @param jqGridRequestDto
	 *            JQGridRequestDto
	 * @param startsWith
	 *            Boolean
	 * @return List<TableRowDto<Ab6333s00>>
	 */
	List<TableRowDto<ZonaOcio>> search(ZonaOcio filterAb6333s00, ZonaOcio searchAb6333s00,
			TableRequestDto tableRequestDto, Boolean startsWith);

	/**
	 * Find dependent hierarchical rows
	 *
	 * @param filterAb6333s00
	 *            Ab6333s00
	 * @param jqGridRequestDto
	 *            JQGridRequestDto
	 * @return List<TableRowDto<Ab6333s00>>
	 */
	List<TableRowDto<ZonaOcio>> findAllChild(ZonaOcio filterAb6333s00, TableRequestDto tableRequestDto);

}
