DASimpleRemoteDataAdapter

Overview

Note DASimpleRemoteDataAdapter class becomes deprecated. DARemoteDataAdapter class has already got initWithTargetURL: and adapterWithTargetURL: methods.

F

DASimpleRemoteDataAdapter is the specialized class inherited from the DARemoteDataAdapter. Its main purpose is to reduce efforts for configuring the adapter before using it. All we need to creating an adapter is to specify the target URL of the server we want to connect to.

    DARemoteDataAdapter *adapter = 
        [DASimpleRemoteDataAdapter adapterWithTargetUrl:@"http://myServer:8099/bin"];       

All configuration actions like creating message, channel, remote service(s), configuring them and binding them together happens under the hood of the DARemoteDataAdapter. The DASimpleRemoteDataAdapter merely saves a lot of boiler-plate setup code. The equivalent manual setup would look something like this:

ROMessage *message = [[[ROBinMessage alloc] init] autorelease];
ROHTTPClientChannel *channel = [[[ROHTTPClientChannel alloc] initWithTargetUrl:@"http://myServer:8099/bin"] autorelease];
[channel setDelegate:self];
RORemoteService *dataService = 
   [[[RORemoteService alloc] initWithMessage:message channel:channel serviceName:@"DataService"] autorelease];
RORemoteService *loginService = 
   [[[RORemoteService alloc] initWithMessage:message channel:channel  serviceName:@"LoginService"] autorelease];
DARemoteDataAdapter *adapter = 
   [DARemoteDataAdapter initWithDataService:dataService loginService:loginService];

Note that DASimpleRemoteDataAdapter is fully customizable. For example, we can change the default "dataService" name:

[[adapter dataService] setName:@"MyDataService"]; 
[[adapter loginService] setName:@"MyLoginService"]; 

or add an encryption envelope:

 
ROAESEncryptionEnvelope *envelope = [[ROAESEncryptionEnvelope alloc] initWithPassword:AES_PHRASE];
[[[[adapter dataService] message] envelopes] setValue:envelope forKey:@"AES"];
[envelope release];

Location

 

adapterWithSuperHTTPChannelAndTargetUrl:  deprecated

Creates and initializes an instance of the DASimpleRemoteDataAdapter with the given URL string. Deprecated, please use DARemoteDataAdapter class and its methods.

+ (id) adapterWithSuperHTTPChannelAndTargetUrl:(NSString *)aUrl

Parameters:

  • aUrl: Target URL as string

adapterWithSuperHTTPChannelAndTargetURL:  deprecated

Creates and initializes an instance of the DASimpleRemoteDataAdapter with the given URL. Deprecated, please use DARemoteDataAdapter class and its methods.

+ (id) adapterWithSuperHTTPChannelAndTargetURL:(NSURL *)aURL

Parameters:

  • aURL: Target URL of the data service

adapterWithTargetUrl:  deprecated    (declared in DARemoteDataAdapter)

+ (nonnull id) adapterWithTargetUrl:(nonnull NSString *)url

Parameters:

  • url:

adapterWithTargetURL:    (declared in DARemoteDataAdapter)

+ (nonnull id) adapterWithTargetURL:(nonnull NSURL *)url

Parameters:

  • url:

adapterWithTargetURL:dataServiceName:    (declared in DARemoteDataAdapter)

+ (nonnull id) adapterWithTargetURL:(nonnull NSURL *)url dataServiceName:(nonnull NSString *)dataServiceName

Parameters:

  • url:
  • dataServiceName:

adapterWithTargetURL:dataServiceName:loginServiceName:    (declared in DARemoteDataAdapter)

+ (nonnull id) adapterWithTargetURL:(nonnull NSURL *)url dataServiceName:(nonnull NSString *)dataServiceName loginServiceName:(nonnull NSString *)loginServiceName

Parameters:

  • url:
  • dataServiceName:
  • loginServiceName:

applyChanges:    (declared in DARemoteDataAdapter)

- (void) applyChanges:(NSArray *)aTables

Parameters:

  • aTables:

applyChangesForTable:    (declared in DARemoteDataAdapter)

- (void) applyChangesForTable:(nonnull DADataTable *)dataTable

Parameters:

  • dataTable:

applyChangesForTables:    (declared in DARemoteDataAdapter)

- (void) applyChangesForTables:(nonnull NSArray_DataTable *)dataTables

Parameters:

  • dataTables:

beginApplyChangesForTable:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginApplyChangesForTable:(nonnull DADataTable *)dataTable

Parameters:

  • dataTable:

beginApplyChangesForTable:start:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginApplyChangesForTable:(nonnull DADataTable *)dataTable start:(BOOL)start

Parameters:

  • dataTable:
  • start:

