Mobile API Reference  MicroStrategy 2019
ElementListController Class Reference

#import <ElementListController.h>

Inheritance diagram for ElementListController:

Instance Methods

(void) - handleSearchWithCurrentLocation:
 
(void) - handleSearchField:
 
(void) - doneClicked
 
(int) - getHeight
 
(void) - performSearch:
 
(DataExplorerServiceResponse *) - getSearchResultsFromCache:
 
(void) - createSelectedCopy
 
(void) - hideTitleBar
 
(void) - restoreTitleBar
 
(void) - cancelRunningServices
 

Protected Attributes

int Height
 
CLLocationManager * locationManager
 
UIToolbar * curLocToolbar
 
UIBarButtonItem * curLocButton
 
BOOL searchByCurLoc
 
ObjectInfo * promptAttribute
 
NSString * shortFilterXML
 
UIBarButtonItem * barDoneButton
 
NSMutableArray * selectedElements
 
NSMutableDictionary * currentElementsByPage
 
NSInteger currentTotalElements
 
NSInteger currentMaxPages
 
NSMutableDictionary * elementsByPage
 
NSInteger totalElements
 
NSMutableArray * pageNumber
 
NSInteger maxPages
 
NSArray * suggestedAnswers
 
NSString * dataSourcesXML
 
NSInteger elementsPerPage
 
PromptHelperpromptHelper
 
ElementSelectionsControllerparentController
 
UISearchBar * searchBar
 
UIToolbar * searchBarToolbar
 
NSMutableArray * searchBarItemsInSearchMode
 
NSMutableArray * searchBarItemsInDefaultMode
 
BOOL searchResults
 
NSMutableArray * currentlyLoading
 
RoundedRectView * updatingView
 
BOOL readdSearchControls
 
BOOL disableLoading
 
BOOL allowSearch
 
BOOL currentlySearching
 
NSIndexPath * visibleCell
 
CGPoint offset
 
NSMutableArray * currentServices
 
BOOL multiSelect
 
BOOL searchRequired
 
NSMutableDictionary * searchResultsCache
 
BOOL isInDisplaySelectedMode
 
BOOL isInDisplayNothingMode
 
NSMutableArray * selElementsCopy
 
UIImage * selectedImage
 
UIImage * unselectedImage
 
NSString * barcodeFormId
 
BOOL inBarcodeSearchMode
 
BOOL lastSearchWasBarcode
 
NSString * geoMapping
 
NSString * geoAttributeId
 
MKReverseGeocoder * reverseGeocoder
 
BOOL inGeoSeachMode
 
UILabel * selectionCountLabel
 
CGRect selectionCountLabelFrame
 
UITableViewCell * preSelectedCell
 
BOOL receivedResult
 
BOOL titleBarHidden
 

Detailed Description

This is used for handling the UI of an Element Prompt.

Method Documentation

◆ cancelRunningServices()

- (void) cancelRunningServices

◆ createSelectedCopy()

- (void) createSelectedCopy

◆ doneClicked()

- (void) doneClicked

◆ getHeight()

- (int) getHeight

◆ getSearchResultsFromCache:()

- (DataExplorerServiceResponse *) getSearchResultsFromCache: (NSString *)  searchText

◆ handleSearchField:()

- (void) handleSearchField: (id)  sender

◆ handleSearchWithCurrentLocation:()

- (void) handleSearchWithCurrentLocation: (id)  sender

◆ hideTitleBar()

- (void) hideTitleBar

◆ performSearch:()

- (void) performSearch: (NSString *)  searchText

◆ restoreTitleBar()

- (void) restoreTitleBar

Member Data Documentation

◆ allowSearch

- (BOOL) allowSearch
protected

◆ barcodeFormId

- (NSString *) barcodeFormId
readwritenonatomiccopyprotected

◆ barDoneButton

- (UIBarButtonItem*) barDoneButton
protected

◆ curLocButton

- (UIBarButtonItem*) curLocButton
protected

◆ curLocToolbar

- (UIToolbar*) curLocToolbar
protected

◆ currentElementsByPage

- (NSMutableDictionary *) currentElementsByPage
readwritenonatomicretainprotected

◆ currentlyLoading

