public class PrintDataSourceImpl extends java.lang.Object implements IDataSource
| Constructor and Description |
|---|
PrintDataSourceImpl()
This is default Constructor for PrintDataSourceImpl.
|
PrintDataSourceImpl(java.lang.String strConnectionString,
java.lang.String strDriverName)
Instantiates a new data source impl.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPrinterHandler(IPrinterHadler objIPrinterHander)
This method adds PrintHandler in DataSourImpl.
|
short |
find(DicomMessage objDicomMessage,
ISingleCollection<IDataSet> arg1)
Unimplemented method
|
short |
find(IQueryModel arg0,
IQueryModel arg1)
Unimplemented method
|
short |
retrieve(DicomMessage objDicomMessage,
ISingleCollection<IDataSet> objRstDatasetList)
Depending SOP Instance UID finds related DataSets and creates Stored Print IOD and HardCopy Grayscale Image or
HardCopyColor Image IOD.
|
short |
retrieve(IQueryModel objQueryModel,
IQueryModel objRstQueryModel)
Depending on the keys in the DCMQuery model it finds the matching DataSets and returns status.
|
void |
setAgreedAssociation(AgreedAssociation objAgreedAssocaition)
This function sets the Agreed Association on Print Data Source Impl.
|
void |
setPrinterConfigurationInfo(PrinterConfiguration objPrinterConfiguration)
This function sets the Printer Configuration instance on Print Data Source Impl.
|
public PrintDataSourceImpl()
public PrintDataSourceImpl(java.lang.String strConnectionString,
java.lang.String strDriverName)
throws java.sql.SQLException,
java.lang.IllegalAccessException,
java.lang.InstantiationException,
java.lang.ClassNotFoundException
strConnectionString - the str connection stringstrDriverName - the str driver namejava.sql.SQLException - the SQL exceptionjava.lang.IllegalAccessException - the illegal access exceptionjava.lang.InstantiationException - the instantiation exceptionjava.lang.ClassNotFoundException - the class not found exceptionpublic short find(DicomMessage objDicomMessage, ISingleCollection<IDataSet> arg1)
find in interface IDataSourceobjDicomMessage - instance of DicomMessagearg1 - collection of Resultant DataSetpublic short find(IQueryModel arg0, IQueryModel arg1)
find in interface IDataSourcearg0 - the object query modelarg1 - the resultant query model containing the matched attributes.public short retrieve(DicomMessage objDicomMessage, ISingleCollection<IDataSet> objRstDatasetList)
retrieve in interface IDataSourceobjIDataSet - The data set containg identifiers.objRstDataSetCollection - the obj rst data set collectionpublic void addPrinterHandler(IPrinterHadler objIPrinterHander)
objIPrinterHander - public void setAgreedAssociation(AgreedAssociation objAgreedAssocaition)
objAgreedAssocaition - instance of Agreed Association.public void setPrinterConfigurationInfo(PrinterConfiguration objPrinterConfiguration)
objPrinterConfiguration - instance of Printer Configuration.public short retrieve(IQueryModel objQueryModel, IQueryModel objRstQueryModel)
IDataSourceretrieve in interface IDataSourceobjQueryModel - the object of query modelobjRstQueryModel - the resultant query model containing the matched attributes.