public class MediaCreation_SourceImpl extends java.lang.Object implements IDataSource
| Constructor and Description |
|---|
MediaCreation_SourceImpl(java.lang.String strConnectionString,
java.lang.String strDriverName)
Instantiates a new data source implementation.
|
| Modifier and Type | Method and Description |
|---|---|
short |
find(DicomMessage objDicomMessage,
ISingleCollection<IDataSet> arg1)
Depending on the keys in the IDataSet it finds the matching DataSets and returns status.
|
short |
find(IQueryModel arg0,
IQueryModel arg1)
Depending on the keys in the DCMQuery model it finds the matching DataSets and returns status.
|
IMediaHandler |
getMediaHandler()
Retrieves Media handler
|
short |
retrieve(DicomMessage objDicomMessage,
ISingleCollection<IDataSet> objRstDatasetList)
Depending upon SOP Instance UID it finds the matching DataSets and returns status.
|
short |
retrieve(IQueryModel objQueryModel,
IQueryModel objRstQueryModel)
Depending on the keys in the DCMQuery model it finds the matching DataSets and returns status.
|
void |
setMediaHandler(IMediaHandler objHandler)
Sets Media handler
|
public MediaCreation_SourceImpl(java.lang.String strConnectionString,
java.lang.String strDriverName)
throws java.sql.SQLException,
java.lang.IllegalAccessException,
java.lang.InstantiationException,
java.lang.ClassNotFoundException
strConnectionString - the string connection stringstrDriverName - the string 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)
IDataSourcefind in interface IDataSourceobjDicomMessage - instance of DicomMessagearg1 - collection of Resultant DataSetcdac.medinfo.sdk.dcm30_04.services.dimsecommons.IDataSource#find(cdac.medinfo.sdk.dcm30_04.commoninterface.IDataSet, cdac.medinfo.sdk.dcm30_04.utils.ISingleCollection)public short find(IQueryModel arg0, IQueryModel arg1)
IDataSourcefind in interface IDataSourcearg0 - the object query modelarg1 - the resultant query model containing the matched attributes.cdac.medinfo.sdk.dcm30_04.services.dimsecommons.IDataSource#find(cdac.medinfo.sdk.dcm30_04.services.dimsecommons.QueryModel, cdac.medinfo.sdk.dcm30_04.services.dimsecommons.QueryModel)public short retrieve(DicomMessage objDicomMessage, ISingleCollection<IDataSet> objRstDatasetList)
retrieve in interface IDataSourceobjIDataSet - The data set containing identifiers.objRstDataSetCollection - the object rst data set collectionpublic void setMediaHandler(IMediaHandler objHandler)
objHandler - instance of Media Handlerpublic IMediaHandler getMediaHandler()
public short retrieve(IQueryModel objQueryModel, IQueryModel objRstQueryModel)
IDataSourceretrieve in interface IDataSourceobjQueryModel - the object of query modelobjRstQueryModel - the resultant query model containing the matched attributes.