beginApplyChangesForTable:withBlock:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginApplyChangesForTable:(nonnull DADataTable *)dataTable withBlock:(nullable void^)block

Parameters:

  • dataTable:
  • block:

beginApplyChangesForTables:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginApplyChangesForTables:(nonnull NSArray_DataTable *)dataTables

Parameters:

  • dataTables:

beginApplyChangesForTables:start:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginApplyChangesForTables:(nonnull NSArray_DataTable *)dataTables start:(BOOL)start

Parameters:

  • dataTables:
  • start:

beginApplyChangesForTables:withBlock:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginApplyChangesForTables:(nonnull NSArray_DataTable *)dataTables withBlock:(nullable void^)block

Parameters:

  • dataTables:
  • block:

beginExecuteCommand:withParameters:start:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginExecuteCommand:(nonnull NSString *)commandName withParameters:(nonnull NSDictionary *)params start:(BOOL)start

Parameters:

  • commandName:
  • params:
  • start:

beginExecuteCommand:withParameters:withBlock:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginExecuteCommand:(nonnull NSString *)commandName withParameters:(nonnull NSDictionary *)params withBlock:(nonnull void(^)(int, NSDictionary * __nonnull))block

Parameters:

  • commandName:
  • params:
  • block:

beginExecuteCommandEx:withParameters:start:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginExecuteCommandEx:(nonnull NSString *)commandName withParameters:(nonnull NSDictionary *)params start:(BOOL)start

Parameters:

  • commandName:
  • params:
  • start:

beginExecuteCommandEx:withParameters:withBlock:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginExecuteCommandEx:(nonnull NSString *)commandName withParameters:(nonnull NSDictionary *)params withBlock:(nonnull void(^)(int, NSDictionary * __nonnull))block

Parameters:

  • commandName:
  • params:
  • block:

beginGetDataForSQL:    (declared in DARemoteDataAdapter)

- (DAAsyncRequest *) beginGetDataForSQL:(NSString *)sql

Parameters:

  • sql:

beginGetDataForSQL:start:    (declared in DARemoteDataAdapter)

- (DAAsyncRequest *) beginGetDataForSQL:(NSString *)sql start:(BOOL)start

Parameters:

  • sql:
  • start:

beginGetDataForTable:select:where:start:    (declared in DARemoteDataAdapter)

- (DAAsyncRequest *) beginGetDataForTable:(NSString *)tableName select:(NSArray *)fields where:(DADynamicWhereClause *)where start:(BOOL)start

Parameters:

  • tableName:
  • fields:
  • where:
  • start:

beginGetDataForTables:start:    (declared in DARemoteDataAdapter)

- (DAAsyncRequest *) beginGetDataForTables:(NSArray *)tableNames start:(BOOL)start

Parameters:

  • tableNames:
  • start:

beginGetDataForTables:withSQL:start:    (declared in DARemoteDataAdapter)

- (DAAsyncRequest *) beginGetDataForTables:(NSArray *)tableNames withSQL:(NSArray *)sqlQueries start:(BOOL)start

Parameters:

  • tableNames:
  • sqlQueries:
  • start:

beginGetDataTable:select:where:start:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginGetDataTable:(nonnull NSString *)tableName select:(nullable NSArray_String *)fieldList where:(nullable DADynamicWhereClause *)whereClause start:(BOOL)start

Parameters:

  • tableName:
  • fieldList:
  • whereClause:
  • start:

beginGetDataTable:select:where:withBlock:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginGetDataTable:(nonnull NSString *)tableName select:(nullable NSArray_String *)fieldList where:(nullable DADynamicWhereClause *)whereClause withBlock:(nonnull void(^)(DADataTable * __nonnull))block

Parameters:

  • tableName:
  • fieldList:
  • whereClause:
  • block:

beginGetDataTable:start:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginGetDataTable:(nonnull NSString *)tableName start:(BOOL)start

Parameters:

  • tableName:
  • start:

beginGetDataTable:withBlock:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginGetDataTable:(nonnull NSString *)tableName withBlock:(nonnull void(^)(DADataTable * __nonnull))block

Parameters:

  • tableName:
  • block:

beginGetDataTable:withSQL:start:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginGetDataTable:(nonnull NSString *)tableName withSQL:(nonnull NSString *)sql start:(BOOL)start

Parameters:

  • tableName:
  • sql:
  • start:

beginGetDataTable:withSQL:withBlock:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginGetDataTable:(nonnull NSString *)tableName withSQL:(nonnull NSString *)sql withBlock:(nonnull void(^)(DADataTable * __nonnull))block

Parameters:

  • tableName:
  • sql:
  • block:

beginGetDataTables:select:where:start:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginGetDataTables:(nonnull NSArray_String *)tableNames select:(nullable NSArray_String *)fieldLists where:(nullable NSArray_DynamicWhereClause *)whereClauses start:(BOOL)start

