es.prodevelop.pui9.search.IPuiSearchAdapter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of es.prodevelop.pui9.services Show documentation
Show all versions of es.prodevelop.pui9.services Show documentation
Support for business layer (BO)
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