Moyosoft Products | Services | Download | Contact us    
Java Bridge to Exchange
Products  >  Java Bridge to Exchange  >  API Reference    
API Reference
   
Overview  |  
Classic JavaDoc

Interface ItemsCollection

com.moyosoft.exchange.item.ItemsCollection

Implemented Interfaces:

public interface ItemsCollection implements ExchangeCollection

A collection of Exchange items.

The collection allows to get, iterate over, search and sort Exchange items.

This class implements the Iterable interface allowing it to be a target of the foreach statement.

Methods

Iterable
iterableForCalendar (java.util.Date startDate, java.util.Date endDate)
Creates a special Iterable object for a Calendar folder containing items between the specified dates. The items contained by this Iterable include all individual occurrences of recurring appointments. This method never returns null, even if the collection is empty. An empty Iterable ... more >
Iterable
iterableForCalendar (java.util.Date startDate, java.util.Date endDate, int maxItemsReturned)
Creates a special Iterable object for a Calendar folder containing items between the specified dates, limiting the result set to the specified maximum. The items contained by this Iterable include all individual occurrences of recurring appointments. This method never returns null, ... more >
Iterable
iterableFromIndex (int startFromIndex)
Creates a new Iterable for items in this collection starting at the specified index. The items before this index will be skipped over and ignored. This method never returns null, even if the collection is empty or there are no more items after the specified index. An empty Iterable w ... more >
Iterable
iterableFromIndex (int startFromIndex, int maxItemsReturned)
Creates a new Iterable for items in this collection starting at the specified index and limits the returned result set to the specified maximum of items. The items before the start index will be skipped over and ignored. The item at the index (startFromIndex + maxItemsReturned) and all f ... more >
iterator ()
Creates an iterator for all items in this collection. This method never returns null, even if the collection is empty. An empty iterator will be returned in this case.
iteratorForCalendar (java.util.Date startDate, java.util.Date endDate)
Creates a special iterator for a Calendar folder containing items between the specified dates. Unlike other iterators, the items returned by this iterator include all individual occurrences of recurring appointments. This method never returns null, even if the collection is empty. An ... more >
iteratorForCalendar (java.util.Date startDate, java.util.Date endDate, int maxItemsReturned)
Creates a special iterator for a Calendar folder containing items between the specified dates, limiting the result set to the specified maximum. Unlike other iterators, the items returned by this iterator include all individual occurrences of recurring appointments. This method neve ... more >
iteratorFromIndex (int startFromIndex)
Creates a new iterator for items in this collection starting at the specified index. The items before this index will be skipped over and ignored. This method never returns null, even if the collection is empty or there are no more items after the specified index. An empty iterator w ... more >
iteratorFromIndex (int startFromIndex, int maxItemsReturned)
Creates a new iterator for items in this collection starting at the specified index and limits the returned result set to the specified maximum of items. The items before the start index will be skipped over and ignored. The item at the index (startFromIndex + maxItemsReturned) and all f ... more >
restrict (Restriction restriction)
Creates a new collection restricted to items that matches the specified restriction criteria. To create the restriction criteria, use the class If. This class allows criteria to be specified on item's fields and creates the Restriction object. Example code matching items with a Su ... more >
void
setLoadAllProperties (boolean loadAllProperties)
void
setLoadOnlyItemId (boolean loadOnlyId)
sortBy (ExchangeItemField sortByField)
Creates a new collection with items sorted by the specified field in ascending order.
sortBy (ExchangeItemField sortByField, boolean ascendingOrder)
Creates a new collection with items sorted by the specified field in either ascending or descending order.

Community comments



Powered by JavaDocPlus