Parameters:

  • tableNames:
  • fieldLists:
  • whereClauses:
  • start:

beginGetDataTables:select:where:withBlock:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginGetDataTables:(nonnull NSArray_String *)tableNames select:(nullable NSArray_String *)fieldLists where:(nullable NSArray_DynamicWhereClause *)whereClauses withBlock:(nonnull void(^)(NSDictionary_String_DataTable * __nonnull))block

Parameters:

  • tableNames:
  • fieldLists:
  • whereClauses:
  • block:

beginGetDataTables:start:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginGetDataTables:(nonnull NSArray_String *)tableNames start:(BOOL)start

Parameters:

  • tableNames:
  • start:

beginGetDataTables:withBlock:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginGetDataTables:(nonnull NSArray_String *)tableNames withBlock:(nonnull void(^)(NSDictionary * __nonnull))block

Parameters:

  • tableNames:
  • block:

beginGetDataTables:withSQL:start:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginGetDataTables:(nonnull NSArray_String *)tableNames withSQL:(nonnull NSArray_String *)sqlQueries start:(BOOL)start

Parameters:

  • tableNames:
  • sqlQueries:
  • start:

beginGetDataTables:withSQL:withBlock:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginGetDataTables:(nonnull NSArray_String *)tableNames withSQL:(nonnull NSArray_String *)sqlQueries withBlock:(nonnull void(^)(NSDictionary_String_DataTable * __nonnull))block

Parameters:

  • tableNames:
  • sqlQueries:
  • block:

beginGetDataTableWithSQL:start:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginGetDataTableWithSQL:(nonnull NSString *)sql start:(BOOL)start

Parameters:

  • sql:
  • start:

beginGetDataTableWithSQL:withBlock:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginGetDataTableWithSQL:(nonnull NSString *)sql withBlock:(nonnull void(^)(DADataTable * __nonnull))block

Parameters:

  • sql:
  • block:

beginGetSchema    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginGetSchema

beginGetSchemaWithBlock:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginGetSchemaWithBlock:(nonnull void(^)(DASchema * __nonnull))block

Parameters:

  • block:

checkForErrors:    (declared in DARemoteDataAdapter)

- (void) checkForErrors:(NSArray *)dDeltas

Parameters:

  • dDeltas:

dataService  nonatomic retain    (declared in DARemoteDataAdapter)

Reference to a data service.

@property (nonatomic, retain) nullable RORemoteService *dataService

dataStreamer  retain    (declared in DARemoteDataAdapter)

Reference to data streamer. Currently we support DABin2DataStreamer only.

@property (retain) nullable DADataStreamer *dataStreamer

delegate  assign    (declared in DARemoteDataAdapter)

A delegate that wants to receive notifications of events that happen within the DARemoteDataAdapter, such as receiving a request to login, or any kind of failure.

@property (assign) id<DARemoteDataAdapterDelegate> delegate

executeCommand:withParameters:    (declared in DARemoteDataAdapter)

- (int) executeCommand:(nonnull NSString *)commandName withParameters:(nonnull NSDictionary *)params

Parameters:

  • commandName:
  • params:

executeCommand:withParameterValuesAndNames:    (declared in DARemoteDataAdapter)

- (int) executeCommand:(nonnull NSString *)commandName withParameterValuesAndNames:(nullable id)value , ... NS_REQUIRES_NIL_TERMINATION

Parameters:

  • commandName:
  • value:

executeCommandEx:withParameters:outputParameters:    (declared in DARemoteDataAdapter)

- (int) executeCommandEx:(nonnull NSString *)commandName withParameters:(nonnull NSDictionary *)params outputParameters:(NSDictionary * __nonnull * __nonnull)outParams

Parameters:

  • commandName:
  • params:
  • outParams:

getDataForSQL:    (declared in DARemoteDataAdapter)

- (NSData *) getDataForSQL:(NSString *)sql

Parameters:

  • sql:

getDataForTable:    (declared in DARemoteDataAdapter)

- (NSData *) getDataForTable:(NSString *)tableName

Parameters:

  • tableName:

getDataForTable:select:where:    (declared in DARemoteDataAdapter)

- (NSData *) getDataForTable:(NSString *)tableName select:(NSArray *)fields where:(DADynamicWhereClause *)where

Parameters:

  • tableName:
  • fields:
  • where:

getDataForTables:    (declared in DARemoteDataAdapter)

- (NSData *) getDataForTables:(NSArray *)tableNames

Parameters:

  • tableNames:

getDataForTables:withSQL:    (declared in DARemoteDataAdapter)

- (NSData *) getDataForTables:(NSArray *)tableNames withSQL:(NSArray *)sqlQueries

