public class StorageCommitmentSourceImplDB extends java.lang.Object implements IDataSource
| Constructor and Description |
|---|
StorageCommitmentSourceImplDB(java.lang.String strConnectionString,
java.lang.String strDriverName)
Instantiates a new Storage Commitment Source Implementation.
|
| Modifier and Type | Method and Description |
|---|---|
short |
find(DicomMessage objDicomMessage,
ISingleCollection<IDataSet> objRstDataCollection)
This function finds DataSet arrives in Storage Commitment Request,
Searches for the SOP Class UID and SOP Instance UID for which Storage Commitment Needs to be provided.
|
short |
find(IQueryModel objQueryModel,
IQueryModel objRstQueryModel)
Depending on the keys in the DCMQuery model it finds the matching DataSets and returns status.
|
short |
retrieve(DicomMessage objDicomMessage,
ISingleCollection<IDataSet> objRstDataCollection)
This function finds SOP Class UID and SOP Instance UID DataSets arrives in Storage Commitment Request,
Searches for the SOP Class UID and SOP Instance UID for which Storage Commitment Needs to be provided.
|
short |
retrieve(IQueryModel arg0,
IQueryModel arg1)
Depending on the keys in the DCMQuery model it finds the matching DataSets and returns status.
|
public StorageCommitmentSourceImplDB(java.lang.String strConnectionString,
java.lang.String strDriverName)
throws java.sql.SQLException,
java.lang.IllegalAccessException,
java.lang.InstantiationException,
java.lang.ClassNotFoundException
strConnectionString - connection string.strDriverName - driver name.java.sql.SQLException - Signals if SQL exception occurs.java.lang.IllegalAccessException - Signals if illegal access exception occurs.java.lang.InstantiationException - Signals if instantiation exception occurs.java.lang.ClassNotFoundException - the class not found exception occurs.public short find(DicomMessage objDicomMessage, ISingleCollection<IDataSet> objRstDataCollection)
find in interface IDataSourceobjDicomMessage - object of Dicom Message.objRstDataCollection - the matched data set collectionSourceException - Signals if search operation fails.public short find(IQueryModel objQueryModel, IQueryModel objRstQueryModel)
IDataSourcefind in interface IDataSourceobjQueryModel - the object query modelobjRstQueryModel - 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> objRstDataCollection)
retrieve in interface IDataSourceSourceException - Signals if search operation fails.public short retrieve(IQueryModel arg0, IQueryModel arg1)
IDataSourceretrieve in interface IDataSourcearg0 - the object of query modelarg1 - the resultant query model containing the matched attributes.