use of org.entando.entando.web.page.model.PageSearchRequest in project entando-core by entando.
the class PageSearchMapper method toPageSearchDto.
/**
* craetes a PageSearchDto starting from the received data
*
* @param request
* @param pages
* @return the created
*/
public PagedMetadata<PageDto> toPageSearchDto(RestListRequest request, List<PageDto> pages) {
PageSearchRequest pageSearchReq = new PageSearchRequest();
BeanUtils.copyProperties(request, pageSearchReq);
return toPageSearchDto(pageSearchReq, pages);
}
use of org.entando.entando.web.page.model.PageSearchRequest in project entando-core by entando.
the class PageService method getPagedResult.
private PagedMetadata<PageDto> getPagedResult(RestListRequest request, List<PageDto> pages) {
PageSearchRequest pageSearchReq = new PageSearchRequest();
BeanUtils.copyProperties(request, pageSearchReq);
return getPagedResult(pageSearchReq, pages);
}
Aggregations