MindFusion.Java Package Programmer's Guide
Schedule.getAllItems Method (DateTime, DateTime, Resource)
See Also
 






Retrieves a list of all events, including recurrent item instances, scheduled to occur in the specified time interval for a specific Resource object.

Namespace: com.mindfusion.scheduling.model
Package: com.mindfusion.scheduling.model

 Syntax

Java  Copy Code

public ItemList getAllItems (
    DateTime startDate,
    DateTime endDate,
    Resource resource
)

 Parameters

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.

 Return Value

A list that contains the events scheduled to occur in the specified period for the specified resource.

 Remarks

If a recurring event occurs in the specified interval, each occurrence is represented by an Item instance whose Item.getRecurrenceState is RecurrenceState.Occurrence.

 See Also

getAllItems Method Overload List
Schedule Members
Schedule Class
com.mindfusion.scheduling.model Namespace