Class BatchIntegrationScheduledTaskAddin
- Namespace
- Dynamicweb.DataIntegration
- Assembly
- Dynamicweb.DataIntegration.dll
public abstract class BatchIntegrationScheduledTaskAddin : BaseScheduledTaskAddIn, IERPIntegration
- Inheritance
-
BatchIntegrationScheduledTaskAddin
- Implements
- Inherited Members
Properties
LogRequestAndResponse
[AddInParameter("Log all requests and responses")]
[AddInParameterEditor(typeof(YesNoParameterEditor), "")]
public bool LogRequestAndResponse { get; set; }
Property Value
Logger
protected ILogger Logger { get; set; }
Property Value
NotificationEmail
[AddInParameter("Notification recipient e-mail")]
[AddInParameterEditor(typeof(TextParameterEditor), "inputClass=NewUIinput;")]
public string NotificationEmail { get; set; }
Property Value
NotificationEmailFailureOnly
[AddInParameter("On failure only")]
[AddInParameterEditor(typeof(YesNoParameterEditor), "")]
public bool NotificationEmailFailureOnly { get; set; }
Property Value
NotificationEmailSenderEmail
[AddInParameter("Notification sender e-mail")]
[AddInParameterEditor(typeof(TextParameterEditor), "inputClass=NewUIinput;")]
public string NotificationEmailSenderEmail { get; set; }
Property Value
NotificationEmailSenderName
[AddInParameter("Notification e-mail sender name")]
[AddInParameterEditor(typeof(TextParameterEditor), "inputClass=NewUIinput;")]
public string NotificationEmailSenderName { get; set; }
Property Value
NotificationEmailSubject
[AddInParameter("Notification e-mail subject")]
[AddInParameterEditor(typeof(TextParameterEditor), "inputClass=NewUIinput;")]
public string NotificationEmailSubject { get; set; }
Property Value
NotificationTemplate
[AddInParameter("Notification e-mail template")]
[AddInParameterEditor(typeof(TemplateParameterEditor), "folder=Templates/DataIntegration/Notifications;FullPath=true;inputClass=NewUIinput;")]
public string NotificationTemplate { get; set; }
Property Value
Methods
AddFileContentToLog(List<string>)
protected void AddFileContentToLog(List<string> logFilesList)
Parameters
AddFileContentToLog(string)
protected void AddFileContentToLog(string fileFullPath)
Parameters
fileFullPath
string
CheckAccessToDataIntegrationModule()
protected void CheckAccessToDataIntegrationModule()
ExpandValue(string)
protected string ExpandValue(string expression)
Parameters
expression
string
Returns
GetActivitiesList()
Gets the list of activities activities from the relevant folder
public static List<string> GetActivitiesList()
Returns
SendMail(string)
Send mail according to configuration
public void SendMail(string message)
Parameters
message
stringerror/success message
SendMail(string, MessageType)
Send mail according to configuration
public void SendMail(string message, MessageType msgtype)
Parameters
message
stringerror/success message
msgtype
MessageTypemessage type
SendMail(string, MessageType, Dictionary<string, string>)
Send mail according to configuration
public void SendMail(string message, MessageType messageType, Dictionary<string, string> tagValues)
Parameters
message
stringerror/success message
messageType
MessageTypemessage type
tagValues
Dictionary<string, string>Dictionary with tag name as a key and its value
SetupLogging()
protected void SetupLogging()
ValidateLicense(string)
public static void ValidateLicense(string responseText)
Parameters
responseText
string
WriteTaskResultToLog(bool)
protected void WriteTaskResultToLog(bool result)
Parameters
result
bool