public IProgressItem GetExportStatus() { if (!_crmSecurity.IsAdmin) { throw _crmSecurity.CreateSecurityException(); } return(_exportToCsv.GetStatus(false)); }
public IProgressItem CancelExport() { if (!CRMSecurity.IsAdmin) { throw CRMSecurity.CreateSecurityException(); } ExportToCsv.Cancel(false); return(ExportToCsv.GetStatus(false)); }
public IProgressItem CancelPartialExport() { ExportToCsv.Cancel(true); return(ExportToCsv.GetStatus(true)); }
public IProgressItem GetPartialExportStatus() { return(ExportToCsv.GetStatus(true)); }