- (NSMutableArray*) currentlyLoading
protected

◆ currentlySearching

- (BOOL) currentlySearching
protected

◆ currentMaxPages

- (NSInteger) currentMaxPages
protected

◆ currentServices

- (NSMutableArray*) currentServices
protected

◆ currentTotalElements

- (NSInteger) currentTotalElements
protected

◆ dataSourcesXML

- (NSString *) dataSourcesXML
readwritenonatomiccopyprotected

◆ disableLoading

- (BOOL) disableLoading
protected

◆ elementsByPage

- (NSMutableDictionary *) elementsByPage
readwritenonatomicretainprotected

◆ elementsPerPage

- (NSInteger) elementsPerPage
protected

◆ geoAttributeId

- (NSString *) geoAttributeId
readwritenonatomiccopyprotected

◆ geoMapping

- (NSString *) geoMapping
readwritenonatomiccopyprotected

◆ Height

- (int) Height
readwritenonatomicassignprotected

◆ inBarcodeSearchMode

- (BOOL) inBarcodeSearchMode
protected

◆ inGeoSeachMode

- (BOOL) inGeoSeachMode
protected

◆ isInDisplayNothingMode

- (BOOL) isInDisplayNothingMode
protected

◆ isInDisplaySelectedMode

- (BOOL) isInDisplaySelectedMode
protected

◆ lastSearchWasBarcode

- (BOOL) lastSearchWasBarcode
protected

◆ locationManager

- (CLLocationManager*) locationManager
protected

◆ maxPages

- (NSInteger) maxPages
protected

◆ multiSelect

- (BOOL) multiSelect
readwriteprotected

◆ offset

- (CGPoint) offset
protected

◆ pageNumber

- (NSMutableArray *) pageNumber
readwritenonatomicretainprotected

◆ parentController

- (ElementSelectionsController *) parentController
readwritenonatomicassignprotected

◆ preSelectedCell

- (UITableViewCell *) preSelectedCell
readwritenonatomicretainprotected

◆ promptAttribute

- (ObjectInfo *) promptAttribute
readwritenonatomicretainprotected

◆ promptHelper

- (PromptHelper *) promptHelper
readwritenonatomicassignprotected

◆ readdSearchControls

- (BOOL) readdSearchControls
protected

◆ receivedResult

- (BOOL) receivedResult
protected

◆ reverseGeocoder

- (MKReverseGeocoder*) reverseGeocoder
protected

◆ searchBar

- (UISearchBar *) searchBar
readwritenonatomicretainprotected

◆ searchBarItemsInDefaultMode

- (NSMutableArray*) searchBarItemsInDefaultMode
protected

◆ searchBarItemsInSearchMode

- (NSMutableArray*) searchBarItemsInSearchMode
protected

◆ searchBarToolbar

- (UIToolbar*) searchBarToolbar
protected

◆ searchByCurLoc

- (BOOL) searchByCurLoc
protected

◆ searchRequired

- (BOOL) searchRequired
readwriteprotected

◆ searchResults

- (BOOL) searchResults
protected

◆ searchResultsCache

- (NSMutableDictionary*) searchResultsCache
protected

◆ selectedElements

- (NSMutableArray *) selectedElements
readwritenonatomiccopyprotected

◆ selectedImage

- (UIImage *) selectedImage
readwritenonatomicretainprotected

◆ selectionCountLabel

- (UILabel*) selectionCountLabel
protected

◆ selectionCountLabelFrame

- (CGRect) selectionCountLabelFrame
protected

◆ selElementsCopy

- (NSMutableArray *) selElementsCopy
readwritenonatomicretainprotected

◆ shortFilterXML

- (NSString *) shortFilterXML
readwritenonatomicretainprotected

◆ suggestedAnswers

- (NSArray *) suggestedAnswers
readwritenonatomicretainprotected

◆ titleBarHidden

- (BOOL) titleBarHidden
protected

◆ totalElements

- (NSInteger) totalElements
protected

◆ unselectedImage

- (UIImage *) unselectedImage
readwritenonatomicretainprotected

◆ updatingView

- (RoundedRectView*) updatingView
protected

◆ visibleCell

- (NSIndexPath*) visibleCell
protected