public class RTMachineVerification_DBAgent
extends java.lang.Object
| Constructor and Description |
|---|
RTMachineVerification_DBAgent(java.lang.String strConnectionString,
java.lang.String strDriverName) |
| Modifier and Type | Method and Description |
|---|---|
IDataSet |
checkRTMachineVerificationStatus(ISingleCollection<ITag> objITagCollection,
java.lang.String strSOPInstanceUID)
Checks the RT Machine Verification SOP Instance Status according to the attributes provided in Dataset.
|
void |
close()
Close data base connection.
|
static RTMachineVerification_DBAgent |
createInstance(java.lang.String strConnectionString,
java.lang.String strDriverName)
Creates instance of RTMachineVerification_DBAgent.
|
boolean |
createRTMachineVerificationInstance(IDataSet objIDataSet,
java.lang.String strSOPInstanceUID)
Creates SOP Instance for provided SOPInstanceUID and Dataset.
|
boolean |
createRTPlan(IDataSet objIDataSet,
java.lang.String strSOPInstanceUID)
Creates SOP Instance for provided SOPInstanceUID and Dataset.
|
boolean |
deleteSOPInstance(java.lang.String strSOPInstance)
This function deletes the SOP Instance Provided.
|
boolean |
find(IDataSet objIDataSet,
ISingleCollection<IDataSet> objRstDataCollection)
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.
|
IDataSet |
retrieveRTMachineVerificationInstanceInfo(ISingleCollection<ITag> objITagCollection,
java.lang.String strSOPInstanceUID)
Retrieves information for a RT Machine Verification SOP Instance according to the attributes provided in Dataset.
|
boolean |
updateSOPInstance(IDataSet objIDataSet,
java.lang.String strSOPInstanceUID)
Updates a SOP Instance
|
public RTMachineVerification_DBAgent(java.lang.String strConnectionString,
java.lang.String strDriverName)
throws java.sql.SQLException,
java.lang.ClassNotFoundException,
java.lang.InstantiationException,
java.lang.IllegalAccessException
java.sql.SQLExceptionjava.lang.ClassNotFoundExceptionjava.lang.InstantiationExceptionjava.lang.IllegalAccessExceptionpublic static RTMachineVerification_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.ClassNotFoundException - if ClassNotFoundException occursjava.lang.InstantiationException - if InstantiationException occursjava.lang.IllegalAccessException - if IllegalAccessException occurspublic boolean createRTMachineVerificationInstance(IDataSet objIDataSet, java.lang.String strSOPInstanceUID) throws java.sql.SQLException
objIDataSet - instance of DatasetstrSOPInstanceUID - value of SOPInstanceUIDjava.sql.SQLException - if SQL operation failspublic IDataSet retrieveRTMachineVerificationInstanceInfo(ISingleCollection<ITag> objITagCollection, java.lang.String strSOPInstanceUID) throws java.sql.SQLException
objIDataSet - instance of DatasetstrSOPInstanceUID - value of SOPInstanceUIDjava.sql.SQLException - if SQL operation failspublic boolean isSOPInstanceExist(java.lang.String strSOPInstance)
throws java.sql.SQLException
strSOPInstance - value of SOP Instance UIDjava.sql.SQLException - if sql operation failspublic boolean createRTPlan(IDataSet objIDataSet, java.lang.String strSOPInstanceUID) throws java.sql.SQLException
objIDataSet - instance of DatasetstrSOPInstanceUID - value of SOPInstanceUIDjava.sql.SQLException - if SQL operation failspublic boolean updateSOPInstance(IDataSet objIDataSet, java.lang.String strSOPInstanceUID) throws java.sql.SQLException
objIDataSet - instance of DatasetstrSOPInstanceUID - value of SOPInstanceUIDjava.sql.SQLException - if SQL operation failspublic boolean find(IDataSet objIDataSet, ISingleCollection<IDataSet> objRstDataCollection) throws java.sql.SQLException
objIDataSet - The data set containing identifiers.objRstDataCollection - the matched data set collectionjava.sql.SQLException - if there is database access error or other errors.public IDataSet checkRTMachineVerificationStatus(ISingleCollection<ITag> objITagCollection, java.lang.String strSOPInstanceUID) throws java.sql.SQLException
objIDataSet - instance of DatasetstrSOPInstanceUID - value of SOPInstanceUIDjava.sql.SQLException - if SQL operation failspublic boolean deleteSOPInstance(java.lang.String strSOPInstance)
throws java.sql.SQLException
enumSOPClassUIDs - EnumValue of SOP Classs UID.strSOPInstance - String value of SOP Instance that is to be deleted.java.sql.SQLException - Signals if the SQL Operation fails.public void close()
throws java.sql.SQLException
java.sql.SQLException