package com.ejie.ab04b.dao;

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

import com.ejie.ab04b.model.Proyectista;

/**
 * Ab0483s00Dao generated by UDA, 16-feb-2017 9:14:37.
 * 
 * @author UDA
 */

public interface ProyectistaDao {

	/**
	 * Inserts a single row in the Ab0483s00 table.
	 * 
	 *  ab0483s00
	 *            Ab0483s00
	 *  Ab0483s00
	 *
	 * @param ab0483s00 the ab 0483 s 00
	 * @return the proyectista
	 */
	Proyectista add(Proyectista ab0483s00);

	/**
	 * Inserts a single row in the Ab0483s00 table.
	 * 
	 *  ab0483s00
	 *            Ab0483s00
	 *  Ab0483s00
	 *
	 * @param ab0483s00 the ab 0483 s 00
	 * @return the proyectista
	 */
	Proyectista addFromSolicitud(Proyectista ab0483s00);

	/**
	 * Updates a single row in the Ab0483s00 table.
	 * 
	 *  ab0483s00
	 *            Ab0483s00
	 *  Ab0483s00
	 *
	 * @param ab0483s00 the ab 0483 s 00
	 * @return the proyectista
	 */
	Proyectista update(Proyectista ab0483s00);

	/**
	 * Finds a single row in the Ab0483s00 table.
	 * 
	 *  ab0483s00
	 *            Ab0483s00
	 *  Ab0483s0R0
	 *
	 * @param ab0483s00 the ab 0483 s 00
	 * @return the proyectista
	 */
	Proyectista find(Proyectista ab0483s00);

	/**
	 * Finds a single row in the Ab0483s00 table.
	 * 
	 *  ab0483s00
	 *            Ab0483s00
	 *  Ab0483s00
	 *
	 * @param ab0483s00 the ab 0483 s 00
	 * @return the list
	 */
	List<Proyectista> findProyectistaMaxFecAlta(Proyectista ab0483s00);

	/**
	 * Removes a single row in the Ab0483s00 table.
	 * 
	 *  ab0483s00
	 *            Ab0483s00
	 *
	 * @param ab0483s00 the ab 0483 s 00
	 */
	void remove(Proyectista ab0483s00);

	/**
	 * Finds a List of rows in the Ab0483s00 table.
	 * 
	 *  ab0483s00
	 *            Ab0483s00
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  List
	 *
	 * @param ab0483s00 the ab 0483 s 00
	 * @param jqGridRequestDto the jq grid request dto
	 * @return the list
	 */
	List<Proyectista> findAll(Proyectista ab0483s00,
			JQGridRequestDto jqGridRequestDto);

	/**
	 * Finds rows in the Ab0483s00 table using like.
	 * 
	 *  ab0483s00
	 *            Ab0483s00
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *  List
	 *
	 * @param ab0483s00 the ab 0483 s 00
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the list
	 */
	List<Proyectista> findAllLike(Proyectista ab0483s00,
			JQGridRequestDto jqGridRequestDto, Boolean startsWith);

	/*
	 * OPERACIONES RUP_TABLE
	 */

	/**
	 * Filter in the Ab0483s00 table.
	 * 
	 *  filterAb0483s00
	 *            Ab0483s00
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *
	 * @param filterAb0483s00 the filter ab 0483 s 00
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 */
	void removeMultiple(Proyectista filterAb0483s00,
			JQGridRequestDto jqGridRequestDto, Boolean startsWith);

	/**
	 * Counts rows in the Ab0483s00 table using like.
	 * 
	 *  ab0483s00
	 *            Ab0483s00
	 *  startsWith
	 *            Boolean
	 *  Long
	 *
	 * @param ab0483s00 the ab 0483 s 00
	 * @param startsWith the starts with
	 * @return the long
	 */
	Long findAllLikeCount(Proyectista ab0483s00, Boolean startsWith);

	/**
	 * Counts rows in the Ab0483s00 table.
	 * 
	 *  ab0483s00
	 *            Ab0483s00
	 *  Long
	 *
	 * @param ab0483s00 the ab 0483 s 00
	 * @return the long
	 */
	Long findAllCount(Proyectista ab0483s00);

	/**
	 * Reorder selection.
	 * 
	 *  filterAb0483s00
	 *            Ab0483s00
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *  List<TableRowDto<Ab0483s00>>
	 *
	 * @param filterAb0483s00 the filter ab 0483 s 00
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the list
	 */
	List<TableRowDto<Proyectista>> reorderSelection(
			Proyectista filterAb0483s00, JQGridRequestDto jqGridRequestDto,
			Boolean startsWith);

	/**
	 * Searches in the Usuario table.
	 * 
	 *  filterAb0483s00
	 *            Ab0483s00
	 *  searchAb0483s00
	 *            Ab0483s00
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *  List<TableRowDto<Ab0483s00>>
	 *
	 * @param filterAb0483s00 the filter ab 0483 s 00
	 * @param searchAb0483s00 the search ab 0483 s 00
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the list
	 */
	List<TableRowDto<Proyectista>> search(Proyectista filterAb0483s00,
			Proyectista searchAb0483s00, JQGridRequestDto jqGridRequestDto,
			Boolean startsWith);

	/*
	 * OPERACIONES RUP_TABLE JERARQUIA
	 */

	/**
	 * Filter in the hierarchical Ab0483s00 table.
	 * 
	 *  filterAb0483s00
	 *            Ab0483s00
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  List<JerarquiaDto<Ab0483s00>>
	 *
	 * @param filterAb0483s00 the filter ab 0483 s 00
	 * @param jqGridRequestDto the jq grid request dto
	 * @return the list
	 */
	List<JerarquiaDto<Proyectista>> findAllLikeJerarquia(
			Proyectista filterAb0483s00, JQGridRequestDto jqGridRequestDto);

	/**
	 * Count rows in hierarchy.
	 * 
	 *  filterAb0483s00            Ab0483s00
	 *  jqGridRequestDto            JQGridRequestDto
	 *  Long
	 *
	 * @param filterAb0483s00 the filter ab 0483 s 00
	 * @param jqGridRequestDto the jq grid request dto
	 * @return the long
	 */
	Long findAllLikeCountJerarquia(Proyectista filterAb0483s00,
			JQGridRequestDto jqGridRequestDto);

	/**
	 * Find dependent hierarchical rows.
	 * 
	 *  filterAb0483s00            Ab0483s00
	 *  jqGridRequestDto            JQGridRequestDto
	 *  List<TableRowDto<Ab0483s00>>
	 *
	 * @param filterAb0483s00 the filter ab 0483 s 00
	 * @param jqGridRequestDto the jq grid request dto
	 * @return the list
	 */
	List<TableRowDto<Proyectista>> findAllChild(Proyectista filterAb0483s00,
			JQGridRequestDto jqGridRequestDto);

}
