Library Mobile API Reference for iPhone  MicroStrategy 2019
MSISessionBasedService Class Reference

#import <MSISessionBasedService.h>

Inheritance diagram for MSISessionBasedService:
MSIServiceImpl BaseDossierService BrowseElementsService CreateFolderService DefaultProjPropService DeleteObjectService GetDimensionService IPadCacheCheckService IPadPollStatusService IPadRefreshService MISQLWritebackService MSIUploadImageService ObjectInfoService ObjectService PromptsService ReconcileService RWBinaryService RWDImageService RWDrillService RWManipulationService SaveSubscriptionService SearchMetaDataService XMLAPIService

Instance Methods

(void) - getSession
 
(void) - populateSessionOnRequest:
 
(BOOL) - isSessionMissing
 
- Instance Methods inherited from MSIServiceImpl
(void) - run
 
(NSString *) - getBaseURL:task:
 
(void) - handleData:request:
 
(void) - handleError:request:
 
(void) - handleDataProgress:total:request:
 
(void) - setTaskGroup:
 
(NSString *) - sessionState:
 
(MSIProjectConfiguration *) - projectConfigForReport:
 
(void) - reportException:report:
 
(void) - reportError:report:
 
(NSString *) - getSessionState:
 
(MSIProjectConfiguration *) - getProjectConfig:
 
(MSIDevicePreferences *) - getDevicePrefs
 
(void) - reportException:project:
 
(void) - handleServiceFailedError:withProject:
 
(void) - handleUnauthorizedError:forRequest:
 
(BOOL) - isSessionExpired:
 
(void) - setRequest:
 
(void) - resetInnerService
 
(void) - threadRun
 
(void) - handleClientVersionError:
 
(void) - handleObjectNotFoundError:
 
(void) - handleSessionExpiredError:
 

Properties

NSString * sessionState
 
NSString * sessionID
 
BOOL automaticallyGetSessionStateWhenRun
 
MSIProjectInfoprojectInfo
 
BOOL ignoreAccessProjectError
 
MSIServiceImplparentService
 
MSTRExceptionsessionException
 
ErrorInfo * sessionErrorInfo
 
NSInteger credentialsPromptReturnValue
 
MSIConnectionManagerconnectionManager
 
NSInteger applicationMode
 
- Properties inherited from MSIServiceImpl
id< ServiceHandler > handler
 
BOOL suppressLoginPrompt
 
id< Service > innerService
 

Additional Inherited Members

- Protected Attributes inherited from MSIServiceImpl
NSInteger state
 
id< MSINetworkRequestrequest
 
id< ServiceHandler > __weak handler
 
TaskGroup * taskGroup
 
TaskInfo * taskInfo
 
id< Service > __weak innerService
 
id< Service > innerServiceStrongRef
 
BOOL suppressNetworkErrorAlerts
 
NSString * incrementalFileLocation
 
double priority
 
ClientRequestExecutionHandlerFlags requestExeFlag
 
BOOL makeIncrementalAvailable
 

Method Documentation

◆ getSession()

- (void) getSession

◆ isSessionMissing()

- (BOOL) isSessionMissing

◆ populateSessionOnRequest:()

- (void) populateSessionOnRequest: (nonnull MSITaskRequest *)  request

Property Documentation

◆ applicationMode

- (NSInteger) applicationMode
readwritenonatomicassign

◆ automaticallyGetSessionStateWhenRun

- (BOOL) automaticallyGetSessionStateWhenRun
readwriteatomic

When this property is YES, the session would be get automatically when the service is running

◆ connectionManager

- (MSIConnectionManager*) connectionManager
readwritenonatomicstrong

◆ credentialsPromptReturnValue

- (NSInteger) credentialsPromptReturnValue
readwriteatomic

◆ ignoreAccessProjectError

- (BOOL) ignoreAccessProjectError
readwriteatomic

Whether or not we should ignore privilege error, for now, whether project access errors are viewed as invalid credentials errors

◆ parentService

- (MSIServiceImpl*) parentService
readwritenonatomicweak

◆ projectInfo

- (MSIProjectInfo*) projectInfo
readwritenonatomiccopy

◆ sessionErrorInfo

- (ErrorInfo*) sessionErrorInfo
readwritenonatomicstrong

◆ sessionException

- (MSTRException*) sessionException
readwritenonatomicstrong

◆ sessionID

- (NSString*) sessionID
readwritenonatomicstrong

◆ sessionState

- (NSString*) sessionState
readwritenonatomicstrong