public final class ItemFinder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static ItemList |
getAllItems(java.lang.Iterable<Item> source,
DateTime startTime,
DateTime endTime)
Retrieves a collection of all events, including recurrent item
instances, scheduled to occur in the specified time interval.
|
static java.util.TreeMap<Item,Item> |
getAllItems(java.lang.Iterable<Item> source,
DateTime startTime,
DateTime endTime,
java.util.Comparator<Item> comparer)
Retrieves a sorted list with all items in the specified
interval, sorted according to the specified comparer.
|
static ItemList |
getAllItems(java.lang.Iterable<Item> source,
DateTime startDate,
DateTime endDate,
Contact contact)
Retrieves a collection of all events, including recurrent item
instances, scheduled to occur in the specified time interval
for a specific
Contact object. |
static java.util.TreeMap<Item,Item> |
getAllItems(java.lang.Iterable<Item> source,
DateTime startTime,
DateTime endTime,
Contact contact,
java.util.Comparator<Item> comparer)
Retrieves a sorted list of all items in the specified
interval and related to the specified contact, sorted
according to the specified comparer.
|
static ItemList |
getAllItems(java.lang.Iterable<Item> source,
DateTime startDate,
DateTime endDate,
Location location)
Retrieves a collection of all events, including recurrent item
instances, scheduled to occur in the specified time interval
for a specific
Location object. |
static java.util.TreeMap<Item,Item> |
getAllItems(java.lang.Iterable<Item> source,
DateTime startTime,
DateTime endTime,
Location location,
java.util.Comparator<Item> comparer)
Retrieves a sorted list of all items in the specified
interval and related to the specified location, sorted
according to the specified comparer.
|
static ItemList |
getAllItems(java.lang.Iterable<Item> source,
DateTime startDate,
DateTime endDate,
Resource resource)
Retrieves a collection of all events, including recurrent item
instances, scheduled to occur in the specified time interval
for a specific
Resource object. |
static ItemList |
getAllItems(java.lang.Iterable<Item> source,
DateTime startDate,
DateTime endDate,
Resource[] resources)
Retrieves a collection of all events, including recurrent item
instances, scheduled to occur in the specified time interval
and associated with all of the specified resources.
|
static java.util.TreeMap<Item,Item> |
getAllItems(java.lang.Iterable<Item> source,
DateTime startTime,
DateTime endTime,
Resource resource,
java.util.Comparator<Item> comparer)
Retrieves a sorted list of all items in the specified
interval and related to the specified resource, sorted
according to the specified comparer.
|
static ItemList |
getAllItems(java.lang.Iterable<Item> source,
DateTime startDate,
DateTime endDate,
Task task)
Retrieves a collection of all events, including recurrent item
instances, scheduled to occur in the specified time interval
for a specific
Task object. |
static java.util.TreeMap<Item,Item> |
getAllItems(java.lang.Iterable<Item> source,
DateTime startTime,
DateTime endTime,
Task task,
java.util.Comparator<Item> comparer)
Retrieves a sorted list of all items in the specified
interval and related to the specified task, sorted
according to the specified comparer.
|
public static java.util.TreeMap<Item,Item> getAllItems(java.lang.Iterable<Item> source, DateTime startTime, DateTime endTime, java.util.Comparator<Item> comparer)
public static java.util.TreeMap<Item,Item> getAllItems(java.lang.Iterable<Item> source, DateTime startTime, DateTime endTime, Contact contact, java.util.Comparator<Item> comparer)
public static java.util.TreeMap<Item,Item> getAllItems(java.lang.Iterable<Item> source, DateTime startTime, DateTime endTime, Resource resource, java.util.Comparator<Item> comparer)
public static java.util.TreeMap<Item,Item> getAllItems(java.lang.Iterable<Item> source, DateTime startTime, DateTime endTime, Location location, java.util.Comparator<Item> comparer)
public static java.util.TreeMap<Item,Item> getAllItems(java.lang.Iterable<Item> source, DateTime startTime, DateTime endTime, Task task, java.util.Comparator<Item> comparer)
public static ItemList getAllItems(java.lang.Iterable<Item> source, DateTime startTime, DateTime endTime)
If a recurring event occurs in the specified interval, each
occurrence is represented by an Item
instance whose
RecurrenceState
is set to
Occurrence
.
source
- The item collection to search in.startTime
- Time interval start.endTime
- Time interval end.public static ItemList getAllItems(java.lang.Iterable<Item> source, DateTime startDate, DateTime endDate, Contact contact)
Contact
object.
If a recurring event occurs in the specified interval, each
occurrence is represented by an Item
instance whose
RecurrenceState
is set to
Occurrence
.
source
- The item collection to search in.startDate
- Specifies the start of the time period.endDate
- Specifies the end of the time period.contact
- A Contact
instance that must be related to the items.public static ItemList getAllItems(java.lang.Iterable<Item> source, DateTime startDate, DateTime endDate, Resource resource)
Resource
object.
If a recurring event occurs in the specified interval, each
occurrence is represented by an Item
instance whose
RecurrenceState
is set to
Occurrence
.
source
- The item collection to search in.startDate
- Specifies the start of the time period.endDate
- Specifies the end of the time period.resource
- A Resource
instance that must be related to the items.public static ItemList getAllItems(java.lang.Iterable<Item> source, DateTime startDate, DateTime endDate, Location location)
Location
object.
If a recurring event occurs in the specified interval, each
occurrence is represented by an Item
instance whose
RecurrenceState
is set to
Occurrence
.
source
- The item collection to search in.startDate
- Specifies the start of the time period.endDate
- Specifies the end of the time period.location
- A Location
instance that must be related to the items.public static ItemList getAllItems(java.lang.Iterable<Item> source, DateTime startDate, DateTime endDate, Task task)
Task
object.
If a recurring event occurs in the specified interval, each
occurrence is represented by an Item
instance whose
RecurrenceState
is set to
Occurrence
.
source
- The item collection to search in.startDate
- Specifies the start of the time period.endDate
- Specifies the end of the time period.task
- A Task
instance that must be related to the items.public static ItemList getAllItems(java.lang.Iterable<Item> source, DateTime startDate, DateTime endDate, Resource[] resources)
If a recurring event occurs in the specified interval, each
occurrence is represented by an Item
instance whose
RecurrenceState
is set to
Occurrence
.
source
- The item collection to search in.startDate
- Specifies the start of the time period.endDate
- Specifies the end of the time period.resources
- A list of Resource
instances all of
which must be related to the items.