public interface OwIterable<T> extends Iterable<T>, OwAttributeBag
An iterable implementation with support for paging.
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 | Method and Description |
---|---|
boolean |
getHasMoreItems()
Returns whether the repository contains additional items beyond the page of
items already fetched.
|
OwIterable<T> |
getPage()
Gets an iterable for the current sub collection within the CMIS collection using
default maximum number of items
|
OwIterable<T> |
getPage(int maxNumItems)
Gets an iterable for the current sub collection within the CMIS collection
|
long |
getPageNumItems()
Returns the number of items fetched for the current page.
|
long |
getTotalNumItems()
This will return a "guestimation"
since parts/pages will be retrieved on request.
|
Iterator<T> |
iterator() |
OwIterable<T> |
skipTo(long position) |
attributecount, getAttribute, getAttribute, getAttributeNames, getSafeAttribute, hasAttribute
OwIterable<T> skipTo(long position)
position
- This is relative to the start of the whole collection of items. It is not interpreted as relative to the start of a page.this
.OwIterable<T> getPage()
OwIterable<T> getPage(int maxNumItems)
maxNumItems
- maximum number of items the sub collection will containlong getPageNumItems()
boolean getHasMoreItems()
long getTotalNumItems()
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.