| java.lang.Object | ||
| ↳ | com.google.gdata.client.Query | |
| ↳ | com.google.gdata.client.calendar.CalendarQuery | |
The CalendarQuery class extends the base GData Query class to define convenience APIs for Calendar custom query parameters.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| CalendarQuery.ExtendedPropertyMatch | The ExtendedPropertyMatch class corresponds to a single extended property match. | ||||||||||
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | EXT_PROP_QUERY | The name of the extended property query parameter that specifies that all events' extended properties must have matching values. | |||||||||
| String | MAXIMUM_START_TIME | The name of the custom query parameter that specifies that all events returned must be less than the specified time. | |||||||||
| String | MINIMUM_START_TIME | The name of the custom query parameter that specifies that all events returned must be greater than or equal to the specified time. | |||||||||
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.client.Query
| |||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| EMPTY_EXT_PROP_MATCH | An empty array of ExtendedPropertyMatch which will be returned
from getExtendedPropertyQuery() should the current
extended property query be empty. |
||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.client.Query
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new CalendarQuery object that targets a feed.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns an array of extended property matches parsed from
the current value of
extq custom parameter. | |||||||||||
Returns the maximum start time for events returned by the query.
| |||||||||||
Returns the minimum start time for events returned by the query.
| |||||||||||
Sets up the extended property matching for events returned by the query
by setting the
extq custom parameter value. | |||||||||||
Sets the maximum start time for events returned by the query.
| |||||||||||
Sets the minimum start time for events returned by the query.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.client.Query
| |||||||||||
From class
java.lang.Object
| |||||||||||
The name of the extended property query parameter that specifies that all events' extended properties must have matching values.
The name of the custom query parameter that specifies that all events returned must be less than the specified time.
The name of the custom query parameter that specifies that all events returned must be greater than or equal to the specified time.
An empty array of ExtendedPropertyMatch which will be returned
from getExtendedPropertyQuery() should the current
extended property query be empty.
Constructs a new CalendarQuery object that targets a feed. The initial state of the query contains no parameters, meaning all entries in the feed would be returned if the query was executed immediately after construction.
| feedUrl | The URL of the feed against which queries will be executed. |
|---|
Returns an array of extended property matches parsed from
the current value of extq custom parameter.
Returns the maximum start time for events returned by the query. Only events that start before this time will be returned.
null indicates
that maximum start-time based querying is disabled.
Returns the minimum start time for events returned by the query. Only events that start on or after this time will be returned.
null indicates
that minimum start-time based querying is disabled.
Sets up the extended property matching for events returned by the query
by setting the extq custom parameter value.
| matches | Extended property matches.
Only events that satisfy all of these will be returned.
A value of null or an empty array of matches disables
extended property matching for this CalendarQuery.
|
|---|
Sets the maximum start time for events returned by the query. Together
with setMinimumStartTime(DateTime) creates a timespan such that only events
that are within the timespan are returned.
| maxStart | The maximum start time. A value of null
disables querying by maximum start time.
|
|---|
Sets the minimum start time for events returned by the query. Together
with setMaximumStartTime(DateTime) creates a timespan such that only events
that are within the timespan are returned.
| minStart | The minimum start time. A value of null
disables querying by minimum start time.
|
|---|