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

Book Methods

Track Methods

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:

syncDeletedBook method called if a Book is deleted.

+ (void)syncDeletedBook:(Book *)book

Parameters

book

Book that whose data is being synchronized.

Return Value

void.

Discussion

syncDeletedBook method called if a Book is deleted.

Declared In

SBSynchronization.h

syncDeletedTrack:

syncDeletedTrack method called if a Track is deleted.

+ (void)syncDeletedTrack:(Track *)track

Parameters

track

Track object that whose data is being synchronized.

Return Value

void.

Discussion

syncDeletedTrack method called if a Track is deleted.

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:

syncUpdatedBook method called if the data of a Book is updated.

+ (void)syncUpdatedBook:(Book *)book

Parameters

book

Book that whose data is being synchronized.

Return Value

void.

Discussion

syncUpdatedBook method called if the data of a Book is updated.

Declared In

SBSynchronization.h

syncUpdatedTrack:

syncUpdatedTrack method called if the data of a Track is updated.

+ (void)syncUpdatedTrack:(Track *)track

Parameters

track

Track object that whose data is being synchronized.

Return Value

void.

Discussion

syncUpdatedTrack method called if the data of a Track is updated.

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