package com.ejie.ab04b.dao;

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

import com.ejie.ab04b.model.TecnicoOsalan;

/**
 * P5304s00Dao generated by UDA, 14-jun-2017 11:55:52.
 * @author UDA
 */

public interface TecnicoOsalanDao {
    
    /**
     * Inserts a single row in the P5304s00 table.
     * 
     *  p5304s00 P5304s00
     *  P5304s00
     *
     * @param p5304s00 the p 5304 s 00
     * @return the tecnico osalan
     */
    TecnicoOsalan add(TecnicoOsalan p5304s00);

    /**
     * Updates a single row in the P5304s00 table.
     * 
     *  p5304s00 P5304s00
     *  P5304s00
     *
     * @param p5304s00 the p 5304 s 00
     * @return the tecnico osalan
     */
    TecnicoOsalan update(TecnicoOsalan p5304s00);

    /**
     * Finds a single row in the P5304s00 table.
     * 
     *  p5304s00 P5304s00
     *  P5304s00
     *
     * @param p5304s00 the p 5304 s 00
     * @return the tecnico osalan
     */
    TecnicoOsalan find(TecnicoOsalan p5304s00);

    /**
     * Removes a single row in the P5304s00 table.
     * 
     *  p5304s00 P5304s00
     *
     * @param p5304s00 the p 5304 s 00
     */
    void remove(TecnicoOsalan p5304s00);

    /**
     * Finds a List of rows in the P5304s00 table.
     * 
     *  p5304s00 P5304s00
     *  jqGridRequestDto JQGridRequestDto
     *  List
     *
     * @param p5304s00 the p 5304 s 00
     * @param jqGridRequestDto the jq grid request dto
     * @return the list
     */
    List<TecnicoOsalan> findAll(TecnicoOsalan p5304s00, JQGridRequestDto jqGridRequestDto);

	/**
	 * Finds rows in the P5304s00 table using like.
	 * 
	 *  p5304s00 P5304s00
	 *  jqGridRequestDto JQGridRequestDto
	 *  startsWith Boolean
	 *  List
	 *
	 * @param p5304s00 the p 5304 s 00
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the list
	 */
	List<TecnicoOsalan> findAllLike(TecnicoOsalan p5304s00, JQGridRequestDto jqGridRequestDto, Boolean startsWith);
	
	
	/*
	 * OPERACIONES RUP_TABLE
	 */
	 
	/**
	 * Filter in the P5304s00 table.
	 * 
	 *  filterP5304s00 P5304s00
	 *  jqGridRequestDto JQGridRequestDto
	 *  startsWith Boolean
	 *
	 * @param filterP5304s00 the filter P 5304 s 00
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 */	
	 void removeMultiple(TecnicoOsalan filterP5304s00, JQGridRequestDto jqGridRequestDto, Boolean startsWith);
	
	
    /**
     * Counts rows in the P5304s00 table using like.
     * 
     *  p5304s00 P5304s00
     *  startsWith Boolean
     *  Long
     *
     * @param p5304s00 the p 5304 s 00
     * @param startsWith the starts with
     * @return the long
     */
    Long findAllLikeCount(TecnicoOsalan p5304s00, Boolean startsWith);
    
    /**
     * Counts rows in the P5304s00 table.
     * 
     *  p5304s00 P5304s00
     *  Long
     *
     * @param p5304s00 the p 5304 s 00
     * @return the long
     */
    Long findAllCount(TecnicoOsalan p5304s00);
    
    /**
     * Reorder selection.
     * 
     *  filterP5304s00 P5304s00
     *  jqGridRequestDto JQGridRequestDto
     *  startsWith Boolean
     *  List<TableRowDto<P5304s00>>
     *
     * @param filterP5304s00 the filter P 5304 s 00
     * @param jqGridRequestDto the jq grid request dto
     * @param startsWith the starts with
     * @return the list
     */	
    List<TableRowDto<TecnicoOsalan>> reorderSelection(TecnicoOsalan filterP5304s00, JQGridRequestDto jqGridRequestDto, Boolean startsWith);
    
     /**
      * Searches in the Usuario table.
      * 
      *  filterP5304s00 P5304s00
      *  searchP5304s00 P5304s00
      *  jqGridRequestDto JQGridRequestDto
      *  startsWith Boolean
      *  List<TableRowDto<P5304s00>>
      *
      * @param filterP5304s00 the filter P 5304 s 00
      * @param searchP5304s00 the search P 5304 s 00
      * @param jqGridRequestDto the jq grid request dto
      * @param startsWith the starts with
      * @return the list
      */	
    List<TableRowDto<TecnicoOsalan>> search(TecnicoOsalan filterP5304s00, TecnicoOsalan searchP5304s00, JQGridRequestDto jqGridRequestDto, Boolean startsWith);

}

