TICDSSyncChangeSet Class Reference
| Inherits from | NSManagedObject |
| Declared in | TICDSSyncChangeSet.h |
Overview
TICDSSyncChangeSet objects are used to keep track of collections of TICDSSyncChange objects.
Tasks
Class Factory Method
-
+ syncChangeSetWithIdentifier:fromClient:creationDate:inManagedObjectContext:Create a sync change set in the given managed object context.
Helper Methods
-
+ hasSyncChangeSetWithIdentifer:alreadyBeenAppliedInManagedObjectContext:Check whether a sync change set with a given identifier has already been applied in a managed object context.
-
+ changeSetWithIdentifier:inManagedObjectContext:Return a
TICDSSyncChangeSetobject, if one exists, for a given identifier.
Class Methods
changeSetWithIdentifier:inManagedObjectContext:
Return a TICDSSyncChangeSet object, if one exists, for a given identifier.
+ (TICDSSyncChangeSet *)changeSetWithIdentifier:(NSString *)anIdentifier inManagedObjectContext:(NSManagedObjectContext *)aMocParameters
- anIdentifier
The unique identifier for the sync change.
- aMoc
The managed object context to check.
Return Value
The sync change set object, if it already exists, otherwise nil.
Declared In
TICDSSyncChangeSet.hhasSyncChangeSetWithIdentifer:alreadyBeenAppliedInManagedObjectContext:
Check whether a sync change set with a given identifier has already been applied in a managed object context.
+ (BOOL)hasSyncChangeSetWithIdentifer:(NSString *)anIdentifier alreadyBeenAppliedInManagedObjectContext:(NSManagedObjectContext *)aMocParameters
- anIdentifier
The unique identifier for the sync change.
- aMoc
The managed object context to check.
Return Value
YES if the sync change has already been applied, otherwise NO.
Declared In
TICDSSyncChangeSet.hsyncChangeSetWithIdentifier:fromClient:creationDate:inManagedObjectContext:
Create a sync change set in the given managed object context.
+ (id)syncChangeSetWithIdentifier:(NSString *)anIdentifier fromClient:(NSString *)aClientIdentifier creationDate:(NSDate *)aDate inManagedObjectContext:(NSManagedObjectContext *)aMocParameters
- anIdentifier
The unique identifier for the sync change.
- aClientIdentifier
The unique identifier of the client device that generated this set of sync changes.
- aDate
The original creation date of the sync change set.
- aMoc
The managed object context in which to create the sync change.
Return Value
A suitably-configured TICDSSyncChange object for the given change.
Declared In
TICDSSyncChangeSet.h