-
-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved new class LoggerFieldMapper to be part of the configuration lay…
…er (instead of the log management layer) It's only used by the log management layer, but since it (generically) manages field mappings, it's really part of the configuration layer
- Loading branch information
Showing
6 changed files
with
29 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
layout: default | ||
--- | ||
|
||
## LoggerFieldMapper class | ||
|
||
Maps fields values from custom fields on `LogEntryEvent__e` to equivalent fields on `Log__c`, `LogEntry__c`, and `LoggerScenario__c` | ||
|
||
--- | ||
|
||
### Methods | ||
|
||
#### `mapFieldValues(SObject sourceRecord, SObject targetRecord)` → `void` | ||
|
||
Copies field values from the `sourceRecord` to the `targetRecord`, based on rules configured in `LoggerFieldMapping_t` | ||
|
||
##### Parameters | ||
|
||
| Param | Description | | ||
| -------------- | ------------------------------------------------------------------------------- | | ||
| `sourceRecord` | The source `SObject` record containing the data to copy | | ||
| `targetRecord` | The target `SObject` record that should have fields & field values appended | | ||
|
||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.