public class DataSourceImpl extends java.lang.Object implements IDataSource
| Constructor and Description |
|---|
DataSourceImpl(java.lang.String strConnectionString,
java.lang.String strDriverName)
Instantiates a new data source impl.
|
| Modifier and Type | Method and Description |
|---|---|
short |
find(DicomMessage objDicomMessage,
ISingleCollection<IDataSet> objRstDataCollection)
Depending on the keys in the IDataSet 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 objDicomMessage,
ISingleCollection<IDataSet> objRstDataSetCollection)
Depending on the keys in the IDataSet it finds the matching DataSets and returns status.
|
short |
retrieve(IQueryModel arg0,
IQueryModel arg1)
Depending on the keys in the DCMQuery model it finds the matching DataSets and returns status.
|
public DataSourceImpl(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 string.strDriverName - the string driver name.java.sql.SQLException - the SQL exception.java.lang.IllegalAccessException - the illegal access exception.java.lang.InstantiationException - the instantiation exception.java.lang.ClassNotFoundException - the class not found exception.public short find(DicomMessage objDicomMessage, ISingleCollection<IDataSet> objRstDataCollection)
find in interface IDataSourceobjIDataSet - The data set contain identifiers.objRstDataCollection - the matched data set collection.public short retrieve(DicomMessage objDicomMessage, ISingleCollection<IDataSet> objRstDataSetCollection)
retrieve in interface IDataSourceobjIDataSet - The data set containg identifiers.objRstDataSetCollection - the obj rst data set collection.public short find(IQueryModel objQueryModel, IQueryModel objRstQueryModel)
find in interface IDataSourceobjRstQueryModel - the resultant query model containing the matched attributes.objQueryModel - the obj query model.public short retrieve(IQueryModel arg0, IQueryModel arg1)
IDataSourceretrieve in interface IDataSourcearg0 - the object of query modelarg1 - the resultant query model containing the matched attributes.