T
- The type returned by the client call that returns the pages.public abstract class BasePagingDelegate<T> extends org.mule.streaming.ProviderAwarePagingDelegate<T,MarketoConnector>
Modifier and Type | Field and Description |
---|---|
protected boolean |
moreResult |
Modifier | Constructor and Description |
---|---|
protected |
BasePagingDelegate(org.mule.streaming.PagingConfiguration pagingConfiguration,
String nextPageToken) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
getFetchSize() |
String |
getNextPageToken() |
abstract List<T> |
getPage(MarketoConnector provider) |
int |
getTotalResults(MarketoConnector provider) |
List<T> |
updateState(MarketoResponse<T> marketoResponse) |
protected BasePagingDelegate(org.mule.streaming.PagingConfiguration pagingConfiguration, String nextPageToken)
public abstract List<T> getPage(MarketoConnector provider) throws Exception
getPage
in class org.mule.streaming.ProviderAwarePagingDelegate<T,MarketoConnector>
Exception
public int getTotalResults(MarketoConnector provider) throws Exception
getTotalResults
in class org.mule.streaming.ProviderAwarePagingDelegate<T,MarketoConnector>
Exception
public final int getFetchSize()
public void close() throws org.mule.api.MuleException
org.mule.api.MuleException
public List<T> updateState(MarketoResponse<T> marketoResponse)
public String getNextPageToken()
Copyright © 2010–2016. All rights reserved.