package com.ejie.ad74a.service;


import com.ejie.x38.dto.JerarquiaDto;
import com.ejie.x38.dto.TableRequestDto;
import com.ejie.x38.dto.TableResponseDto;
import com.ejie.x38.dto.TableRowDto;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.ejie.ad74a.model.MaestroMotDenegacion;

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

public interface MaestroMotDenegacionService {

	/**
	 * 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);

	/**
	 * Deletes 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<MaestroMotDenegacion>
	 */
	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<MaestroMotDenegacion>
	 */
	List<MaestroMotDenegacion> findAllLike(MaestroMotDenegacion maestroMotDenegacion, TableRequestDto tableRequestDto, Boolean startsWith);

	/*
	 * OPERACIONES RUP_TABLE
	 */

	/**
	 * Removes rows from the MaestroMotDenegacion table.
	 *
	 * @param tableRequestDto TableRequestDto
	 */	
	void removeMultiple(TableRequestDto tableRequestDto);
   
    
	/**
	 * Filter method in the MaestroMotDenegacion table.
	 *
	 * @param filterMaestroMotDenegacion MaestroMotDenegacion
	 * @param tableRequestDto TableRequestDto
	 * @param startsWith Boolean
	 * @return TableResponseDto<MaestroMotDenegacion>
	 */	
	TableResponseDto<MaestroMotDenegacion> filter(MaestroMotDenegacion filterMaestroMotDenegacion, TableRequestDto tableRequestDto,  Boolean startsWith);
    
    /**
	 * Searches rows in the MaestroMotDenegacion 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);
    
    /**
	 * Reorder the selection made in MaestroMotDenegacion table.
	 *
	 * @param filterMaestroMotDenegacion MaestroMotDenegacion
	 * @param tableRequestDto TableRequestDto
	 * @param startsWith Boolean
	 * @return Object
	 */	
    Object reorderSelection(MaestroMotDenegacion filterMaestroMotDenegacion, TableRequestDto tableRequestDto, Boolean startsWith);
    
    /*
	 * OPERACIONES RUP_TABLE JERARQUIA
	 */
	 
	/**
	 * Finder method in the hierarchical the MaestroMotDenegacion table.
	 *
	 * @param filterMaestroMotDenegacion MaestroMotDenegacion
	 * @param tableRequestDto TableRequestDto
	 * @param startsWith Boolean
	 * @return TableResponseDto<JerarquiaDto<MaestroMotDenegacion>>
	 */	
	TableResponseDto<JerarquiaDto<MaestroMotDenegacion>> jerarquia(MaestroMotDenegacion filterMaestroMotDenegacion, TableRequestDto tableRequestDto, Boolean startsWith);
	
	/**
	 * Finder method for siblings rows in the hierarchical the MaestroMotDenegacion table.
	 *
	 * @param filterMaestroMotDenegacion MaestroMotDenegacion
	 * @param tableRequestDto TableRequestDto
	 * @return TableResponseDto<JerarquiaDto<MaestroMotDenegacion>>
	 */	
	TableResponseDto<JerarquiaDto<MaestroMotDenegacion>> jerarquiaChildren(MaestroMotDenegacion filterMaestroMotDenegacion, TableRequestDto tableRequestDto);
    
    /**
    * Exporta Datos al clipBoard
    *
    */
    List<MaestroMotDenegacion> getMultiple(MaestroMotDenegacion filterMaestroMotDenegacion, TableRequestDto tableRequestDto, Boolean startsWith);
    
    /**
	 * Exporta Datos en su formato
	 *
	 */
	void generateReport(MaestroMotDenegacion filterMaestroMotDenegacion, String[] columns,String[] columnsName, String fileName, String sheetTitle,
			TableRequestDto tableRequestDto, HttpServletRequest request, HttpServletResponse response);
    
}


