package com.ejie.ad74a.dao;

import com.ejie.x38.dto.JerarquiaDto;
import com.ejie.x38.dto.TableRequestDto;
import com.ejie.x38.dto.TableRowDto;
import java.util.List;

import com.ejie.ad74a.model.MaestroMotDenegacion;

/**
 * MaestroMotDenegacionDao generated by UDA, 30-oct-2023 14:41:18.
 * @author UDA
 */

public interface MaestroMotDenegacionDao {
    
    /**
     * Inserts a single row in the MaestroMotDenegacion table.
     *
     * @param maestromotdenegacion MaestroMotDenegacion
     * @return MaestroMotDenegacion
     */
    MaestroMotDenegacion add(MaestroMotDenegacion maestromotdenegacion);

    /**
     * Updates a single row in the MaestroMotDenegacion table.
     *
     * @param maestromotdenegacion MaestroMotDenegacion
     * @return MaestroMotDenegacion
     */
    MaestroMotDenegacion update(MaestroMotDenegacion maestromotdenegacion);

    /**
     * Finds a single row in the MaestroMotDenegacion table.
     *
     * @param maestromotdenegacion MaestroMotDenegacion
     * @return MaestroMotDenegacion
     */
    MaestroMotDenegacion find(MaestroMotDenegacion maestromotdenegacion);

    /**
     * Removes a single row in the MaestroMotDenegacion table.
     *
     * @param maestromotdenegacion MaestroMotDenegacion
     */
    void remove(MaestroMotDenegacion maestromotdenegacion);

    /**
     * Finds a List of rows in the MaestroMotDenegacion table.
     *
     * @param maestromotdenegacion MaestroMotDenegacion
     * @param tableRequestDto TableRequestDto
     * @return List
     */
    List<MaestroMotDenegacion> findAll(MaestroMotDenegacion maestromotdenegacion, TableRequestDto tableRequestDto);

	/**
     * Finds rows in the MaestroMotDenegacion table using like.
     *
     * @param maestromotdenegacion MaestroMotDenegacion
     * @param tableRequestDto TableRequestDto
     * @param startsWith Boolean
     * @return List
     */
	List<MaestroMotDenegacion> findAllLike(MaestroMotDenegacion maestromotdenegacion, TableRequestDto tableRequestDto, Boolean startsWith);
	
	
	/*
	 * OPERACIONES RUP_TABLE
	 */
	 
	/**
	 * Filter in the MaestroMotDenegacion table.
	 *
	 * @param tableRequestDto TableRequestDto
	 */	
	 void removeMultiple(TableRequestDto tableRequestDto);
	
	
    /**
     * Counts rows in the MaestroMotDenegacion table using like.
     *
     * @param maestromotdenegacion MaestroMotDenegacion
     * @param startsWith Boolean
     * @return Long
     */
    Long findAllLikeCount(MaestroMotDenegacion maestromotdenegacion, Boolean startsWith);
    
    /**
     * Counts rows in the MaestroMotDenegacion table.
     *
     * @param maestromotdenegacion MaestroMotDenegacion
     * @return Long
     */
    Long findAllCount(MaestroMotDenegacion maestromotdenegacion);
    
    /**
	 * Reorder selection.
	 *
	 * @param filterMaestroMotDenegacion MaestroMotDenegacion
	 * @param tableRequestDto TableRequestDto
	 * @param startsWith Boolean
	 * @return List<TableRowDto<MaestroMotDenegacion>>
	 */	
    List<TableRowDto<MaestroMotDenegacion>> reorderSelection(MaestroMotDenegacion filterMaestroMotDenegacion, TableRequestDto tableRequestDto, Boolean startsWith);
    
     /**
	 * Searches in the Usuario table.
	 *
	 * @param filterMaestroMotDenegacion MaestroMotDenegacion
	 * @param searchMaestroMotDenegacion MaestroMotDenegacion
	 * @param tableRequestDto TableRequestDto
	 * @param startsWith Boolean
	 * @return List<TableRowDto<MaestroMotDenegacion>>	 
	 */	
    List<TableRowDto<MaestroMotDenegacion>> search(MaestroMotDenegacion filterMaestroMotDenegacion, MaestroMotDenegacion searchMaestroMotDenegacion, TableRequestDto tableRequestDto, Boolean startsWith);

    /*
	 * OPERACIONES RUP_TABLE JERARQUIA
	 */
    
    /**
	 * Filter in the hierarchical MaestroMotDenegacion table.
	 *
	 * @param filterMaestroMotDenegacion MaestroMotDenegacion
	 * @param tableRequestDto TableRequestDto
	 * @return List<JerarquiaDto<MaestroMotDenegacion>>
	 */	
	List<JerarquiaDto<MaestroMotDenegacion>> findAllLikeJerarquia(MaestroMotDenegacion filterMaestroMotDenegacion, TableRequestDto tableRequestDto);
	
	/**
	 * Count rows in hierarchy
	 *
	 * @param filterMaestroMotDenegacion MaestroMotDenegacion
	 * @param tableRequestDto TableRequestDto
	 * @return Long
	 */	
	Long findAllLikeCountJerarquia(MaestroMotDenegacion filterMaestroMotDenegacion, TableRequestDto tableRequestDto);
	
	/**
	 * Find dependent hierarchical rows
	 *
	 * @param filterMaestroMotDenegacion MaestroMotDenegacion
	 * @param tableRequestDto TableRequestDto
	 * @return List<TableRowDto<MaestroMotDenegacion>>
	 */	
	List<TableRowDto<MaestroMotDenegacion>> findAllChild(MaestroMotDenegacion filterMaestroMotDenegacion, TableRequestDto tableRequestDto);
	
	/**
    * Exporta Datos al clipBoard
    *
    */
    List<MaestroMotDenegacion> getMultiple(MaestroMotDenegacion filterMaestroMotDenegacion, TableRequestDto tableRequestDto, Boolean startsWith);
	
}

