Package DE_EPAGES::RemoteSearch::API::Object::RemoteSearchPager
Pager for remote search results. Items must be extra provided with $Pager->handleSearchResponse($SearchResponse) before you can execute $Pager->page()
Base |
DE_EPAGES::Presentation::API::Object::Pager |
Functions
countItems
returns how many items should be paged.
Syntax |
$Object->countItems; |
Return |
|
handleSearchResponse
Extract 'Items' and 'ItemCount' from $SearchResponse and calls
$Pager->statistic(). $SearchResponse is result from a
$SearchClient->searchAsObject(...) call.
See DE_EPAGES::RemoteSearch::API::Object::SearchClient
Syntax |
$Pager->handleSearchResponse( $SearchResponse ); |
Input |
|
items
load all objects of a page.
Syntax |
my $aItems = $Object->items(); |
Return |
|
new
Constructor to create RemoteSearchPager without items. You must call $Pager->handleSearchResponse($SearchResponse) to provide items.
Syntax |
my $Pager = DE_EPAGES::RemoteSearch::API::Object::RemoteSearchPager->new( $hInfo ); |
Input |
|
Return |
|