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

/**
 * MaestroSubtiposAvisoActorDao generated by UDA, 12-may-2023 11:16:38.
 * @author UDA
 */

public interface MaestroSubtiposAvisoActorDao {
    
    /**
     * Inserts a single row in the MaestroSubtiposAvisoActor table.
     *
     * @param maestrosubtiposavisoactor MaestroSubtiposAvisoActor
     * @return MaestroSubtiposAvisoActor
     */
    MaestroSubtiposAvisoActor add(MaestroSubtiposAvisoActor maestrosubtiposavisoactor);

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

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

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

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

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

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

