T
- The type of the items that will be fetched.public abstract class OwAbstractPageFetcher<T> extends Object
Knows how to fetch a new page of items from a source/back-end.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
Modifier and Type | Field and Description |
---|---|
protected long |
maxNumItems |
Modifier | Constructor and Description |
---|---|
protected |
OwAbstractPageFetcher(long maxNumItems) |
Modifier and Type | Method and Description |
---|---|
protected abstract OwPage<T> |
fetchPage(long skipCount) |
abstract OwAbstractPageFetcher<T> |
newCopy(int maxNumItems)
Create a new copy of this
OwAbstractPageFetcher with a new size for page. |
protected OwAbstractPageFetcher(long maxNumItems)
maxNumItems
- the maximum number of items to retrieve. Used for paging.protected abstract OwPage<T> fetchPage(long skipCount)
skipCount
- public abstract OwAbstractPageFetcher<T> newCopy(int maxNumItems)
OwAbstractPageFetcher
with a new size for page.maxNumItems
- Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.