public abstract class DBDataSource extends AbstractDataSource
Constructor and Description |
---|
DBDataSource() |
DBDataSource(String name,
String description) |
Modifier and Type | Method and Description |
---|---|
protected String |
fetchSizeToString() |
void |
finish(com.eviware.soapui.model.mock.MockRunner testRunner,
com.eviware.soapui.model.mock.MockRunContext mockRunContext) |
void |
finish(com.eviware.soapui.model.testsuite.TestCaseRunner testRunner,
com.eviware.soapui.model.testsuite.TestCaseRunContext testRunContext) |
DatabaseConnectionPropertiesHolder |
getConnectionProperties() |
String |
getConnectionString() |
protected void |
getDatabaseConnection(com.eviware.soapui.model.propertyexpansion.PropertyExpansionContext context) |
String |
getDbConnectionName() |
String |
getDriver() |
protected Integer |
getFetchSize() |
String |
getPassword() |
JComponent |
getPreparedProperties() |
protected WsdlProjectPro |
getProject() |
String |
getQuery() |
int |
getResultSetCount() |
void |
internalFinish() |
protected void |
internalLoad(com.eviware.soapui.model.propertyexpansion.PropertyExpansionContext context) |
com.eviware.soapui.support.types.StringToStringMap |
internalNext(List<String> properties) |
void |
internalPrepare(com.eviware.soapui.model.propertyexpansion.PropertyExpansionContext context) |
boolean |
isExhausted() |
boolean |
isLoaded() |
boolean |
isStoredProcedure() |
void |
load(com.eviware.soapui.model.mock.MockRunner mockRunner,
com.eviware.soapui.model.mock.MockRunContext context,
List<String> properties) |
void |
load(com.eviware.soapui.model.testsuite.TestCaseRunner testRunner,
com.eviware.soapui.model.testsuite.TestCaseRunContext context,
List<String> properties) |
com.eviware.soapui.support.types.StringToStringMap |
next(com.eviware.soapui.model.mock.MockRunner mockRunner,
com.eviware.soapui.model.mock.MockRunContext context,
List<String> properties) |
com.eviware.soapui.support.types.StringToStringMap |
next(com.eviware.soapui.model.testsuite.TestCaseRunner testRunner,
com.eviware.soapui.model.testsuite.TestCaseRunContext context,
List<String> properties) |
void |
prepare(com.eviware.soapui.model.mock.MockRunner mockRunner,
com.eviware.soapui.model.mock.MockRunContext context,
List<String> properties) |
void |
prepare(com.eviware.soapui.model.testsuite.TestCaseRunner testRunner,
com.eviware.soapui.model.testsuite.TestCaseRunContext context,
List<String> properties) |
void |
release() |
void |
setConnectionProperties(DatabaseConnectionPropertiesHolder propertiesHolder) |
void |
setConnectionString(String connectionString) |
void |
setDbConnectionName(String dbConnectionName) |
void |
setDriver(String driver) |
protected void |
setFetchSize() |
protected void |
setFetchSizeQueryWizard() |
void |
setPassword(String password) |
void |
setQuery(String query) |
void |
setStoredProcedure(boolean storedProcedure) |
getConfig, getDataSourceContainer, getDescription, getPropertyExpansions, getTestCase, getType, init, load, resolve, save, saveConfig, sendAnalytics, setConfig
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addExternalDependency, getComponent
protected static final String DRIVER_FIELD
protected static final String CONNSTR_FIELD
protected static final String PASS_FIELD
public static final String QUERY_FIELD
protected static final String FETCH_SIZE_FIELD
protected static final String STOREDPROCEDURE_FIELD
protected static final String DATA_CONNECTION_FIELD
protected static final String QUERY_ELEMENT
protected static final String STOREDPROCEDURE_ELEMENT
protected static final String FETCH_SIZE_ELEMENT
protected static final String DRIVER_ELEMENT
protected static final String CONNSTR_ELEMENT
protected static final String PASS_ELEMENT
protected JPanel panel
protected String driver
protected String connectionString
protected String password
protected DatabaseConnectionPropertiesHolder connectionPropertiesHolder
protected DatabaseConnection databaseConnection
protected String dbConnectionName
protected AbstractResourceContainer<DatabaseConnection> dbConnContainer
protected String query
protected com.eviware.soapui.support.components.SimpleForm form
protected Connection connection
protected org.fife.ui.rsyntaxtextarea.RSyntaxTextArea queryArea
protected String fetchSize
protected boolean storedProcedure
protected ResultSet resultSet
protected PreparedStatement statement
protected com.eviware.soapui.support.types.StringToStringMap lastResult
protected int resultSetCount
protected DBConnectionAndQueryWizard dbConnAndQueryWizard
protected JTextField driverTextField
protected JTextField connStrTextField
protected JPasswordField passField
protected JTextField fetchSizeTextField
public static final String TYPE
public void load(com.eviware.soapui.model.testsuite.TestCaseRunner testRunner, com.eviware.soapui.model.testsuite.TestCaseRunContext context, List<String> properties) throws Exception
Exception
protected String fetchSizeToString()
protected void setFetchSizeQueryWizard()
protected void internalLoad(com.eviware.soapui.model.propertyexpansion.PropertyExpansionContext context) throws SQLException
SQLException
protected void setFetchSize() throws SQLException
SQLException
protected Integer getFetchSize()
public boolean isLoaded()
public void prepare(com.eviware.soapui.model.testsuite.TestCaseRunner testRunner, com.eviware.soapui.model.testsuite.TestCaseRunContext context, List<String> properties) throws SQLException, com.eviware.soapui.support.SoapUIException
SQLException
com.eviware.soapui.support.SoapUIException
public void internalPrepare(com.eviware.soapui.model.propertyexpansion.PropertyExpansionContext context) throws com.eviware.soapui.support.SoapUIException, SQLException
com.eviware.soapui.support.SoapUIException
SQLException
public boolean isExhausted()
public com.eviware.soapui.support.types.StringToStringMap next(com.eviware.soapui.model.testsuite.TestCaseRunner testRunner, com.eviware.soapui.model.testsuite.TestCaseRunContext context, List<String> properties) throws Exception
Exception
public com.eviware.soapui.support.types.StringToStringMap internalNext(List<String> properties) throws SQLException
SQLException
public void finish(com.eviware.soapui.model.testsuite.TestCaseRunner testRunner, com.eviware.soapui.model.testsuite.TestCaseRunContext testRunContext)
finish
in interface DataSource
finish
in class AbstractDataSource
public void internalFinish()
public int getResultSetCount()
public boolean isStoredProcedure()
public void setStoredProcedure(boolean storedProcedure)
public String getQuery()
public void setQuery(String query)
public String getPassword()
public void setPassword(String password)
public String getConnectionString()
public void setConnectionString(String connectionString)
public String getDriver()
public void setDriver(String driver)
public DatabaseConnectionPropertiesHolder getConnectionProperties()
public void setConnectionProperties(DatabaseConnectionPropertiesHolder propertiesHolder)
public String getDbConnectionName()
public void setDbConnectionName(String dbConnectionName)
protected void getDatabaseConnection(com.eviware.soapui.model.propertyexpansion.PropertyExpansionContext context) throws com.eviware.soapui.support.SoapUIException, SQLException
com.eviware.soapui.support.SoapUIException
SQLException
public void release()
release
in interface DataSource
release
in class AbstractDataSource
public JComponent getPreparedProperties()
public void prepare(com.eviware.soapui.model.mock.MockRunner mockRunner, com.eviware.soapui.model.mock.MockRunContext context, List<String> properties) throws Exception
Exception
public void load(com.eviware.soapui.model.mock.MockRunner mockRunner, com.eviware.soapui.model.mock.MockRunContext context, List<String> properties) throws Exception
Exception
public com.eviware.soapui.support.types.StringToStringMap next(com.eviware.soapui.model.mock.MockRunner mockRunner, com.eviware.soapui.model.mock.MockRunContext context, List<String> properties) throws Exception
Exception
public void finish(com.eviware.soapui.model.mock.MockRunner testRunner, com.eviware.soapui.model.mock.MockRunContext mockRunContext)
protected WsdlProjectPro getProject()
Copyright © 2019. All rights reserved.