SBSynchronization Class Reference
Inherits from | NSObject |
Declared in | SBSynchronization.h SBSynchronization.m |
Overview
Sync class description. The class that manages synchronization between local database and cloud.
Tasks
Other Methods
-
+ syncUser:
Method that is used to synchronize the data of a User.
-
+ syncCollection:
Method that is used to synchronize the data of a Collection.
Book Methods
-
+ syncBook:
syncBook method.
-
+ syncUpdatedBook:
syncUpdatedBook method called if the data of a Book is updated.
-
+ syncDeletedBook:
Track Methods
-
+ syncTrack:
syncTrack method.
-
+ syncUpdatedTrack:
syncUpdatedTrack method called if the data of a Track is updated.
-
+ syncDeletedTrack:
Class Methods
syncBook:
syncBook method.
+ (void)syncBook:(Book *)book
Parameters
- book
Book that whose data is being synchronized.
Return Value
void.
Discussion
syncBook method.
Declared In
SBSynchronization.h
syncCollection:
Method that is used to synchronize the data of a Collection.
+ (void)syncCollection:(Collection *)collection
Parameters
- collection
The Collection of which the data is synchronized.
Return Value
YES, if the operation was successful, NO otherwise.
Discussion
Method that is used to synchronize the data of a Collection.
Declared In
SBSynchronization.h
syncDeletedBook:
+ (void)syncDeletedBook:(Book *)book
Parameters
- book
Book that whose data is being synchronized.
Return Value
void.
Declared In
SBSynchronization.h
syncDeletedTrack:
+ (void)syncDeletedTrack:(Track *)track
Parameters
- track
Track object that whose data is being synchronized.
Return Value
void.
Declared In
SBSynchronization.h
syncTrack:
syncTrack method.
+ (void)syncTrack:(Track *)track
Parameters
- track
Track object that whose data is being synchronized.
Return Value
void.
Discussion
syncTrack method.
Declared In
SBSynchronization.h
syncUpdatedBook:
+ (void)syncUpdatedBook:(Book *)book
Parameters
- book
Book that whose data is being synchronized.
Return Value
void.
Declared In
SBSynchronization.h
syncUpdatedTrack:
+ (void)syncUpdatedTrack:(Track *)track
Parameters
- track
Track object that whose data is being synchronized.
Return Value
void.
Declared In
SBSynchronization.h
syncUser:
Method that is used to synchronize the data of a User.
+ (BOOL)syncUser:(User *)user
Parameters
- user
The user of which the data is synchronized.
Return Value
YES, if the operation was successful, NO otherwise.
Discussion
Method that is used to synchronize the data of a User.
Declared In
SBSynchronization.h