DataExportHelper Methods |
The DataExportHelper type exposes the following members.
Name | Description | |
---|---|---|
CleanExportFiles |
Clean up the exported files for the given FilePath.
| |
ConvertAndTransmitFile |
Convert a given mapper's content to a Data type as specified by the DataExportService, and then write the file out to the browser
| |
ConvertFile |
Convert a given file / XML content to a file defined by the DataExportService.
| |
DoExport |
Do the export for a given DataExportService. The results are written to the browser.
| |
Equals | (Inherited from Object.) | |
Export |
Perform the export for a given mapper / DataExportService combo.
| |
ExportIsCancelled(IMapper) |
Checks whether the export has been cancelled by the user
| |
ExportIsCancelled(IAppContext, Int32) |
Checks whether the export has been cancelled by the user
| |
ExportIsCancelled(IAppContext, Int32, Int32) |
Checks whether the export has been cancelled by the user
| |
ExportUnderSmartThreshold |
Calculates the expected duration of the excel export and compares that against the threshold for offline execution.
If the estimated duration is below the system threshold, it returns false (typically meaning the export will occur online)
| |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GenFilename |
Generate the Data filename.
| |
GetDefaultExportExtension |
Get the default Export file Extension.
| |
GetDocStorage(IMapper) |
Gets the DocStorageService for the Offline Export task.
| |
GetDocStorage(IAppContext, Properties) |
Gets the DocStorageService for the Offline Export task.
| |
GetExportLife |
Determines the amount of days an export can remain in the database after performing an Offline Export
| |
GetExportMode(IAppContext, IDataExportService, Boolean) |
Inspects the feature property DataExportMode to determine the behavior for executing Data exports.
| |
GetExportMode(IMapper, IDataExportService, Boolean) |
Inspects the feature property ExcelExportMode to determine the behavior for executing excel exports.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetRelatedDocMapper(IMapper) |
Gets a reldoc mapper ready for insert. the person calling this method is reponsible to close the mapper once finished
| |
GetRelatedDocMapper(IAppContext, Properties) |
Gets a reldoc mapper ready for insert. the person calling this method is reponsible to close the mapper once finished
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
LogExportMetric(IMapper, NullableExcelExportStatus, NullableInt32, NullableInt32, NullableInt64, String, String, NullableExcelExportAttrs, NullableExcelExportOfflineReasons) |
Logs metrics for data exporting.
| |
LogExportMetric(IAppContext, Int32, ExcelExportStatus, NullableInt32, NullableInt32, NullableInt64, String, String, NullableExcelExportAttrs, NullableExcelExportOfflineReasons) |
Logs metrics for data exporting.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
NotifyRecipient |
Notifies the recipient on completion of export
| |
PerformExport |
Perform the export.
| |
SaveToDocStorage |
Saves the exported file to doc storage
| |
ToString | (Inherited from Object.) |
Name | Description | |
---|---|---|
EqualValue |
Determines if the object value is equal to another object. If the two objects are null, then this returns true.
There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways).
If the special guid handling is not performed, then the object.Equals method is used.
(Defined by EAPUtil.) |