public class HangingProtocolDataSinkImpl extends java.lang.Object implements IDataSink
| Constructor and Description |
|---|
HangingProtocolDataSinkImpl(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)
Populates the SOP Instance information in Database
|
public HangingProtocolDataSinkImpl(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
store in interface IDataSinkobjIQueryModel - instance of IQueryModelstrValue - null in case of HangingProtocolSinkException