|
Mobile API Reference
MicroStrategy 2019
|
#import <MSIConstantPrompt.h>
Protected Attributes | |
| DataTypes | mAnswerDataType |
Protected Attributes inherited from MSIPrompt | |
| 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 | |
| DataTypes | answerDataType |
Properties inherited from MSIPrompt | |
| 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: |
Also known as a Value prompt, MSIConstantPrompt covers Date & Time, various Numeric, Text and Big Decimal.
| - (MSIPromptAnswer*) answer |
The answer should be a subclass of ConstantPromptAnswer, for Numeric, String, DateTime and BigDecimal.
| - (id) copyWithZone: | (NSZone *) | zone |
| - (BOOL) hasAnswer |
| - (NSDate*) maxAsDate |
| - (NSNumber*) maxAsNumber |
| - (NSDate*) minAsDate |
| - (NSNumber*) minAsNumber |
| - (MSIPromptAnswer*) newAnswerWithType: | (DataTypes) | dataType |
Creates a ConstantPromptAnswer according to the given data type, i.e. for Numeric, String, DateTime and BigDecimal.
| dataType | One of DataTypeBigDecimal, MSIDateTimePromptAnswer, DataTypeNumeric, DataTypeFloat, DataTypeReal, DataTypeDouble, DataTypeDecimal, DataTypeChar |
| - (void) setAnswer: | (MSIPromptAnswer *) | newAnswer |
The answer should be a subclass of ConstantPromptAnswer, for Numeric, String, DateTime and BigDecimal. Setting this does not trigger any responses, such as re-running a report or sending to the server.
| - (NSDate*) valueAsDate |
| - (NSNumber*) valueAsNumber |
|
protected |
|
readwriteatomic |