A boObjectList is a (paginated) list of boObject instances resulting from a query made to the XEO application's data source (typically a DBMS).A boObjectList instance has a cursor that can be used as an interator to
Method name | Description | Parameters | Return type | Notes |
---|---|---|---|---|
beforeFirst | Positions the cursos before the position, so that a call to next moves the cursor to the first element | - | void | |
next | Advances the cursor to the next element in the same page | - | boolean | Returns true if there more elements in the page and false otherwise (boObjectList instances are paged) |
nextPage | Advances the cursor to the next page of elements | - | boolean | Returns true if there are more pages (by default each page has 50 elements) |
haveMorePages | Checks whether or not the cursor is in the last page of the results | - | boolean | |
haveBoui | Checks if a given BOUI is in the elements of the list | Long boui | boolean | |
isLastPage | Checks whether the cursor is in the last page of elements | - | boolean | |
isEmpty | Check whether the list is empty | - | ||
getPages | Retrieves the number of pages of the current list | - | int | |
getPageSize | Retrieves the size of each page | - | int | |
getPage | Retrieves the current page number | - | int | |
getObject | Retrieves the object at the current cursor's position | - | boObject | |
removeCurrent | Removes the object at the current position of the cursor | - | boolean | |
containsChangedObjects | Checks if the collection contains any boObject instance that was changed since it was loaded | - | boolean | |
moveTo | Moves the cursos to a specific element | int pos | void |
__
No permission to view TWiki.WebTopBar