org.apache.chemistry.opencmis.client.runtime.util
Class AbstractPageFetcher<T>

java.lang.Object
  extended by org.apache.chemistry.opencmis.client.runtime.util.AbstractPageFetcher<T>
Type Parameters:
T - the type of items fetched

public abstract class AbstractPageFetcher<T>
extends java.lang.Object

Abstract page fetcher.


Nested Class Summary
static class AbstractPageFetcher.Page<T>
          A fetched page.
 
Field Summary
protected  long maxNumItems
           
 
Constructor Summary
protected AbstractPageFetcher(long maxNumItems)
           
 
Method Summary
protected abstract  AbstractPageFetcher.Page<T> fetchPage(long skipCount)
          Fetches the given page from the server.
 void setMaxNumItems(int maxNumItems)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

maxNumItems

protected long maxNumItems
Constructor Detail

AbstractPageFetcher

protected AbstractPageFetcher(long maxNumItems)
Method Detail

fetchPage

protected abstract AbstractPageFetcher.Page<T> fetchPage(long skipCount)
Fetches the given page from the server.

Parameters:
skipCount - initial offset where to start fetching

setMaxNumItems

public void setMaxNumItems(int maxNumItems)


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.