package com.ejie.ab04b.service;


import com.ejie.x38.dto.JQGridRequestDto;
import com.ejie.x38.dto.JQGridResponseDto;
import com.ejie.x38.dto.JerarquiaDto;
import com.ejie.x38.dto.TableRowDto;
import java.util.List;

import com.ejie.ab04b.model.VdatosReqApe;

/**
 * VdatosReqApeService generated by UDA, 20-jun-2017 10:36:48.
 * @author UDA
 */

public interface VdatosReqApeService {

	/**
	 * Inserts a single row in the VdatosReqApe table.
	 * 
	 *  vdatosReqApe VdatosReqApe
	 *  VdatosReqApe
	 *
	 * @param vdatosReqApe the vdatos req ape
	 * @return the vdatos req ape
	 */
    VdatosReqApe add(VdatosReqApe vdatosReqApe);

	/**
	 * Updates a single row in the VdatosReqApe table.
	 * 
	 *  vdatosReqApe VdatosReqApe
	 *  VdatosReqApe
	 *
	 * @param vdatosReqApe the vdatos req ape
	 * @return the vdatos req ape
	 */
	VdatosReqApe update(VdatosReqApe vdatosReqApe);

	/**
	 * Finds a single row in the VdatosReqApe table.
	 * 
	 *  vdatosReqApe VdatosReqApe
	 *  VdatosReqApe
	 *
	 * @param vdatosReqApe the vdatos req ape
	 * @return the vdatos req ape
	 */
	VdatosReqApe find(VdatosReqApe vdatosReqApe);

	/**
	 * Deletes a single row in the VdatosReqApe table.
	 * 
	 *  vdatosReqApe VdatosReqApe
	 *
	 * @param vdatosReqApe the vdatos req ape
	 */
	void remove(VdatosReqApe vdatosReqApe);

	/**
	 * Finds a list of rows in the VdatosReqApe table.
	 * 
	 *  vdatosReqApe VdatosReqApe
	 *  jqGridRequestDto JQGridRequestDto
	 *  List<VdatosReqApe>
	 *
	 * @param vdatosReqApe the vdatos req ape
	 * @param jqGridRequestDto the jq grid request dto
	 * @return the list
	 */
	List<VdatosReqApe> findAll(VdatosReqApe vdatosReqApe, JQGridRequestDto jqGridRequestDto);

	/**
	 * Finds rows in the VdatosReqApe table using like.
	 * 
	 *  vdatosReqApe VdatosReqApe
	 *  jqGridRequestDto JQGridRequestDto
	 *  startsWith Boolean	 
	 *  List<VdatosReqApe>
	 *
	 * @param vdatosReqApe the vdatos req ape
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the list
	 */
	List<VdatosReqApe> findAllLike(VdatosReqApe vdatosReqApe, JQGridRequestDto jqGridRequestDto, Boolean startsWith);

	/*
	 * OPERACIONES RUP_TABLE
	 */

	/**
	 * Removes rows from the VdatosReqApe table.
	 * 
	 *  filterVdatosReqApe VdatosReqApe
	 *  jqGridRequestDto JQGridRequestDto
	 *  startsWith Boolean
	 *
	 * @param filterVdatosReqApe the filter vdatos req ape
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 */	
	void removeMultiple(VdatosReqApe filterVdatosReqApe, JQGridRequestDto jqGridRequestDto,  Boolean startsWith);
   
    
	/**
	 * Filter method in the VdatosReqApe table.
	 * 
	 *  filterVdatosReqApe VdatosReqApe
	 *  jqGridRequestDto JQGridRequestDto
	 *  startsWith Boolean
	 *  JQGridResponseDto<VdatosReqApe>
	 *
	 * @param filterVdatosReqApe the filter vdatos req ape
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the JQ grid response dto
	 */	
	JQGridResponseDto<VdatosReqApe> filter(VdatosReqApe filterVdatosReqApe, JQGridRequestDto jqGridRequestDto,  Boolean startsWith);
    
    /**
     * Searches rows in the VdatosReqApe table.
     * 
     *  filterVdatosReqApe VdatosReqApe
     *  searchVdatosReqApe VdatosReqApe
     *  jqGridRequestDto JQGridRequestDto
     *  startsWith Boolean
     *  List<TableRowDto<VdatosReqApe>>
     *
     * @param filterVdatosReqApe the filter vdatos req ape
     * @param searchVdatosReqApe the search vdatos req ape
     * @param jqGridRequestDto the jq grid request dto
     * @param startsWith the starts with
     * @return the list
     */	
    List<TableRowDto<VdatosReqApe>> search(VdatosReqApe filterVdatosReqApe, VdatosReqApe searchVdatosReqApe, JQGridRequestDto jqGridRequestDto, Boolean startsWith);
    
    /**
     * Reorder the selection made in VdatosReqApe table.
     * 
     *  filterVdatosReqApe VdatosReqApe
     *  jqGridRequestDto JQGridRequestDto
     *  startsWith Boolean
     *  Object
     *
     * @param filterVdatosReqApe the filter vdatos req ape
     * @param jqGridRequestDto the jq grid request dto
     * @param startsWith the starts with
     * @return the object
     */	
    Object reorderSelection(VdatosReqApe filterVdatosReqApe, JQGridRequestDto jqGridRequestDto, Boolean startsWith);
    
    /*
	 * OPERACIONES RUP_TABLE JERARQUIA
	 */
	 
	/**
     * Finder method in the hierarchical the VdatosReqApe table.
     * 
     *  filterVdatosReqApe VdatosReqApe
     *  jqGridRequestDto JQGridRequestDto
     *  startsWith Boolean
     *  JQGridResponseDto<JerarquiaDto<VdatosReqApe>>
     *
     * @param filterVdatosReqApe the filter vdatos req ape
     * @param jqGridRequestDto the jq grid request dto
     * @param startsWith the starts with
     * @return the JQ grid response dto
     */	
	JQGridResponseDto<JerarquiaDto<VdatosReqApe>> jerarquia(VdatosReqApe filterVdatosReqApe, JQGridRequestDto jqGridRequestDto, Boolean startsWith);
	
	/**
	 * Finder method for siblings rows in the hierarchical the VdatosReqApe table.
	 * 
	 *  filterVdatosReqApe VdatosReqApe
	 *  jqGridRequestDto JQGridRequestDto
	 *  JQGridResponseDto<JerarquiaDto<VdatosReqApe>>
	 *
	 * @param filterVdatosReqApe the filter vdatos req ape
	 * @param jqGridRequestDto the jq grid request dto
	 * @return the JQ grid response dto
	 */	
	JQGridResponseDto<JerarquiaDto<VdatosReqApe>> jerarquiaChildren(VdatosReqApe filterVdatosReqApe, JQGridRequestDto jqGridRequestDto);
    
}


