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

/**
 * VosalanOs4Os6Dao generated by UDA, 16-jun-2017 13:27:17.
 * @author UDA
 */

public interface VosalanOs4Os6Dao {
    
    /**
     * Inserts a single row in the VosalanOs4Os6 table.
     * 
     *  vosalanos4os6 VosalanOs4Os6
     *  VosalanOs4Os6
     *
     * @param vosalanos4os6 the vosalanos 4 os 6
     * @return the vosalan os 4 os 6
     */
    VosalanOs4Os6 add(VosalanOs4Os6 vosalanos4os6);

    /**
     * Updates a single row in the VosalanOs4Os6 table.
     * 
     *  vosalanos4os6 VosalanOs4Os6
     *  VosalanOs4Os6
     *
     * @param vosalanos4os6 the vosalanos 4 os 6
     * @return the vosalan os 4 os 6
     */
    VosalanOs4Os6 update(VosalanOs4Os6 vosalanos4os6);

    /**
     * Finds a single row in the VosalanOs4Os6 table.
     * 
     *  vosalanos4os6 VosalanOs4Os6
     *  VosalanOs4Os6
     *
     * @param vosalanos4os6 the vosalanos 4 os 6
     * @return the vosalan os 4 os 6
     */
    VosalanOs4Os6 find(VosalanOs4Os6 vosalanos4os6);

    /**
     * Removes a single row in the VosalanOs4Os6 table.
     * 
     *  vosalanos4os6 VosalanOs4Os6
     *
     * @param vosalanos4os6 the vosalanos 4 os 6
     */
    void remove(VosalanOs4Os6 vosalanos4os6);

    /**
     * Finds a List of rows in the VosalanOs4Os6 table.
     * 
     *  vosalanos4os6 VosalanOs4Os6
     *  jqGridRequestDto JQGridRequestDto
     *  List
     *
     * @param vosalanos4os6 the vosalanos 4 os 6
     * @param jqGridRequestDto the jq grid request dto
     * @return the list
     */
    List<VosalanOs4Os6> findAll(VosalanOs4Os6 vosalanos4os6, JQGridRequestDto jqGridRequestDto);

	/**
	 * Finds rows in the VosalanOs4Os6 table using like.
	 * 
	 *  vosalanos4os6 VosalanOs4Os6
	 *  jqGridRequestDto JQGridRequestDto
	 *  startsWith Boolean
	 *  List
	 *
	 * @param vosalanos4os6 the vosalanos 4 os 6
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the list
	 */
	List<VosalanOs4Os6> findAllLike(VosalanOs4Os6 vosalanos4os6, JQGridRequestDto jqGridRequestDto, Boolean startsWith);
	
	
	/*
	 * OPERACIONES RUP_TABLE
	 */
	 
	/**
	 * Filter in the VosalanOs4Os6 table.
	 * 
	 *  filterVosalanOs4Os6 VosalanOs4Os6
	 *  jqGridRequestDto JQGridRequestDto
	 *  startsWith Boolean
	 *
	 * @param filterVosalanOs4Os6 the filter vosalan os 4 os 6
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 */	
	 void removeMultiple(VosalanOs4Os6 filterVosalanOs4Os6, JQGridRequestDto jqGridRequestDto, Boolean startsWith);
	
	
    /**
     * Counts rows in the VosalanOs4Os6 table using like.
     * 
     *  vosalanos4os6 VosalanOs4Os6
     *  startsWith Boolean
     *  Long
     *
     * @param vosalanos4os6 the vosalanos 4 os 6
     * @param startsWith the starts with
     * @return the long
     */
    Long findAllLikeCount(VosalanOs4Os6 vosalanos4os6, Boolean startsWith);
    
    /**
     * Counts rows in the VosalanOs4Os6 table.
     * 
     *  vosalanos4os6 VosalanOs4Os6
     *  Long
     *
     * @param vosalanos4os6 the vosalanos 4 os 6
     * @return the long
     */
    Long findAllCount(VosalanOs4Os6 vosalanos4os6);
    
    /**
     * Reorder selection.
     * 
     *  filterVosalanOs4Os6 VosalanOs4Os6
     *  jqGridRequestDto JQGridRequestDto
     *  startsWith Boolean
     *  List<TableRowDto<VosalanOs4Os6>>
     *
     * @param filterVosalanOs4Os6 the filter vosalan os 4 os 6
     * @param jqGridRequestDto the jq grid request dto
     * @param startsWith the starts with
     * @return the list
     */	
    List<TableRowDto<VosalanOs4Os6>> reorderSelection(VosalanOs4Os6 filterVosalanOs4Os6, JQGridRequestDto jqGridRequestDto, Boolean startsWith);
    
     /**
      * Searches in the Usuario table.
      * 
      *  filterVosalanOs4Os6 VosalanOs4Os6
      *  searchVosalanOs4Os6 VosalanOs4Os6
      *  jqGridRequestDto JQGridRequestDto
      *  startsWith Boolean
      *  List<TableRowDto<VosalanOs4Os6>>
      *
      * @param filterVosalanOs4Os6 the filter vosalan os 4 os 6
      * @param searchVosalanOs4Os6 the search vosalan os 4 os 6
      * @param jqGridRequestDto the jq grid request dto
      * @param startsWith the starts with
      * @return the list
      */	
    List<TableRowDto<VosalanOs4Os6>> search(VosalanOs4Os6 filterVosalanOs4Os6, VosalanOs4Os6 searchVosalanOs4Os6, JQGridRequestDto jqGridRequestDto, Boolean startsWith);
    
}

