Mobile API Reference
MicroStrategy 2019
|
#import <MSIPrompt.h>
Protected Attributes | |
PromptTypes | promptType |
NSString * | title |
NSString * | min |
NSString * | max |
NSString * | meaning |
BOOL | required |
NSMutableDictionary * | properties |
BOOL | handlingAnswer |
MSTRFormatter * | formatter |
BOOL | hasAnswer |
MSIPromptAnswer * | mAnswer |
BOOL | mIsHidden |
BOOL | mIsClosed |
Properties | |
MSIReportDisplayInfo * | document |
MSIPromptAnswer * | answer |
BOOL | hidden |
BOOL | closed |
Properties inherited from MSIObjectInfo | |
NSString * | objectID |
NSInteger | namedID |
NSString * | name |
NSString * | displayName |
ObjectTypes | type |
NSString * | sta |
ObjectSubTypes | subType |
NSInteger | accessGranted |
NSInteger | viewMedia |
NSInteger | availableViewMedia |
NSString * | desc |
NSString * | abbreviation |
NSString * | iconPath |
NSString * | owner |
BOOL | isShortcut |
NSString * | externalPath |
NSInteger | externalObjectType |
NSDate * | creationDate |
NSDate * | modificationDate |
int | binaryStatus |
MSIObjectInfo * | parentFolder |
NSString * | containerId |
NSString * | containerType |
Additional Inherited Members | |
Class Methods inherited from MSIObjectInfo | |
(MSIObjectInfo *) | + newObject: |
(ObjectSubTypes) | + subTypeFromType: |
A Prompt is used when a document needs to ask the user for answers. The two types currently supported are Element and Value (a.k.a. Constant). Object, Expression and Dimty are not yet supported.
Subclasses are responsible for the answers. Feb 2012: We will be migrating answer responsibility into the PromptAnswer class and its new subclasses.
- (void) addLocationAttributes: | (XMLBuilder *) | builder |
- (MSTRError*) beforeBuildAnswerXml |
- (void) buildAnswerXml: | (XMLBuilder *) | builder |
- (void) buildTypeSpecificAnswerXml: | (XMLBuilder *) | builder |
- (MSTRFormatter*) formatter |
- (id<MSTRHandler>) getAnswerHandler |
getAnswerHandler is called just before a new answer is parsed from XML. Any old answer should be discarded before parsing begins. The discarding is being done within getAnswerHandler.
- (void) rebuildFormatter |
- (void) setErrorWithMessage: | (NSString *) | msg |
- (BOOL) validateAnswer |
Checks that the prompt has an answer, if one is required.
- (NSInteger) validateMinMax: | (NSInteger) | count |
|
protected |
|
protected |
|
readnonatomicassignprotected |
|
protected |
|
readwritenonatomiccopyprotected |
|
readwritenonatomiccopyprotected |
|
readwritenonatomiccopyprotected |
|
protected |
|
protected |
|
readwriteprotected |
The type of prompt will be one of the PromptTypes enum values in Prompts.h. E.g. EnumPromptTypeElements.
|
readwritenonatomicstrongprotected |
|
readwriteprotected |
|
readwritenonatomiccopyprotected |
|
readwritenonatomicstrong |
|
readwritenonatomicassign |
|
readwritenonatomicweak |
|
readwritenonatomicassign |