@@ -43,29 +43,29 @@ public interface fflib_ISObjectUnitOfWork
4343 void registerNew (List <SObject > records );
4444 /**
4545 * Register a newly created SObject instance to be inserted when commitWork is called,
46- * you may also provide a reference to the parent record instance (should also be registered as new separatly )
46+ * you may also provide a reference to the parent record instance (should also be registered as new separately )
4747 *
4848 * @param record A newly created SObject instance to be inserted during commitWork
4949 * @param relatedToParentField A SObjectField reference to the child field that associates the child record with its parent
50- * @param relatedToParentRecord A SObject instance of the parent record (should also be registered as new separatly )
50+ * @param relatedToParentRecord A SObject instance of the parent record (should also be registered as new separately )
5151 **/
52- void registerNew (SObject record , Schema.sObjectField relatedToParentField , SObject relatedToParentRecord );
52+ void registerNew (SObject record , Schema.SObjectField relatedToParentField , SObject relatedToParentRecord );
5353 /**
5454 * Register a relationship between two records that have yet to be inserted to the database. This information will be
5555 * used during the commitWork phase to make the references only when related records have been inserted to the database.
5656 *
5757 * @param record An existing or newly created record
58- * @param relatedToField A SObjectField referene to the lookup field that relates the two records together
59- * @param relatedTo A SOBject instance (yet to be commited to the database)
58+ * @param relatedToField A SObjectField reference to the lookup field that relates the two records together
59+ * @param relatedTo A SObject instance (yet to be committed to the database)
6060 */
61- void registerRelationship (SObject record , Schema.sObjectField relatedToField , SObject relatedTo );
61+ void registerRelationship (SObject record , Schema.SObjectField relatedToField , SObject relatedTo );
6262 /**
6363 * Registers a relationship between a record and a Messaging.Email where the record has yet to be inserted
6464 * to the database. This information will be
6565 * used during the commitWork phase to make the references only when related records have been inserted to the database.
6666 *
6767 * @param a single email message instance
68- * @param relatedTo A SOBject instance (yet to be commited to the database)
68+ * @param relatedTo A SObject instance (yet to be committed to the database)
6969 */
7070 void registerRelationship (Messaging.SingleEmailMessage email , SObject relatedTo );
7171 /**
@@ -75,13 +75,13 @@ public interface fflib_ISObjectUnitOfWork
7575 * @param record An existing or newly created record
7676 * @param relatedToField A SObjectField reference to the lookup field that relates the two records together
7777 * @param externalIdField A SObjectField reference to a field on the target SObject that is marked as isExternalId
78- * @param externalId A Object representing the targetted value of the externalIdField in said lookup
78+ * @param externalId A Object representing the targeted value of the externalIdField in said lookup
7979 *
8080 * Usage Example: uow.registerRelationship(recordSObject, record_sobject__c.relationship_field__c, lookup_sobject__c.external_id__c, 'abc123');
8181 *
8282 * Wraps putSObject, creating a new instance of the lookup sobject using the external id field and value.
8383 */
84- void registerRelationship (SObject record , Schema.sObjectField relatedToField , Schema.sObjectField externalIdField , Object externalId );
84+ void registerRelationship (SObject record , Schema.SObjectField relatedToField , Schema.SObjectField externalIdField , Object externalId );
8585 /**
8686 * Register an existing record to be updated during the commitWork method
8787 *
@@ -99,7 +99,7 @@ public interface fflib_ISObjectUnitOfWork
9999 **/
100100 void registerDirty (List <SObject > records , List <SObjectField > dirtyFields );
101101 /**
102- * Register specific fields on record to be updated when work is commited
102+ * Register specific fields on record to be updated when work is committed
103103 *
104104 * If the record has previously been registered as dirty, the dirty fields on the record in this call will overwrite
105105 * the values of the previously registered dirty record
@@ -110,13 +110,13 @@ public interface fflib_ISObjectUnitOfWork
110110 void registerDirty (SObject record , List <SObjectField > dirtyFields );
111111 /**
112112 * Register an existing record to be updated when commitWork is called,
113- * you may also provide a reference to the parent record instance (should also be registered as new separatly )
113+ * you may also provide a reference to the parent record instance (should also be registered as new separately )
114114 *
115115 * @param record A newly created SObject instance to be inserted during commitWork
116116 * @param relatedToParentField A SObjectField reference to the child field that associates the child record with its parent
117- * @param relatedToParentRecord A SObject instance of the parent record (should also be registered as new separatly )
117+ * @param relatedToParentRecord A SObject instance of the parent record (should also be registered as new separately )
118118 **/
119- void registerDirty (SObject record , Schema.sObjectField relatedToParentField , SObject relatedToParentRecord );
119+ void registerDirty (SObject record , Schema.SObjectField relatedToParentField , SObject relatedToParentRecord );
120120 /**
121121 * Register a list of existing records to be updated during the commitWork method
122122 *
@@ -168,7 +168,7 @@ public interface fflib_ISObjectUnitOfWork
168168 /**
169169 * Register a list of existing records to be deleted and removed from the recycle bin during the commitWork method
170170 *
171- * @param records A list of existing records
171+ * @param record A list of existing records
172172 **/
173173 void registerPermanentlyDeleted (SObject record );
174174 /**
0 commit comments