public class ImplantTemplate_DBAgent
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static ImplantTemplate_DBAgent |
createInstance(java.lang.String strConnectionString,
java.lang.String strDriverName)
Creates instance of ImplantTemplate_DBAgent.
|
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.
|
short |
retrieveImplantTemplate(IDataSet dataSet,
ISingleCollection<IDataSet> objRstDatasetList)
This function retrieves all DataSets related to strSOPInstanceUID.
|
boolean |
storeInstanceInfo(IDataSet objIDataSet)
Stores specified Data set to Database.
|
public static ImplantTemplate_DBAgent createInstance(java.lang.String strConnectionString, java.lang.String strDriverName) throws java.sql.SQLException, java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException
strConnectionString - Database Connection StringstrDriverName - Database driver fully qualified namejava.sql.SQLException - - thrown in case of database access error or other errors.java.lang.ClassNotFoundException - - thrown in case failure when an application tries to load in a class.java.lang.InstantiationException - - thrown in case failure when an application tries to create an instance of a class using the newInstance method in class Class, but the specified class object cannot be instantiated.java.lang.IllegalAccessException - - thrown in case failure when an application tries to reflectively create an instance (other than an array), set or get a field, or invoke a method, but the currently executing method does not have access to the definition of the specified class, field, method or constructor.public boolean storeInstanceInfo(IDataSet objIDataSet) throws java.sql.SQLException
objIDataSet - - instance of IDataSetjava.sql.SQLException - if there is database access error or other errors.public 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 short retrieveImplantTemplate(IDataSet dataSet, ISingleCollection<IDataSet> objRstDatasetList) throws java.sql.SQLException
enumSOPClassUIDs - objITagCollection - list of requested attributesstrSOPInstanceUID - String value of SOP instance UID to be retrieved.java.sql.SQLException - Signals if the SQL operation fails.IOException - Signals if IO Operation failspublic boolean isSOPInstanceExist(java.lang.String strSOPInstance)
throws java.sql.SQLException
strSOPInstance - value of SOP Instance UIDjava.sql.SQLException - if sql operation fails