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

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

public interface MaestroSubtiposAvisoActorService {

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

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

	/*
	 * OPERACIONES RUP_TABLE
	 */

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


