# Deprecated API

## Contents

- Deprecated Classes
- Deprecated Methods
- Deprecated Constructors

- Deprecated Classes
  Class and Description
  com.pixelmed.network.ReceivedFilePathStrategy Provided for legacy support only; use `StoredFilePathStrategy` instead.
  com.pixelmed.dicom.StructuredReportBrowser use `StructuredReportTreeBrowser` instead

- Deprecated Methods
  Method and Description
  com.pixelmed.network.AssociationFactory.createNewAssociation(Socket, String, int) See `createNewAssociation()`
  com.pixelmed.network.AssociationFactory.createNewAssociation(Socket, String, int, int, int, int) See `createNewAssociation()`
  com.pixelmed.database.DatabaseInformationModel.deleteSelectedRecord(InformationEntity, String) use `deleteRecord(InformationEntity,String)` instead
  com.pixelmed.display.TextAnnotationPositioned.drawShadowedString(String, int, int, Graphics2D) See `DrawingUtilities.drawShadowedString()`
  com.pixelmed.database.DatabaseInformationModel.extendInsertStatementStringWithAttributeValuesForSelectedInformationEntity(StringBuffer, AttributeList, InformationEntity, String) use `extendInsertStatementStringWithAttributeValuesForSelectedInformationEntity()` instead
  com.pixelmed.database.DicomDatabaseInformationModel.extendInsertStatementStringWithAttributeValuesForSelectedInformationEntity(StringBuffer, AttributeList, InformationEntity, String) use `extendInsertStatementStringWithAttributeValuesForSelectedInformationEntity()` instead
  com.pixelmed.dicom.DateTimeAttribute.getFormattedString(Date) use `getFormattedStringDefaultTimeZone()` instead
  com.pixelmed.network.PresentationContextListFactory.haveBzip2Support() use `CapabilitiesAvailable.haveBzip2Support()` instead
  com.pixelmed.database.DatabaseInformationModel.insertObject(AttributeList, String) use `insertObject()` instead
  com.pixelmed.database.DatabaseInformationModel.localFileNameColumnName(InformationEntity) use `getLocalFileNameColumnName()` instead
  com.pixelmed.query.QueryInformationModel.performHierarchicalMove(AttributeList, String) See `performHierarchicalMoveFrom()`.
  com.pixelmed.dicom.ClinicalTrialsAttributes.removeOrNullIdentifyingAttributes(AttributeList, boolean, boolean) retained for compatibility with previous releases; does NOT keep patient characteristics (such as might be needed for PET SUV calculations); use `removeOrNullIdentifyingAttributes()` instead
  com.pixelmed.dicom.AttributeList.replaceWithDummyValueIfPresent(AttributeTag, String) See `replaceWithValueIfPresent()`
  com.pixelmed.dicom.CompositeInstanceContext.updateFromSource(AttributeList) use `updateFromSource(AttributeList,boolean)` instead
  com.pixelmed.dicom.AttributeList.write(File) has proven to be dangerous because callers have sometimes been expecting File Meta Information Transfer Syntax to be used if present, not always explicit VR little endian
  com.pixelmed.dicom.AttributeList.write(String) has proven to be dangerous because callers have sometimes been expecting File Meta Information Transfer Syntax to be used if present, not always explicit VR little endian

- Deprecated Constructors
  Constructor and Description
  com.pixelmed.dicom.CompositeInstanceContext(AttributeList) use `CompositeInstanceContext(AttributeList,boolean)` instead
  com.pixelmed.dose.DeviceParticipant(String, String, String) will create SR template missing Device Observer UID since CP 1065 added it as mandatory (000653)

  com.pixelmed.network.StorageSOPClassSCU(String, int, String, String, Set, AttributeList[], int, MultipleInstanceTransferStatusHandler, String, int, int)
  use `StorageSOPClassSCU(String hostname,int port,String calledAETitle,String callingAETitle, SetOfDicomFiles dicomFiles,int compressionLevel,MultipleInstanceTransferStatusHandler multipleInstanceTransferStatusHandler, String moveOriginatorApplicationEntityTitle,int moveOriginatorMessageID,int debugLevel)` instead