package com.ejie.ab63.service;

import java.util.List;

import com.ejie.ab63.model.AseoAlojamiento;
import com.ejie.x38.dto.JQGridRequestDto;
import com.ejie.x38.dto.JQGridResponseDto;
import com.ejie.x38.dto.JerarquiaDto;
import com.ejie.x38.dto.TableRowDto;

/**
 * Ab6326s00Service  
 * 
 *  
 */

public interface AseoAlojamientoService {

	/**
	 * Inserts a single row in the Ab6326s00 table.
	 *
	 * @param ab6326s00
	 *            Ab6326s00
	 * @return Ab6326s00
	 */
	AseoAlojamiento add(AseoAlojamiento ab6326s00);

	/**
	 * Updates a single row in the Ab6326s00 table.
	 *
	 * @param ab6326s00
	 *            Ab6326s00
	 * @return Ab6326s00
	 */
	AseoAlojamiento update(AseoAlojamiento ab6326s00);

	/**
	 * Finds a single row in the Ab6326s00 table.
	 *
	 * @param ab6326s00
	 *            Ab6326s00
	 * @return Ab6326s00
	 */
	AseoAlojamiento find(AseoAlojamiento ab6326s00);

	/**
	 * Deletes a single row in the Ab6326s00 table.
	 *
	 * @param ab6326s00
	 *            Ab6326s00
	 */
	void remove(AseoAlojamiento ab6326s00);

	/**
	 * Finds a list of rows in the Ab6326s00 table.
	 *
	 * @param ab6326s00
	 *            Ab6326s00
	 * @param jqGridRequestDto
	 *            JQGridRequestDto
	 * @return List<Ab6326s00>
	 */
	List<AseoAlojamiento> findAll(AseoAlojamiento ab6326s00, JQGridRequestDto jqGridRequestDto);

	/**
	 * Finds rows in the Ab6326s00 table using like.
	 *
	 * @param ab6326s00
	 *            Ab6326s00
	 * @param jqGridRequestDto
	 *            JQGridRequestDto
	 * @param startsWith
	 *            Boolean
	 * @return List<Ab6326s00>
	 */
	List<AseoAlojamiento> findAllLike(AseoAlojamiento ab6326s00, JQGridRequestDto jqGridRequestDto, Boolean startsWith);

	/*
	 * OPERACIONES RUP_TABLE
	 */

	/**
	 * Removes rows from the Ab6326s00 table.
	 *
	 * @param filterAb6326s00
	 *            Ab6326s00
	 * @param jqGridRequestDto
	 *            JQGridRequestDto
	 * @param startsWith
	 *            Boolean
	 */
	void removeMultiple(AseoAlojamiento filterAb6326s00, JQGridRequestDto jqGridRequestDto, Boolean startsWith);

	/**
	 * Filter method in the Ab6326s00 table.
	 *
	 * @param filterAb6326s00
	 *            Ab6326s00
	 * @param jqGridRequestDto
	 *            JQGridRequestDto
	 * @param startsWith
	 *            Boolean
	 * @return JQGridResponseDto<Ab6326s00>
	 */
	JQGridResponseDto<AseoAlojamiento> filter(AseoAlojamiento filterAb6326s00, JQGridRequestDto jqGridRequestDto,
			Boolean startsWith);

	/**
	 * Searches rows in the Ab6326s00 table.
	 *
	 * @param filterAb6326s00
	 *            Ab6326s00
	 * @param searchAb6326s00
	 *            Ab6326s00
	 * @param jqGridRequestDto
	 *            JQGridRequestDto
	 * @param startsWith
	 *            Boolean
	 * @return List<TableRowDto<Ab6326s00>>
	 */
	List<TableRowDto<AseoAlojamiento>> search(AseoAlojamiento filterAb6326s00, AseoAlojamiento searchAb6326s00,
			JQGridRequestDto jqGridRequestDto, Boolean startsWith);

	/**
	 * Reorder the selection made in Ab6326s00 table.
	 *
	 * @param filterAb6326s00
	 *            Ab6326s00
	 * @param jqGridRequestDto
	 *            JQGridRequestDto
	 * @param startsWith
	 *            Boolean
	 * @return Object
	 */
	Object reorderSelection(AseoAlojamiento filterAb6326s00, JQGridRequestDto jqGridRequestDto, Boolean startsWith);

	/*
	 * OPERACIONES RUP_TABLE JERARQUIA
	 */

	/**
	 * Finder method in the hierarchical the Ab6326s00 table.
	 *
	 * @param filterAb6326s00
	 *            Ab6326s00
	 * @param jqGridRequestDto
	 *            JQGridRequestDto
	 * @param startsWith
	 *            Boolean
	 * @return JQGridResponseDto<JerarquiaDto<Ab6326s00>>
	 */
	JQGridResponseDto<JerarquiaDto<AseoAlojamiento>> jerarquia(AseoAlojamiento filterAb6326s00,
			JQGridRequestDto jqGridRequestDto, Boolean startsWith);

	/**
	 * Finder method for siblings rows in the hierarchical the Ab6326s00 table.
	 *
	 * @param filterAb6326s00
	 *            Ab6326s00
	 * @param jqGridRequestDto
	 *            JQGridRequestDto
	 * @return JQGridResponseDto<JerarquiaDto<Ab6326s00>>
	 */
	JQGridResponseDto<JerarquiaDto<AseoAlojamiento>> jerarquiaChildren(AseoAlojamiento filterAb6326s00,
			JQGridRequestDto jqGridRequestDto);

	AseoAlojamiento save(AseoAlojamiento ab6326s00);

	void deleteByIdAlojamiento(Integer idAlojamiento);

}
