public class ImplantTemplateDataSinkImpl extends java.lang.Object implements IDataSink
| Constructor and Description |
|---|
ImplantTemplateDataSinkImpl(java.lang.String strConnectionString,
java.lang.String strDriverName)
Instantiates a new data sink implementation.
|
| Modifier and Type | Method and Description |
|---|---|
short |
store(DicomMessage objDicomMessage,
java.lang.String strStoragePath)
Populates the SOP Instance information in Database
|
short |
store(IQueryModel objQueryModel,
java.lang.String strValue)
Stores,Creates or Sets the instance in DataBase if available from given Query Model.
|
public ImplantTemplateDataSinkImpl(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 store(DicomMessage objDicomMessage, java.lang.String strStoragePath)
public short store(IQueryModel objQueryModel, java.lang.String strValue) throws SinkException
IDataSinkstore in interface IDataSinkobjQueryModel - Instance of Query Model to be stored or created.strValue - string value of Data Base storage path in store request, or Affected SOP Instance UID
in case of NCreate, or Requested SOP Instance UID in case of NSet request.SinkException