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

/**
 * MaestroTrSocialesService generated by UDA, 19-abr-2023 16:38:34.
 * @author UDA
 */

public interface MaestroTrSocialesService {

	/**
	 * Inserts a single row in the MaestroTrSociales table.
	 *
	 * @param maestroTrSociales MaestroTrSociales
	 * @return MaestroTrSociales
	 */
    MaestroTrSociales add(MaestroTrSociales maestroTrSociales);

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

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

	/**
	 * Deletes a single row in the MaestroTrSociales table.
	 *
	 * @param maestroTrSociales MaestroTrSociales
	 */
	void remove(MaestroTrSociales maestroTrSociales);

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

	/**
	 * Finds rows in the MaestroTrSociales table using like.
	 *
	 * @param maestroTrSociales MaestroTrSociales
	 * @param tableRequestDto TableRequestDto
     * @param startsWith Boolean	 
	 * @return List<MaestroTrSociales>
	 */
	List<MaestroTrSociales> findAllLike(MaestroTrSociales maestroTrSociales, TableRequestDto tableRequestDto, Boolean startsWith);

	/*
	 * OPERACIONES RUP_TABLE
	 */

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