Parameters:

  • tableNames:
  • sqlQueries:

getDataTable:    (declared in DARemoteDataAdapter)

- (nonnull DADataTable *) getDataTable:(nonnull NSString *)tableName

Parameters:

  • tableName:

getDataTable:select:where:    (declared in DARemoteDataAdapter)

- (nonnull DADataTable *) getDataTable:(nonnull NSString *)tableName select:(nullable NSArray_String *)fieldList where:(nullable DADynamicWhereClause *)whereClause

Parameters:

  • tableName:
  • fieldList:
  • whereClause:

getDataTable:withSQL:    (declared in DARemoteDataAdapter)

- (nonnull DADataTable *) getDataTable:(nonnull NSString *)tableName withSQL:(nonnull NSString *)sql

Parameters:

  • tableName:
  • sql:

getDataTables:    (declared in DARemoteDataAdapter)

- (nonnull NSDictionary_String_DataTable *) getDataTables:(nonnull NSArray_String *)tableNames

Parameters:

  • tableNames:

getDataTables:select:where:    (declared in DARemoteDataAdapter)

- (nonnull NSDictionary_String_DataTable *) getDataTables:(nonnull NSArray_String *)tableNames select:(nullable NSArray_String *)fieldLists where:(nullable NSArray_DynamicWhereClause *)whereClauses

Parameters:

  • tableNames:
  • fieldLists:
  • whereClauses:

getDataTables:withSQL:    (declared in DARemoteDataAdapter)

- (nonnull NSDictionary_String_DataTable *) getDataTables:(nonnull NSArray_String *)tableNames withSQL:(nonnull NSArray_String *)sqlQueries

Parameters:

  • tableNames:
  • sqlQueries:

getDataTableWithSQL:    (declared in DARemoteDataAdapter)

- (nonnull DADataTable *) getDataTableWithSQL:(nonnull NSString *)sql

Parameters:

  • sql:

getSchema    (declared in DARemoteDataAdapter)

- (nonnull DASchema *) getSchema

init    (declared in DARemoteDataAdapter)

- (nonnull instancetype) init

initWithDataService:    (declared in DARemoteDataAdapter)

- (nonnull instancetype) initWithDataService:(nonnull RORemoteService *)dataService

Parameters:

  • dataService:

initWithDataService:loginService:    (declared in DARemoteDataAdapter)

- (nonnull instancetype) initWithDataService:(nonnull RORemoteService *)dataService loginService:(nonnull RORemoteService *)loginService

Parameters:

  • dataService:
  • loginService:

initWithSuperHTTPChannelAndTargetUrl:  deprecated

- (InstanceType) initWithSuperHTTPChannelAndTargetUrl:(NSString *)aUrl

Parameters:

  • aUrl:

initWithSuperHTTPChannelAndTargetURL:  deprecated

- (InstanceType) initWithSuperHTTPChannelAndTargetURL:(NSURL *)aURL

Parameters:

  • aURL:

initWithTargetUrl:  deprecated    (declared in DARemoteDataAdapter)

- (nonnull instancetype) initWithTargetUrl:(nonnull NSString *)url

Parameters:

  • url:

initWithTargetURL:    (declared in DARemoteDataAdapter)

- (nonnull instancetype) initWithTargetURL:(nonnull NSURL *)url

Parameters:

  • url:

initWithTargetURL:dataServiceName:    (declared in DARemoteDataAdapter)

- (nonnull instancetype) initWithTargetURL:(nonnull NSURL *)url dataServiceName:(nonnull NSString *)dataServiceName

Parameters:

  • url:
  • dataServiceName:

initWithTargetURL:dataServiceName:loginServiceName:    (declared in DARemoteDataAdapter)

- (nonnull instancetype) initWithTargetURL:(nonnull NSURL *)url dataServiceName:(nonnull NSString *)dataServiceName loginServiceName:(nonnull NSString *)loginServiceName

Parameters:

  • url:
  • dataServiceName:
  • loginServiceName:

login    (declared in DARemoteDataAdapter)

Method that performs login to secured server. For login it uses or loginString value or username and password properties.

- (BOOL) login

loginService  nonatomic retain    (declared in DARemoteDataAdapter)

Reference to the login service. Optionally, it can be nil if authentication is not required.

@property (nonatomic, retain) nullable RORemoteService *loginService

loginString  copy nonatomic    (declared in DARemoteDataAdapter)

a preformatted LoginEx string.

@property (copy, nonatomic) nullable NSString *loginString

loginWithString:    (declared in DARemoteDataAdapter)

- (BOOL) loginWithString:(nonnull NSString *)aConnectionString

Parameters:

  • aConnectionString:

loginWithUsername:password:    (declared in DARemoteDataAdapter)

- (BOOL) loginWithUsername:(nonnull NSString *)userName password:(nonnull NSString *)password

