public class IFLR_DBAgent
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close data base connection.
|
static IFLR_DBAgent |
createInstance(java.lang.String strConnectionString,
java.lang.String strDriverName)
Creates instance of DBAgent.
|
boolean |
find(IQueryModel objQueryModel,
IQueryModel objRstQueryModel)
This method populates resultant CServices_QueryModel according to the given find parameter in CServices_QueryModel.
|
ISingleCollection<DicomImage> |
getDicomImageInfo()
Retrieves collection of DicomImage.
|
ISingleCollection<Patient> |
getPatientInfo()
Retrieves collection of PatientInfo.
|
ISingleCollection<Series> |
getSeriesInfo()
Retrieves collection of SeriesInfo.
|
ISingleCollection<Study> |
getStudyInfo()
Retrieves collection of StudyInfo.
|
void |
insertPatientInfo(Patient objPatient,
java.lang.String strStoragePath)
Inserts a record of Patient
|
ISingleCollection<java.lang.String> |
retrive(IQueryModel objQueryModel)
Retrieves collection of dicom files path according to the given find parameter in CServices_QueryModel.
|
public static IFLR_DBAgent createInstance(java.lang.String strConnectionString, java.lang.String strDriverName) throws java.sql.SQLException, java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException
java.sql.SQLException - Signals if SQL Exception occurs.java.lang.ClassNotFoundExceptionjava.lang.InstantiationExceptionjava.lang.IllegalAccessExceptionpublic void close()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void insertPatientInfo(Patient objPatient, java.lang.String strStoragePath) throws java.sql.SQLException
objPatient - object of Patient.strStoragePath - path where file dump is to be stored.java.sql.SQLException - Signals if SQL Exception occurs.public ISingleCollection<Patient> getPatientInfo() throws java.sql.SQLException
java.sql.SQLException - Signals if SQL Exception occurs.public ISingleCollection<Series> getSeriesInfo() throws java.sql.SQLException
java.sql.SQLException - Signals if SQL Exception occurs.public ISingleCollection<Study> getStudyInfo() throws java.sql.SQLException
java.sql.SQLException - Signals if SQL Exception occurs.public ISingleCollection<DicomImage> getDicomImageInfo() throws java.sql.SQLException
java.sql.SQLException - Signals if SQL Exception occurs.public boolean find(IQueryModel objQueryModel, IQueryModel objRstQueryModel) throws java.sql.SQLException
objQueryModel - object of CServices_QueryModel.objRstQueryModel - object of resultant CServices_QueryModeljava.sql.SQLExceptionpublic ISingleCollection<java.lang.String> retrive(IQueryModel objQueryModel) throws java.sql.SQLException
objQueryModel - object of CServices_QueryModel.java.sql.SQLException