package com.ejie.aa21b.dao;

import java.util.List;

import com.ejie.aa21b.model.Aa21b97s01;
import com.ejie.aa21b.model.Aa21b98s01;
import com.ejie.x38.dto.JQGridRequestDto;
import com.ejie.x38.dto.TableRowDto;

/**
 * Aa21bDesbloqueosTablasDao  
 * 
 *  
 */

public interface Aa21bDesbloqueosTablasDao {

	/**
	 * Finds a List of rows in the Aa21b15s01 table.
	 * 
	 * @param aa21b97s01
	 *            Aa21b97s01
	 * @param jqGridRequestDto
	 *            JQGridRequestDto
	 * @return List
	 */
	List<Aa21b97s01> findAll(Aa21b97s01 aa21b97s01,
			JQGridRequestDto jqGridRequestDto);

	/**
	 * Counts rows in the Aa21b12s01 table.
	 * 
	 * @param aa21b97s01
	 *            Aa21b97s01
	 * @return Long
	 */
	Long findAllCount(Aa21b97s01 aa21b97s01);

	/**
	 * 
	 * @param aa21b97s01
	 *            Aa21b97s01
	 * @param jqGridRequestDto
	 *            JQGridRequestDto
	 * @return List<TableRowDto<Aa21b97s01>>
	 */
	List<TableRowDto<Aa21b97s01>> reorderSelection(Aa21b97s01 aa21b97s01,
			JQGridRequestDto jqGridRequestDto);

	/**
	 * 
	 * @param aa21b97s01
	 *            Aa21b97s01
	 * @return Aa21b97s01
	 */
	Aa21b97s01 find(Aa21b97s01 aa21b97s01);

	/**
	 * 
	 * @param aa21b97s01
	 *            Aa21b97s01
	 * @param c
	 *            Boolean
	 * @return List<Aa21b97s01>
	 */
	List<Aa21b97s01> findTabla(Aa21b97s01 aa21b97s01, Boolean c);

	/**
	 * 
	 * @param aa21b98s01
	 *            Aa21b98s01
	 * @return Aa21b98s01
	 */
	List<Aa21b98s01> findDetalle(Aa21b98s01 aa21b98s01);

}