Parameters:

  • userName:
  • password:

loginWithUsername:password:connectionName:    (declared in DARemoteDataAdapter)

- (BOOL) loginWithUsername:(nonnull NSString *)userName password:(nonnull NSString *)password connectionName:(nonnull NSString *)connectionName

Parameters:

  • userName:
  • password:
  • connectionName:

logout    (declared in DARemoteDataAdapter)

This method performs the log out.

- (void) logout

mergeDelta:forTable:    (declared in DARemoteDataAdapter)

- (void) mergeDelta:(DADelta *)aDelta forTable:(DADataTable *)aTable

Parameters:

  • aDelta:
  • aTable:

password  copy nonatomic    (declared in DARemoteDataAdapter)

Password value for login to secured server.

@property (copy, nonatomic) nullable NSString *password

username  copy nonatomic    (declared in DARemoteDataAdapter)

User name for login to secured server

@property (copy, nonatomic) nullable NSString *username

 

dataService  nonatomic retain    (declared in DARemoteDataAdapter)

Reference to a data service.

@property (nonatomic, retain) nullable RORemoteService *dataService

dataStreamer  retain    (declared in DARemoteDataAdapter)

Reference to data streamer. Currently we support DABin2DataStreamer only.

@property (retain) nullable DADataStreamer *dataStreamer

delegate  assign    (declared in DARemoteDataAdapter)

A delegate that wants to receive notifications of events that happen within the DARemoteDataAdapter, such as receiving a request to login, or any kind of failure.

@property (assign) id<DARemoteDataAdapterDelegate> delegate

loginService  nonatomic retain    (declared in DARemoteDataAdapter)

Reference to the login service. Optionally, it can be nil if authentication is not required.

@property (nonatomic, retain) nullable RORemoteService *loginService

loginString  copy nonatomic    (declared in DARemoteDataAdapter)

a preformatted LoginEx string.

@property (copy, nonatomic) nullable NSString *loginString

password  copy nonatomic    (declared in DARemoteDataAdapter)

Password value for login to secured server.

@property (copy, nonatomic) nullable NSString *password

username  copy nonatomic    (declared in DARemoteDataAdapter)

User name for login to secured server

@property (copy, nonatomic) nullable NSString *username

 

adapterWithSuperHTTPChannelAndTargetUrl:  deprecated

Creates and initializes an instance of the DASimpleRemoteDataAdapter with the given URL string. Deprecated, please use DARemoteDataAdapter class and its methods.

+ (id) adapterWithSuperHTTPChannelAndTargetUrl:(NSString *)aUrl

Parameters:

  • aUrl: Target URL as string

adapterWithSuperHTTPChannelAndTargetURL:  deprecated

Creates and initializes an instance of the DASimpleRemoteDataAdapter with the given URL. Deprecated, please use DARemoteDataAdapter class and its methods.

+ (id) adapterWithSuperHTTPChannelAndTargetURL:(NSURL *)aURL

Parameters:

  • aURL: Target URL of the data service

adapterWithTargetUrl:  deprecated    (declared in DARemoteDataAdapter)

+ (nonnull id) adapterWithTargetUrl:(nonnull NSString *)url

Parameters:

  • url:

adapterWithTargetURL:    (declared in DARemoteDataAdapter)

+ (nonnull id) adapterWithTargetURL:(nonnull NSURL *)url

Parameters:

  • url:

adapterWithTargetURL:dataServiceName:    (declared in DARemoteDataAdapter)

+ (nonnull id) adapterWithTargetURL:(nonnull NSURL *)url dataServiceName:(nonnull NSString *)dataServiceName

Parameters:

  • url:
  • dataServiceName:

adapterWithTargetURL:dataServiceName:loginServiceName:    (declared in DARemoteDataAdapter)

+ (nonnull id) adapterWithTargetURL:(nonnull NSURL *)url dataServiceName:(nonnull NSString *)dataServiceName loginServiceName:(nonnull NSString *)loginServiceName

Parameters:

  • url:
  • dataServiceName:
  • loginServiceName:

 

applyChanges:    (declared in DARemoteDataAdapter)

- (void) applyChanges:(NSArray *)aTables

Parameters:

  • aTables:

applyChangesForTable:    (declared in DARemoteDataAdapter)

- (void) applyChangesForTable:(nonnull DADataTable *)dataTable

Parameters:

  • dataTable:

applyChangesForTables:    (declared in DARemoteDataAdapter)

- (void) applyChangesForTables:(nonnull NSArray_DataTable *)dataTables

Parameters:

  • dataTables:

beginApplyChangesForTable:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginApplyChangesForTable:(nonnull DADataTable *)dataTable

Parameters:

  • dataTable:

