public abstract class

FwsPaginatedIterable

extends PaginatedIterable<T, Page>
java.lang.Object
   ↳ org.mule.module.fws.api.PaginatedIterable<T, Page>
     ↳ org.mule.module.fws.api.FwsPaginatedIterable<T, Page>

Summary

Fields
private static final Object[] EMPTY
Public Constructors
FwsPaginatedIterable()
Protected Methods
abstract Page firstFwsPage()
final Page firstPage()
Answers the first page of the paginated result
final boolean hasNextPage(Page page)
Answers if the given page is not the last one
boolean hasNextPage(ListAllFulfillmentOrdersResultHolder page)
abstract Object nextFwsPage(Page currentPage)
final Page nextPage(Page currentPage)
Given a page, answers the next page
abstract T[] pageArray(Page page)
final Iterator<T> pageIterator(Page page)
Answers an iterator for the current page
[Expand]
Inherited Methods
From class org.mule.module.fws.api.PaginatedIterable
From class java.lang.Object
From interface java.lang.Iterable

Fields

private static final Object[] EMPTY

Public Constructors

public FwsPaginatedIterable ()

Protected Methods

protected abstract Page firstFwsPage ()

Throws
RemoteException

protected final Page firstPage ()

Answers the first page of the paginated result

protected final boolean hasNextPage (Page page)

Answers if the given page is not the last one

Parameters
page
Returns
  • if current page is the last one or not

protected boolean hasNextPage (ListAllFulfillmentOrdersResultHolder page)

Parameters
page

protected abstract Object nextFwsPage (Page currentPage)

Parameters
currentPage
Throws
RemoteException

protected final Page nextPage (Page currentPage)

Given a page, answers the next page

Parameters
currentPage
Returns
  • the next page

protected abstract T[] pageArray (Page page)

Parameters
page

protected final Iterator<T> pageIterator (Page page)

Answers an iterator for the current page

Parameters
page
Returns
  • the givne page iterator