All Downloads are FREE. Search and download functionalities are using the official Maven repository.

es.prodevelop.pui9.search.IPuiSearchAdapter Maven / Gradle / Ivy

There is a newer version: 1.18.0
Show newest version
package es.prodevelop.pui9.search;

import es.prodevelop.pui9.exceptions.PuiServiceGetException;

/**
 * This is an interface to deal with the API search. The only one method takes
 * the request and makes the possible to return the expected response
 * 
 * @author Marc Gil - [email protected]
 */
public interface IPuiSearchAdapter {

	/**
	 * The search method to retrieve the requested data
	 * 
	 * @param  The IViewDto returned
	 * @param req The parameters of the search
	 * @return The information of the search (current page, total pages, number of
	 *         registries, total of registries) including the list of registries
	 * @throws PuiServiceGetException If any exception occurs while getting the
	 *                                registry
	 */
	 SearchResponse search(SearchRequest req) throws PuiServiceGetException;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy