public class ColorPaletteDataSourceImpl extends java.lang.Object implements IDataSource
| Constructor and Description |
|---|
ColorPaletteDataSourceImpl(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)
This method depending on the keys in the IDataSet it finds the matching DataSets and returns status.
|
boolean |
isSOPInstanceExist(java.lang.String strSOPInstance)
Checks whether provided SOP Instance is created or not.
|
short |
retrieve(DicomMessage objDicomMessage,
ISingleCollection<IDataSet> objRstDatasetList)
Depending SOP Instance UID finds related DataSets and creates Instance .
|
short |
retrieve(IQueryModel objQueryModel,
IQueryModel objRstQueryModel)
Depending on the keys present in DataSet of DicomMEssage it retrieve the matching DataSets and returns status.
|
public ColorPaletteDataSourceImpl(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)
find 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 objDicomMessage, ISingleCollection<IDataSet> objRstDatasetList)
retrieve in interface IDataSourceobjIDataSet - The data set containing identifiers.objRstDataSetCollection - the obj rst data set collectionpublic short retrieve(IQueryModel objQueryModel, IQueryModel objRstQueryModel)
retrieve in interface IDataSourceobjQueryModel - the object of query modelobjRstQueryModel - the resultant query model containing the matched attributes.public boolean isSOPInstanceExist(java.lang.String strSOPInstance)
throws java.sql.SQLException
strSOPInstance - value of SOP Instance UIDjava.sql.SQLException - if sql operation fails