C# Class Prizm.Main.Synch.Export.DataExporter

Inheritance: Exporter, IDisposable
Show file Open project: AleksMorozova/prizm Class Usage Examples

Public Methods

Method Description
AnyNewDataToExport ( ) : bool
Dispose ( ) : void
Export ( ) : ExportResult
Export ( Portion portion ) : ExportResult
GetAllPortions ( ) : IList
GetPortionForReexport ( System.Guid PortionId ) : Portion

Private Methods

Method Description
CreateTempDir ( ) : string
DataExporter ( IExportRepository exportRepo, IEncryptor encryptor, IHasher hasher ) : Ninject
PrepareData ( Portion portion, Project project ) : Data
UnmarkComponents ( Portion portion ) : void
UnmarkJoints ( Portion portion ) : void
UnmarkPipes ( Portion portion ) : void
WriteAttachments ( string tempDir, Data data ) : void
WriteAttachments ( string tempDir, IList attachments ) : void

Method Details

AnyNewDataToExport() public method

public AnyNewDataToExport ( ) : bool
return bool

Dispose() public method

public Dispose ( ) : void
return void

Export() public method

public Export ( ) : ExportResult
return ExportResult

Export() public method

public Export ( Portion portion ) : ExportResult
portion Portion
return ExportResult

GetAllPortions() public method

public GetAllPortions ( ) : IList
return IList

GetPortionForReexport() public method

public GetPortionForReexport ( System.Guid PortionId ) : Portion
PortionId System.Guid
return Portion