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.MaestroSubtpoLlamada;

/**
 * MaestroSubtpoLlamadaDao generated by UDA, 10-jul-2023 9:33:38.
 * @author UDA
 */

public interface MaestroSubtpoLlamadaDao {
    
    /**
     * Inserts a single row in the MaestroSubtpoLlamada table.
     *
     * @param maestrosubtpollamada MaestroSubtpoLlamada
     * @return MaestroSubtpoLlamada
     */
    MaestroSubtpoLlamada add(MaestroSubtpoLlamada maestrosubtpollamada);

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

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

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

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

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

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

