Mobile API Reference  MicroStrategy 2019
Prompts.h
Go to the documentation of this file.
1 //
2 // Prompts.h
3 // MSTRMobile
4 //
5 // Created by Quality Engineering on 2/4/10.
6 // Copyright 2010 MicroStrategy, Inc. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
11 
12 
13 
14 typedef enum _PromptTypes{
16  EnumPromptTypeConstant, // These are Value prompts and can be numeric, text, date&time, Big Decimal.
18  EnumPromptTypeExpression, // Not yet supported
19  EnumPromptTypeObjects, // Not yet supported
20  EnumPromptTypeDimty // Not yet supported
22 
24 
30 @interface Prompts : NSObject <NSCopying, MIIDynamicTableDataIterator> {
31 @private
32  // Contains only supported prompts
33  NSMutableArray* prompts;
34 
35  // Contains all prompts
36  NSMutableArray* allPrompts;
37  NSString* locale;
38  MSIReportDisplayInfo* document;
39  MSTRError* xmlError;
40  BOOL readyForAnswering;
41  BOOL preparationCanceled;
42  BOOL hidesPromptsForAnsweringLocation;
43  BOOL polarisVerver;
44 }
45 
49 @property (nonatomic, strong) NSMutableArray* prompts;
50 
54 @property (nonatomic, strong) NSMutableArray* allPrompts;
55 
56 @property (nonatomic, copy) NSString* locale;
57 @property (nonatomic, strong) MSIReportDisplayInfo* document;
58 @property (nonatomic, readonly) MSTRError* xmlError;
59 @property BOOL readyForAnswering;
60 @property BOOL preparationCanceled;
61 @property BOOL hidesPromptsForAnsweringLocation;
62 @property BOOL polarisVerver;
64 -(id)initWithData:(NSData*)data withDocument:(MSIReportDisplayInfo*)doc;
65 -(NSString*)getXml;
66 -(NSString*)getAnswerXml;
67 //-(void)beforeBuildAnswerXml;
68 -(void)loadAnswers:(NSString*)xml;
69 -(BOOL)validateAnswers;
75 -(void)prepareForAnswering;
76 -(void)cancelPreparation;
77 -(void)cancelRunningServices;
78 
79 @end
signed char BOOL
Definition: PDCwtypes.h:101
Definition: MSIPrompt.h:34
Definition: MSIReportDisplayInfo.h:91
Definition: Prompts.h:19
BOOL requiredPromptsFirst
Definition: Prompts.h:63
Definition: SAXSupport.h:14
Definition: MSTRError.h:19
Definition: Prompts.h:18
Definition: Prompts.h:30
Definition: Prompts.h:16
Definition: MIIDynamicTableDataIterator.h:10
enum _PromptTypes PromptTypes
Definition: ElementsPrompt.h:16
Definition: Prompts.h:15
Definition: Prompts.h:20
Definition: Prompts.h:17
_PromptTypes
Definition: Prompts.h:14