C# Class ClearCanvas.ImageServer.Core.Edit.UpdateStudyCommand

ServerDatabaseCommand for updating a study.
Inheritance: ClearCanvas.ImageServer.Common.Command.ServerDatabaseCommand, IDisposable
Show file Open project: jasper-yeh/ClearCanvas Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
UpdateStudyCommand ( ClearCanvas.ImageServer.Model.ServerPartition partition, StudyStorageLocation studyLocation, IList imageLevelCommands, ClearCanvas.ImageServer.Model.ServerRuleApplyTimeEnum applyTime, ClearCanvas.ImageServer.Model.WorkQueue workQueue ) : System

Protected Methods

Method Description
OnExecute ( ClearCanvas.Dicom.Utilities.Command.CommandProcessor theProcessor, IUpdateContext updateContext ) : void
OnUndo ( ) : void

Private Methods

Method Description
BackupFilesystem ( ) : void
CleanupBackupFiles ( ) : void
CreateNewPatient ( PatientInfo patientInfo ) : ClearCanvas.ImageServer.Model.Patient
FindOrderForStudy ( ) : ClearCanvas.ImageServer.Model.Order
FindPatient ( PatientInfo patientInfo, IPersistenceContext context ) : ClearCanvas.ImageServer.Model.Patient
Initialize ( ) : void
IsUTF8 ( string characterSet ) : bool
LoadEntities ( ) : void
PrintUpdateCommands ( ) : void
RestoreFilesystem ( ) : void
SaveFile ( ClearCanvas.Dicom.DicomFile file ) : void
SetStudyEncoding ( ClearCanvas.ImageServer.Model.Study study ) : void
SimulateErrors ( ) : void
TransferStudy ( ClearCanvas.ImageServer.Enterprise.ServerEntityKey studyKey, PatientInfo oldPatient, ClearCanvas.ImageServer.Model.Patient newPatient ) : void
UpdateDatabase ( ) : void
UpdateDicomFile ( ClearCanvas.Dicom.DicomFile file ) : void
UpdateEntity ( ClearCanvas.ImageServer.Enterprise.ServerEntity entity ) : void
UpdateFilesystem ( ) : void
UpdatePatientDemographics ( ClearCanvas.ImageServer.Enterprise.ServerEntityKey patientEntityKey, PatientInfo patientInfo ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

OnExecute() protected method

protected OnExecute ( ClearCanvas.Dicom.Utilities.Command.CommandProcessor theProcessor, IUpdateContext updateContext ) : void
theProcessor ClearCanvas.Dicom.Utilities.Command.CommandProcessor
updateContext IUpdateContext
return void

OnUndo() protected method

protected OnUndo ( ) : void
return void

UpdateStudyCommand() public method

public UpdateStudyCommand ( ClearCanvas.ImageServer.Model.ServerPartition partition, StudyStorageLocation studyLocation, IList imageLevelCommands, ClearCanvas.ImageServer.Model.ServerRuleApplyTimeEnum applyTime, ClearCanvas.ImageServer.Model.WorkQueue workQueue ) : System
partition ClearCanvas.ImageServer.Model.ServerPartition
studyLocation StudyStorageLocation
imageLevelCommands IList
applyTime ClearCanvas.ImageServer.Model.ServerRuleApplyTimeEnum
workQueue ClearCanvas.ImageServer.Model.WorkQueue
return System