public class MWLDataSourceImpl extends java.lang.Object implements IDataSource
| Constructor and Description |
|---|
MWLDataSourceImpl(java.lang.String strConnectionString,
java.lang.String strDriverName)
Instantiates a new Data Source Implementation Class
|
| Modifier and Type | Method and Description |
|---|---|
short |
find(DicomMessage objDicomMessage,
ISingleCollection<IDataSet> objRstDataCollection)
Depending on the keys present in DataSet of DicomMEssage it finds the matching DataSets and returns status.
|
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 arg0,
ISingleCollection<IDataSet> arg1)
Depending on the keys in the IDataSet it finds the matching DataSets.
|
short |
retrieve(IQueryModel arg0,
IQueryModel arg1)
Method unimplemented
|
public MWLDataSourceImpl(java.lang.String strConnectionString,
java.lang.String strDriverName)
throws java.sql.SQLException,
java.lang.ClassNotFoundException,
java.lang.InstantiationException,
java.lang.IllegalAccessException
strConnectionString - the string connection stringstrDriverName - the string driver namejava.sql.SQLException - the SQL exceptionjava.lang.ClassNotFoundException - the class not found exceptionjava.lang.InstantiationException - the instantiation exceptionjava.lang.IllegalAccessException - the illegal access exceptionpublic short find(IQueryModel objQueryModel, IQueryModel objRstQueryModel)
IDataSourcefind in interface IDataSourceobjQueryModel - the object query modelobjRstQueryModel - the resultant query model containing the matched attributes.public short find(DicomMessage objDicomMessage, ISingleCollection<IDataSet> objRstDataCollection)
find in interface IDataSourceobjDicomMessage - instance of DicomMessage whose Dataset to be stored in Database.objRstDataCollection - collection of Resultant DataSetjava.sql.SQLException - - thrown in case of database access error or other errors.public short retrieve(DicomMessage arg0, ISingleCollection<IDataSet> arg1)
IDataSourceretrieve in interface IDataSourcepublic short retrieve(IQueryModel arg0, IQueryModel arg1)
retrieve in interface IDataSourcearg0 - the object of query modelarg1 - the resultant query model containing the matched attributes.