Show / Hide Table of Contents

Class BulkUpdateBatchPlugin

BulkUpdateBatchPlugin will execute a batchupdate .

Inheritance
object
BatchTaskBase
BulkUpdateBatchPlugin
Implements
IBatchTask
Inherited Members
BatchTaskBase._isEnding
BatchTaskBase._statusUpdateInterval
BatchTaskBase._batchData
BatchTaskBase._internalCompletionSource
BatchTaskBase.RunTaskAsync(BatchTaskInfo, string, BatchTaskStatusChangedAsync, CancellationToken)
BatchTaskBase.GetTaskInfoAsync(CancellationToken)
BatchTaskBase.EndTaskAsync(CancellationToken)
BatchTaskBase.ProgressCallbackAsync(int, int, CancellationToken)
BatchTaskBase.SetResult(string)
BatchTaskBase.SaveStreamToBlobAsync(Stream, string, string, string, CancellationToken)
BatchTaskBase.EnsureUdefsAsync()
BatchTaskBase.Id
BatchTaskBase.BatchTaskInfo
BatchTaskBase.Name
BatchTaskBase.Context
BatchTaskBase.Result
BatchTaskBase.State
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.BatchProcessing.Plugins
Assembly: SoBatchProcessing.dll
Syntax
[BatchTask]
public class BulkUpdateBatchPlugin : BatchTaskBase, IBatchTask
Remarks

This job is initiated from batchupdate dialog in web. It has saved the update statements in db, so this job will fetch this and execute the actual update

Constructors

BulkUpdateBatchPlugin(IBatchData, IBatchServiceConfiguration, ILogger<BulkUpdateBatchPlugin>)

BulkUpdateBatchPlugin will execute a batchupdate .

Declaration
public BulkUpdateBatchPlugin(IBatchData batchData, ConfigFile.IBatchServiceConfiguration batchServiceConfiguration, ILogger<BulkUpdateBatchPlugin> logger)
Parameters
Type Name Description
IBatchData batchData
ConfigFile.IBatchServiceConfiguration batchServiceConfiguration
ILogger<BulkUpdateBatchPlugin> logger
Remarks

This job is initiated from batchupdate dialog in web. It has saved the update statements in db, so this job will fetch this and execute the actual update

Fields

PluginName

BulkUpdateBatchPlugin will execute a batchupdate .

Declaration
public const string PluginName = "BulkUpdateBatchPlugin"
Field Value
Type Description
string
Remarks

This job is initiated from batchupdate dialog in web. It has saved the update statements in db, so this job will fetch this and execute the actual update

Methods

RunAsync(string, string, CancellationToken)

Create the report with the parameters supplied in ParameterObject.

Declaration
protected override Task<bool> RunAsync(string name, string context, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string name

Task name - unused

string context

Context name - unused

CancellationToken cancellationToken
Returns
Type Description
Task<bool>

true if the report succeeded

Overrides
BatchTaskBase.RunAsync(string, string, CancellationToken)
Remarks

This job is initiated from batchupdate dialog in web. It has saved the update statements in db, so this job will fetch this and execute the actual update

Implements

IBatchTask

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top