beginApplyChangesForTable:start:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginApplyChangesForTable:(nonnull DADataTable *)dataTable start:(BOOL)start

Parameters:

  • dataTable:
  • start:

beginApplyChangesForTable:withBlock:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginApplyChangesForTable:(nonnull DADataTable *)dataTable withBlock:(nullable void^)block

Parameters:

  • dataTable:
  • block:

beginApplyChangesForTables:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginApplyChangesForTables:(nonnull NSArray_DataTable *)dataTables

Parameters:

  • dataTables:

beginApplyChangesForTables:start:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginApplyChangesForTables:(nonnull NSArray_DataTable *)dataTables start:(BOOL)start

Parameters:

  • dataTables:
  • start:

beginApplyChangesForTables:withBlock:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginApplyChangesForTables:(nonnull NSArray_DataTable *)dataTables withBlock:(nullable void^)block

Parameters:

  • dataTables:
  • block:

beginExecuteCommand:withParameters:start:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginExecuteCommand:(nonnull NSString *)commandName withParameters:(nonnull NSDictionary *)params start:(BOOL)start

Parameters:

  • commandName:
  • params:
  • start:

beginExecuteCommand:withParameters:withBlock:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginExecuteCommand:(nonnull NSString *)commandName withParameters:(nonnull NSDictionary *)params withBlock:(nonnull void(^)(int, NSDictionary * __nonnull))block

Parameters:

  • commandName:
  • params:
  • block:

beginExecuteCommandEx:withParameters:start:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginExecuteCommandEx:(nonnull NSString *)commandName withParameters:(nonnull NSDictionary *)params start:(BOOL)start

Parameters:

  • commandName:
  • params:
  • start:

beginExecuteCommandEx:withParameters:withBlock:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginExecuteCommandEx:(nonnull NSString *)commandName withParameters:(nonnull NSDictionary *)params withBlock:(nonnull void(^)(int, NSDictionary * __nonnull))block

Parameters:

  • commandName:
  • params:
  • block:

beginGetDataForSQL:    (declared in DARemoteDataAdapter)

- (DAAsyncRequest *) beginGetDataForSQL:(NSString *)sql

Parameters:

  • sql:

beginGetDataForSQL:start:    (declared in DARemoteDataAdapter)

- (DAAsyncRequest *) beginGetDataForSQL:(NSString *)sql start:(BOOL)start

Parameters:

  • sql:
  • start:

beginGetDataForTable:select:where:start:    (declared in DARemoteDataAdapter)

- (DAAsyncRequest *) beginGetDataForTable:(NSString *)tableName select:(NSArray *)fields where:(DADynamicWhereClause *)where start:(BOOL)start

Parameters:

  • tableName:
  • fields:
  • where:
  • start:

beginGetDataForTables:start:    (declared in DARemoteDataAdapter)

- (DAAsyncRequest *) beginGetDataForTables:(NSArray *)tableNames start:(BOOL)start

Parameters:

  • tableNames:
  • start:

beginGetDataForTables:withSQL:start:    (declared in DARemoteDataAdapter)

- (DAAsyncRequest *) beginGetDataForTables:(NSArray *)tableNames withSQL:(NSArray *)sqlQueries start:(BOOL)start

Parameters:

  • tableNames:
  • sqlQueries:
  • start:

beginGetDataTable:select:where:start:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginGetDataTable:(nonnull NSString *)tableName select:(nullable NSArray_String *)fieldList where:(nullable DADynamicWhereClause *)whereClause start:(BOOL)start

Parameters:

  • tableName:
  • fieldList:
  • whereClause:
  • start:

beginGetDataTable:select:where:withBlock:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginGetDataTable:(nonnull NSString *)tableName select:(nullable NSArray_String *)fieldList where:(nullable DADynamicWhereClause *)whereClause withBlock:(nonnull void(^)(DADataTable * __nonnull))block

Parameters:

  • tableName:
  • fieldList:
  • whereClause:
  • block:

beginGetDataTable:start:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginGetDataTable:(nonnull NSString *)tableName start:(BOOL)start

Parameters:

  • tableName:
  • start:

beginGetDataTable:withBlock:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginGetDataTable:(nonnull NSString *)tableName withBlock:(nonnull void(^)(DADataTable * __nonnull))block

Parameters:

  • tableName:
  • block:

beginGetDataTable:withSQL:start:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginGetDataTable:(nonnull NSString *)tableName withSQL:(nonnull NSString *)sql start:(BOOL)start

Parameters:

  • tableName:
  • sql:
  • start:

beginGetDataTable:withSQL:withBlock:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginGetDataTable:(nonnull NSString *)tableName withSQL:(nonnull NSString *)sql withBlock:(nonnull void(^)(DADataTable * __nonnull))block

