TItem
- The type of item returned by the search operation.public final class FindItemsResults<TItem extends Item> extends Object implements Iterable<TItem>
Constructor and Description |
---|
FindItemsResults()
Initializes a new instance of the FindItemsResults class.
|
Modifier and Type | Method and Description |
---|---|
ArrayList<TItem> |
getItems()
Gets a collection containing the item that were found by the search
operation.
|
Integer |
getNextPageOffset()
Gets the offset that should be used with ItemView to retrieve the next
page of item in a FindItems operation.
|
int |
getTotalCount()
Gets the total number of item matching the search criteria available in
the searched folder.
|
boolean |
isMoreAvailable()
Gets a value indicating whether more item matching the search criteria
are available in the searched folder.
|
Iterator<TItem> |
iterator()
Returns an iterator that iterates through the collection.
|
void |
setMoreAvailable(boolean moreAvailable)
Sets a value indicating whether more item matching the search criteria
are available in the searched folder.
|
void |
setNextPageOffset(Integer nextPageOffset)
Sets the offset that should be used with ItemView to retrieve the next
page of item in a FindItems operation.
|
void |
setTotalCount(int totalCount)
Sets the total number of item matching the search criteria available in
the searched folder.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public FindItemsResults()
public int getTotalCount()
public void setTotalCount(int totalCount)
totalCount
- the new total countpublic Integer getNextPageOffset()
public void setNextPageOffset(Integer nextPageOffset)
nextPageOffset
- the new next page offsetpublic boolean isMoreAvailable()
public void setMoreAvailable(boolean moreAvailable)
moreAvailable
- the new more availablepublic ArrayList<TItem> getItems()
Copyright © 2012–2015 Microsoft. All rights reserved.