package com.ejie.ab04b.service;

import java.util.List;

import com.ejie.ab04b.model.DatosEnvioPostal;
import com.ejie.x38.dto.JQGridRequestDto;
import com.ejie.x38.dto.JQGridResponseDto;
import com.ejie.x38.dto.TableRowDto;

/**
 * Ab0469s00Service generated by UDA, 24-Feb-2017 11:21:23.
 * 
 * @author UDA
 */

public interface DatosEnvioPostalService {

	/**
	 * Inserts a single row in the Ab0469s00 table.
	 * 
	 *  ab0469s00
	 *            Ab0469s00
	 *  Ab0469s00
	 *
	 * @param ab0469s00 the ab 0469 s 00
	 * @return the datos envio postal
	 */
	DatosEnvioPostal add(DatosEnvioPostal ab0469s00);

	/**
	 * Updates a single row in the Ab0469s00 table.
	 * 
	 *  ab0469s00
	 *            Ab0469s00
	 *  Ab0469s00
	 *
	 * @param ab0469s00 the ab 0469 s 00
	 * @return the datos envio postal
	 */
	DatosEnvioPostal update(DatosEnvioPostal ab0469s00);
	
	/**
	 * Updates a single row in the Ab0469s00 table.
	 * 
	 *  ab0469s00
	 *            Ab0469s00
	 *  Ab0469s00
	 *
	 * @param ab0469s00 the ab 0469 s 00
	 * @return the datos envio postal
	 */
	DatosEnvioPostal updateSituacionEnvio(DatosEnvioPostal ab0469s00);

	/**
	 * Finds a single row in the Ab0469s00 table.
	 * 
	 *  ab0469s00
	 *            Ab0469s00
	 *  Ab0469s00
	 *
	 * @param ab0469s00 the ab 0469 s 00
	 * @return the datos envio postal
	 */
	DatosEnvioPostal find(DatosEnvioPostal ab0469s00);

	/**
	 * Deletes a single row in the Ab0469s00 table.
	 * 
	 *  ab0469s00
	 *            Ab0469s00
	 *
	 * @param ab0469s00 the ab 0469 s 00
	 */
	void remove(DatosEnvioPostal ab0469s00);

	/**
	 * Finds a list of rows in the Ab0469s00 table.
	 * 
	 *  ab0469s00
	 *            Ab0469s00
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  List<Ab0469s00>
	 *
	 * @param ab0469s00 the ab 0469 s 00
	 * @param jqGridRequestDto the jq grid request dto
	 * @return the list
	 */
	List<DatosEnvioPostal> findAll(DatosEnvioPostal ab0469s00,
			JQGridRequestDto jqGridRequestDto);

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

	/*
	 * OPERACIONES RUP_TABLE
	 */

	/**
	 * Filter method in the Ab0469s00 table.
	 * 
	 *  filterAb0469s00
	 *            Ab0469s00
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *  JQGridResponseDto<Ab0469s00>
	 *
	 * @param filterAb0469s00 the filter ab 0469 s 00
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the JQ grid response dto
	 */
	JQGridResponseDto<DatosEnvioPostal> filter(DatosEnvioPostal filterAb0469s00,
			JQGridRequestDto jqGridRequestDto, Boolean startsWith);

	/**
	 * Searches rows in the Ab0469s00 table.
	 * 
	 *  filterAb0469s00
	 *            Ab0469s00
	 *  searchAb0469s00
	 *            Ab0469s00
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *  List<TableRowDto<Ab0469s00>>
	 *
	 * @param filterAb0469s00 the filter ab 0469 s 00
	 * @param searchAb0469s00 the search ab 0469 s 00
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the list
	 */
	List<TableRowDto<DatosEnvioPostal>> search(DatosEnvioPostal filterAb0469s00,
			DatosEnvioPostal searchAb0469s00, JQGridRequestDto jqGridRequestDto,
			Boolean startsWith);

	/**
	 * Reorder the selection made in Ab0469s00 table.
	 * 
	 *  filterAb0469s00
	 *            Ab0469s00
	 *  jqGridRequestDto
	 *            JQGridRequestDto
	 *  startsWith
	 *            Boolean
	 *  Object
	 *
	 * @param filterAb0469s00 the filter ab 0469 s 00
	 * @param jqGridRequestDto the jq grid request dto
	 * @param startsWith the starts with
	 * @return the object
	 */
	Object reorderSelection(DatosEnvioPostal filterAb0469s00,
			JQGridRequestDto jqGridRequestDto, Boolean startsWith);

}
