public class UPSIDataSinkImpl extends java.lang.Object implements IDataSink
| Constructor and Description |
|---|
UPSIDataSinkImpl(java.lang.String strConnectionString,
java.lang.String strDriverName)
Instantiates a new data sink impl.
|
| Modifier and Type | Method and Description |
|---|---|
short |
store(DicomMessage objDicomMessage,
java.lang.String strValue)
Populates , updates and deletes the SOP Instance information in Database
|
short |
store(IQueryModel arg0,
java.lang.String arg1)
Stores,Creates or Sets the instance in DataBase if available from given Query Model.
|
short |
storeForCancle(DicomMessage objDicomMessage,
java.lang.String strValue)
Populates , updates and deletes the SOP Instance information in Database
|
public UPSIDataSinkImpl(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 strValue)
store in interface IDataSinkobjIDataSet - instance of IDataSetstrValue - SOP instance value which is to be created , updated or deleted.public short store(IQueryModel arg0, java.lang.String arg1) throws SinkException
IDataSinkstore in interface IDataSinkarg0 - Instance of Query Model to be stored or created.arg1 - 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.SinkExceptionpublic short storeForCancle(DicomMessage objDicomMessage, java.lang.String strValue)
objIDataSet - instance of IDataSetstrValue - SOP instance value which is to be created , updated or deleted.