Tags:
create new tag
, view all tags
-- PedroRio - 30 Dec 2010

boObjectList

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 to iterate over the results.

Method name DescriptionSorted ascending Parameters Return type Notes
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)
isEmpty Check whether the list is empty -    
haveBoui Checks if a given BOUI is in the elements of the list Long boui boolean  
containsChangedObjects Checks if the collection contains any boObject instance that was changed since it was loaded - boolean  
haveMorePages Checks whether or not the cursor is in the last page of the results - boolean  
isLastPage Checks whether the cursor is in the last page of elements - boolean  
moveTo Moves the cursor to a specific position int pos void  
beforeFirst Positions the cursor before the first position, so that a call to next moves the cursor to the first element - void  
removeCurrent Removes the object at the current position of the cursor - boolean  
getPage Retrieves the current page number - int  
getPages Retrieves the number of pages of the current list - int  
getRecordCount Retrieves the number of records returned by the select query - long  
getRowCount Retrieves the number of rows in the page - int  
getObject Retrieves the object at the current cursor's position - boObject  
getPageSize Retrieves the size of each page - int  

__

Topic revision: r5 - 2011-04-04 - NicolauGrosskopf
 

No permission to view TWiki.WebTopBar

This site is powered by the TWiki collaboration platform Powered by Perl

No permission to view TWiki.WebBottomBar