kCura.WinEDDS.Exporter
namespace kCura.WinEDDS
{
public class Exporter : IExporter, IStatus, IServiceNotification
{
public delegate void ShutdownEventEventHandler ();
public int TotalExportArtifactCount;
protected IFieldLookupService FieldLookupService;
public IExportManager ExportManager { get; set; }
public ExportStatistics Statistics { get; set; }
public bool NameTextAndNativesAfterBegBates { get; set; }
public ExportFile Settings { get; set; }
public IExportConfig ExportConfig { get; }
public ArrayList Columns { get; set; }
public ExportNativeWithFilenameFrom ExportNativesToFileNamedFrom { get; set; }
public string ErrorLogFileName { get; }
protected virtual int NumberOfRetries { get; }
protected virtual int WaitTimeBetweenRetryAttempts { get; }
public IFile FileHelper { get; set; }
public IDirectory DirectoryHelper { get; set; }
public IFileNameProvider FileNameProvider { get; set; }
public int DocumentsExported { get; set; }
public IUserNotification InteractionManager { get; set; }
public event ShutdownEventEventHandler ShutdownEvent;
public event IExporterStatusNotification.FatalErrorEventEventHandler FatalErrorEvent;
public event IExporterStatusNotification.StatusMessageEventHandler StatusMessage;
public event IExporterStatusNotification.FileTransferMultiClientModeChangeEventEventHandler FileTransferMultiClientModeChangeEvent;
public void Shutdown();
public Exporter(ExportFile exportFile, ProcessContext context, ILoadFileHeaderFormatterFactory loadFileFormatterFactory, Func<string> correlationIdFunc);
public Exporter(ExportFile exportFile, ProcessContext context, IServiceFactory serviceFactory, ILoadFileHeaderFormatterFactory loadFileFormatterFactory, IExportConfig exportConfig, Func<string> correlationIdFunc);
public Exporter(ExportFile exportFile, ProcessContext context, IServiceFactory serviceFactory, ILoadFileHeaderFormatterFactory loadFileFormatterFactory, IExportConfig exportConfig, ILog logger, CancellationToken cancellationToken, Func<string> correlationIdFunc);
public bool ExportSearch();
protected virtual List<int> GetAvfIds();
protected virtual ObjectExportInfo CreateObjectExportInfo();
protected void UpdateStatisticsSnapshot(DateTime time);
public void UpdateDocumentExportedCount(int count);
public void NotifyError(string message);
public void NotifyStatus(string message);
public void NotifyWarning(string message);
}
}