Class GroupedFindItemsResults<TItem extends Item>
- java.lang.Object
-
- microsoft.exchange.webservices.data.search.GroupedFindItemsResults<TItem>
-
-
Constructor Summary
Constructors Constructor Description GroupedFindItemsResults()Initializes a new instance of the GroupedFindItemsResults class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArrayList<ItemGroup<TItem>>getItemGroups()Gets the item groups returned by the search operation.IntegergetNextPageOffset()Gets the offset that should be used with ItemView to retrieve the next page of item in a FindItems operation.intgetTotalCount()Gets the total number of item matching the search criteria available in the searched folder.booleanisMoreAvailable()Gets a value indicating whether more item corresponding to the search criteria are available in the searched folder.Iterator<ItemGroup<TItem>>iterator()Returns an iterator that iterates through the collection.voidsetMoreAvailable(boolean moreAvailable)Sets a value indicating whether more item corresponding to the search criteria are available in the searched folder.voidsetNextPageOffset(Integer nextPageOffset)Sets the offset that should be used with ItemView to retrieve the next page of item in a FindItems operation.voidsetTotalCount(int totalCount)Gets the total number of item matching the search criteria available in the searched folder.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
GroupedFindItemsResults
public GroupedFindItemsResults()
Initializes a new instance of the GroupedFindItemsResults class.
-
-
Method Detail
-
getTotalCount
public int getTotalCount()
Gets the total number of item matching the search criteria available in the searched folder.- Returns:
- the total count
-
setTotalCount
public void setTotalCount(int totalCount)
Gets the total number of item matching the search criteria available in the searched folder.- Parameters:
totalCount- Total number of item
-
getNextPageOffset
public Integer getNextPageOffset()
Gets the offset that should be used with ItemView to retrieve the next page of item in a FindItems operation.- Returns:
- the next page offset
-
setNextPageOffset
public void setNextPageOffset(Integer nextPageOffset)
Sets the offset that should be used with ItemView to retrieve the next page of item in a FindItems operation.- Parameters:
nextPageOffset- the new next page offset
-
isMoreAvailable
public boolean isMoreAvailable()
Gets a value indicating whether more item corresponding to the search criteria are available in the searched folder.- Returns:
- true, if is more available
-
setMoreAvailable
public void setMoreAvailable(boolean moreAvailable)
Sets a value indicating whether more item corresponding to the search criteria are available in the searched folder.- Parameters:
moreAvailable- the new more available
-
getItemGroups
public ArrayList<ItemGroup<TItem>> getItemGroups()
Gets the item groups returned by the search operation.- Returns:
- the item groups
-
-