KNYSyncOptions Class Reference
Inherits from | NSObject |
Declared in | KNYSyncOptions.h |
Instance Methods
addFilter:syncFilter:
Adds filter for scope @param scope
- (void)addFilter:(NSString *)scopeName syncFilter:(KNYSyncFilter *)knySyncFilter
Parameters
- sync
filter object
Discussion
Adds filter for scope @param scope
Exceptions
- KNYException
is Thrown, if any error occured
Declared In
KNYSyncOptions.h
clearFilter
Clears all filters
- (void)clearFilter
Discussion
Clears all filters
Exceptions
- KNYException
is Thrown, if any error occured
Declared In
KNYSyncOptions.h
setContextName:andContextValue:
Sets context variable
- (void)setContextName:(NSString *)contextName andContextValue:(NSString *)contextValue
Parameters
- context
value
Discussion
Sets context variable
Exceptions
- KNYException
is Thrown, if any error occured
Declared In
KNYSyncOptions.h
setRemoveAfterUpload:
This method enables/disables remove after upload policy for all objects in all scopes. By default it is disabled. @param value
- (void)setRemoveAfterUpload:(BOOL)value
Discussion
This method enables/disables remove after upload policy for all objects in all scopes. By default it is disabled. @param value
Exceptions
- KNYException
is Thrown, if any error occured
Declared In
KNYSyncOptions.h
setRemoveAfterUploadForObject:::
This method enables/diables remove after upload policy for given object in given scope. By default it is disabled. @param objecName @param value
- (void)setRemoveAfterUploadForObject:(NSString *)objectName :
Discussion
This method enables/diables remove after upload policy for given object in given scope. By default it is disabled. @param objecName @param value
Exceptions
- KNYException
is Thrown, if any error occured
Declared In
KNYSyncOptions.h
setRemoveAfterUploadForScope:::
This method enables/disables remove after upload policy for all objects in given scope. By default it is disabled. @param scopeName @param value
- (void)setRemoveAfterUploadForScope:(NSString *)scopeName :
Discussion
This method enables/disables remove after upload policy for all objects in given scope. By default it is disabled. @param scopeName @param value
Exceptions
- KNYException
is Thrown, if any error occured
Declared In
KNYSyncOptions.h
setSchemaUpgradePolicy:
Sets schemaUpgrade policy, if there is any schema upgrade from server. Default value is UPLOAD_AND_UPGRADE @param schemaUpgradePolicy
- (void)setSchemaUpgradePolicy:(KNYSchemaUpgradePolicy)schemaUpgradePolicy
Discussion
Sets schemaUpgrade policy, if there is any schema upgrade from server. Default value is UPLOAD_AND_UPGRADE @param schemaUpgradePolicy
Exceptions
- KNYException
is Thrown, if any error occured
Declared In
KNYSyncOptions.h
setScopeName:andUploadErrorPolicy:
Sets upload error policy for scope. By default it is CONTINUE_ON_ERROR. @param scope @param uploadErrorPolicy
- (void)setScopeName:(NSString *)scopeName andUploadErrorPolicy:(KNYUploadErrorPolicy)uploadErrorPolicy
Discussion
Sets upload error policy for scope. By default it is CONTINUE_ON_ERROR. @param scope @param uploadErrorPolicy
Exceptions
- KNYException
is Thrown, if any error occured
Declared In
KNYSyncOptions.h
setScopeName:download:
Sets whether to download scope or not. By default it is yes. @param scope @param download
- (void)setScopeName:(NSString *)scopeName download:(BOOL)download
Discussion
Sets whether to download scope or not. By default it is yes. @param scope @param download
Exceptions
- KNYException
is Thrown, if any error occured
Declared In
KNYSyncOptions.h
setScopeName:upload:
Sets whether to upload scope or not. By default it is yes. @param scope @param upload
- (void)setScopeName:(NSString *)scopeName upload:(BOOL)upload
Discussion
Sets whether to upload scope or not. By default it is yes. @param scope @param upload
Exceptions
- KNYException
is Thrown, if any error occured
Declared In
KNYSyncOptions.h