Parameters:

  • tableName:
  • sql:
  • block:

beginGetDataTables:select:where:start:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginGetDataTables:(nonnull NSArray_String *)tableNames select:(nullable NSArray_String *)fieldLists where:(nullable NSArray_DynamicWhereClause *)whereClauses start:(BOOL)start

Parameters:

  • tableNames:
  • fieldLists:
  • whereClauses:
  • start:

beginGetDataTables:select:where:withBlock:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginGetDataTables:(nonnull NSArray_String *)tableNames select:(nullable NSArray_String *)fieldLists where:(nullable NSArray_DynamicWhereClause *)whereClauses withBlock:(nonnull void(^)(NSDictionary_String_DataTable * __nonnull))block

Parameters:

  • tableNames:
  • fieldLists:
  • whereClauses:
  • block:

beginGetDataTables:start:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginGetDataTables:(nonnull NSArray_String *)tableNames start:(BOOL)start

Parameters:

  • tableNames:
  • start:

beginGetDataTables:withBlock:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginGetDataTables:(nonnull NSArray_String *)tableNames withBlock:(nonnull void(^)(NSDictionary * __nonnull))block

Parameters:

  • tableNames:
  • block:

beginGetDataTables:withSQL:start:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginGetDataTables:(nonnull NSArray_String *)tableNames withSQL:(nonnull NSArray_String *)sqlQueries start:(BOOL)start

Parameters:

  • tableNames:
  • sqlQueries:
  • start:

beginGetDataTables:withSQL:withBlock:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginGetDataTables:(nonnull NSArray_String *)tableNames withSQL:(nonnull NSArray_String *)sqlQueries withBlock:(nonnull void(^)(NSDictionary_String_DataTable * __nonnull))block

Parameters:

  • tableNames:
  • sqlQueries:
  • block:

beginGetDataTableWithSQL:start:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginGetDataTableWithSQL:(nonnull NSString *)sql start:(BOOL)start

Parameters:

  • sql:
  • start:

beginGetDataTableWithSQL:withBlock:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginGetDataTableWithSQL:(nonnull NSString *)sql withBlock:(nonnull void(^)(DADataTable * __nonnull))block

Parameters:

  • sql:
  • block:

beginGetSchema    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginGetSchema

beginGetSchemaWithBlock:    (declared in DARemoteDataAdapter)

- (nonnull DAAsyncRequest *) beginGetSchemaWithBlock:(nonnull void(^)(DASchema * __nonnull))block

Parameters:

  • block:

checkForErrors:    (declared in DARemoteDataAdapter)

- (void) checkForErrors:(NSArray *)dDeltas

Parameters:

  • dDeltas:

executeCommand:withParameters:    (declared in DARemoteDataAdapter)

- (int) executeCommand:(nonnull NSString *)commandName withParameters:(nonnull NSDictionary *)params

Parameters:

  • commandName:
  • params:

executeCommand:withParameterValuesAndNames:    (declared in DARemoteDataAdapter)

- (int) executeCommand:(nonnull NSString *)commandName withParameterValuesAndNames:(nullable id)value , ... NS_REQUIRES_NIL_TERMINATION

Parameters:

  • commandName:
  • value:

executeCommandEx:withParameters:outputParameters:    (declared in DARemoteDataAdapter)

- (int) executeCommandEx:(nonnull NSString *)commandName withParameters:(nonnull NSDictionary *)params outputParameters:(NSDictionary * __nonnull * __nonnull)outParams

Parameters:

  • commandName:
  • params:
  • outParams:

getDataForSQL:    (declared in DARemoteDataAdapter)

- (NSData *) getDataForSQL:(NSString *)sql

Parameters:

  • sql:

getDataForTable:    (declared in DARemoteDataAdapter)

- (NSData *) getDataForTable:(NSString *)tableName

Parameters:

  • tableName:

getDataForTable:select:where:    (declared in DARemoteDataAdapter)

- (NSData *) getDataForTable:(NSString *)tableName select:(NSArray *)fields where:(DADynamicWhereClause *)where

Parameters:

  • tableName:
  • fields:
  • where:

getDataForTables:    (declared in DARemoteDataAdapter)

- (NSData *) getDataForTables:(NSArray *)tableNames

Parameters:

  • tableNames:

getDataForTables:withSQL:    (declared in DARemoteDataAdapter)

- (NSData *) getDataForTables:(NSArray *)tableNames withSQL:(NSArray *)sqlQueries

Parameters:

  • tableNames:
  • sqlQueries:

getDataTable:    (declared in DARemoteDataAdapter)

- (nonnull DADataTable *) getDataTable:(nonnull NSString *)tableName

Parameters:

  • tableName:

getDataTable:select:where:    (declared in DARemoteDataAdapter)

