Category Option 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.
Get the objects in scope in an asynchronous way, returning a Single<List>
.
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().
This method only return results in versions greater or equal to 2.37.