Event Query Collection Repository
Functions
Get the count of elements. Important: this is a blocking method and it should not be executed in the main thread. Consider the asynchronous version .count.
Get the list of objects in a synchronous way. Important: this is a blocking method and it should not be executed in the main thread. Consider the asynchronous version .get.
Get the list of uids of objects in scope in a synchronous way. Important: this is a blocking method and it should not be executed in the main thread. Consider the asynchronous version .getUids.
Check if selection of objects with applied filters is empty in a synchronous way. Important: this is a blocking method and it should not be executed in the main thread. Consider the asynchronous version .isEmpty.
Filter by Event organisation units.
IMPORTANT: this filter accepts a list of organisation units, but only the first one will be used for the online query because the web API does not support querying by multiple organisation units.
Filter by sync status.
IMPORTANT: using this filter forces offlineOnly mode.
Filter by event status.
IMPORTANT: this filter accepts a list of event status, but only the first one will be used for the online query because the web API does not support querying by multiple status.
Uses Paging3 library and return a Flow
Get a ReadOnlyObjectRepository pointing to the first element in the list.
Returns a new ReadOnlyObjectRepository whose scope is the one of the current repository plus the equal filter applied to the uid. This method is equivalent to byUid().eq(uid).one().