- (nonnull DADataTable *) getDataTable:(nonnull NSString *)tableName select:(nullable NSArray_String *)fieldList where:(nullable DADynamicWhereClause *)whereClause

Parameters:

  • tableName:
  • fieldList:
  • whereClause:

getDataTable:withSQL:    (declared in DARemoteDataAdapter)

- (nonnull DADataTable *) getDataTable:(nonnull NSString *)tableName withSQL:(nonnull NSString *)sql

Parameters:

  • tableName:
  • sql:

getDataTables:    (declared in DARemoteDataAdapter)

- (nonnull NSDictionary_String_DataTable *) getDataTables:(nonnull NSArray_String *)tableNames

Parameters:

  • tableNames:

getDataTables:select:where:    (declared in DARemoteDataAdapter)

- (nonnull NSDictionary_String_DataTable *) getDataTables:(nonnull NSArray_String *)tableNames select:(nullable NSArray_String *)fieldLists where:(nullable NSArray_DynamicWhereClause *)whereClauses

Parameters:

  • tableNames:
  • fieldLists:
  • whereClauses:

getDataTables:withSQL:    (declared in DARemoteDataAdapter)

- (nonnull NSDictionary_String_DataTable *) getDataTables:(nonnull NSArray_String *)tableNames withSQL:(nonnull NSArray_String *)sqlQueries

Parameters:

  • tableNames:
  • sqlQueries:

getDataTableWithSQL:    (declared in DARemoteDataAdapter)

- (nonnull DADataTable *) getDataTableWithSQL:(nonnull NSString *)sql

Parameters:

  • sql:

getSchema    (declared in DARemoteDataAdapter)

- (nonnull DASchema *) getSchema

init    (declared in DARemoteDataAdapter)

- (nonnull instancetype) init

initWithDataService:    (declared in DARemoteDataAdapter)

- (nonnull instancetype) initWithDataService:(nonnull RORemoteService *)dataService

Parameters:

  • dataService:

initWithDataService:loginService:    (declared in DARemoteDataAdapter)

- (nonnull instancetype) initWithDataService:(nonnull RORemoteService *)dataService loginService:(nonnull RORemoteService *)loginService

Parameters:

  • dataService:
  • loginService:

initWithSuperHTTPChannelAndTargetUrl:  deprecated

- (InstanceType) initWithSuperHTTPChannelAndTargetUrl:(NSString *)aUrl

Parameters:

  • aUrl:

initWithSuperHTTPChannelAndTargetURL:  deprecated

- (InstanceType) initWithSuperHTTPChannelAndTargetURL:(NSURL *)aURL

Parameters:

  • aURL:

initWithTargetUrl:  deprecated    (declared in DARemoteDataAdapter)

- (nonnull instancetype) initWithTargetUrl:(nonnull NSString *)url

Parameters:

  • url:

initWithTargetURL:    (declared in DARemoteDataAdapter)

- (nonnull instancetype) initWithTargetURL:(nonnull NSURL *)url

Parameters:

  • url:

initWithTargetURL:dataServiceName:    (declared in DARemoteDataAdapter)

- (nonnull instancetype) initWithTargetURL:(nonnull NSURL *)url dataServiceName:(nonnull NSString *)dataServiceName

Parameters:

  • url:
  • dataServiceName:

initWithTargetURL:dataServiceName:loginServiceName:    (declared in DARemoteDataAdapter)

- (nonnull instancetype) initWithTargetURL:(nonnull NSURL *)url dataServiceName:(nonnull NSString *)dataServiceName loginServiceName:(nonnull NSString *)loginServiceName

Parameters:

  • url:
  • dataServiceName:
  • loginServiceName:

login    (declared in DARemoteDataAdapter)

Method that performs login to secured server. For login it uses or loginString value or username and password properties.

- (BOOL) login

loginWithString:    (declared in DARemoteDataAdapter)

- (BOOL) loginWithString:(nonnull NSString *)aConnectionString

Parameters:

  • aConnectionString:

loginWithUsername:password:    (declared in DARemoteDataAdapter)

- (BOOL) loginWithUsername:(nonnull NSString *)userName password:(nonnull NSString *)password

Parameters:

  • userName:
  • password:

loginWithUsername:password:connectionName:    (declared in DARemoteDataAdapter)

- (BOOL) loginWithUsername:(nonnull NSString *)userName password:(nonnull NSString *)password connectionName:(nonnull NSString *)connectionName

Parameters:

  • userName:
  • password:
  • connectionName:

logout    (declared in DARemoteDataAdapter)

This method performs the log out.

- (void) logout

mergeDelta:forTable:    (declared in DARemoteDataAdapter)

- (void) mergeDelta:(DADelta *)aDelta forTable:(DADataTable *)aTable

Parameters:

  • aDelta:
  • aTable: