Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add setDatabaseResult(EmptyRecycleBinResult) and setDatabaseResult(List<EmptyRecycleBinResult>) #806

Merged
merged 16 commits into from
Dec 19, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 52 additions & 12 deletions docs/apex/Logger-Engine/LogEntryEventBuilder.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,15 +140,15 @@ LogEntryEventBuilder

The same instance of `LogEntryEventBuilder`, useful for chaining methods

#### `setDatabaseResult(Database.LeadConvertResult leadConvertResult)` → `LogEntryEventBuilder`
Copy link
Contributor Author

@TrangOul TrangOul Nov 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Swapped with DeleteResult to maintain alphabetical order.
Similar changes in other classes.

#### `setDatabaseResult(Database.DeleteResult deleteResult)` → `LogEntryEventBuilder`

Sets the log entry event&apos;s database operation result fields

##### Parameters

| Param | Description |
| ------------------- | --------------------------------------------------- |
| `leadConvertResult` | The instance of `Database.LeadConvertResult` to log |
| Param | Description |
| -------------- | ---------------------------------------------- |
| `deleteResult` | The instance of `Database.DeleteResult` to log |

##### Return

Expand All @@ -160,15 +160,15 @@ LogEntryEventBuilder

The same instance of `LogEntryEventBuilder`, useful for chaining methods

#### `setDatabaseResult(List<Database.LeadConvertResult> leadConvertResults)` → `LogEntryEventBuilder`
#### `setDatabaseResult(Database.EmptyRecycleBinResult emptyRecycleBinResult)` → `LogEntryEventBuilder`

Sets the log entry event&apos;s database operation result fields

##### Parameters

| Param | Description |
| -------------------- | ------------------------------------------------ |
| `leadConvertResults` | The list of `Database.LeadConvertResult`s to log |
| Param | Description |
|-------------------------|---------------------------------------------------------|
| `emptyRecycleBinResult` | The instance of `Database.EmptyRecycleBinResult` to log |

##### Return

Expand All @@ -180,15 +180,15 @@ LogEntryEventBuilder

The same instance of `LogEntryEventBuilder`, useful for chaining methods

#### `setDatabaseResult(Database.DeleteResult deleteResult)` → `LogEntryEventBuilder`
#### `setDatabaseResult(Database.LeadConvertResult leadConvertResult)` → `LogEntryEventBuilder`

Sets the log entry event&apos;s database operation result fields

##### Parameters

| Param | Description |
| -------------- | ---------------------------------------------- |
| `deleteResult` | The instance of `Database.DeleteResult` to log |
| Param | Description |
| ------------------- | --------------------------------------------------- |
| `leadConvertResult` | The instance of `Database.LeadConvertResult` to log |

##### Return

Expand Down Expand Up @@ -300,6 +300,46 @@ LogEntryEventBuilder

The same instance of `LogEntryEventBuilder`, useful for chaining methods

#### `setDatabaseResult(List<Database.EmptyRecycleBinResult> emptyRecycleBinResults)` → `LogEntryEventBuilder`

Sets the log entry event&apos;s database operation result fields

##### Parameters

| Param | Description |
|--------------------------|------------------------------------------------------|
| `emptyRecycleBinResults` | The list of `Database.EmptyRecycleBinResult`s to log |

##### Return

**Type**

LogEntryEventBuilder

**Description**

The same instance of `LogEntryEventBuilder`, useful for chaining methods

#### `setDatabaseResult(List<Database.LeadConvertResult> leadConvertResults)` → `LogEntryEventBuilder`

Sets the log entry event&apos;s database operation result fields

##### Parameters

| Param | Description |
| -------------------- | ------------------------------------------------ |
| `leadConvertResults` | The list of `Database.LeadConvertResult`s to log |

##### Return

**Type**

LogEntryEventBuilder

**Description**

The same instance of `LogEntryEventBuilder`, useful for chaining methods

#### `setDatabaseResult(List<Database.MergeResult> mergeResults)` → `LogEntryEventBuilder`

Sets the log entry event&apos;s database operation result fields
Expand Down
Loading