public interface LegacyDBConfigurator
ConfiguratorMultiplexor can handle a press of the "convert" button that
these classes should also have.| Modifier and Type | Interface and Description |
|---|---|
static interface |
LegacyDBConfigurator.NamedQueryBindingWrapper
|
| Modifier and Type | Method and Description |
|---|---|
void |
addConvertButton(javax.swing.JButton convertButton)
Adds a convert button to the configurator
|
LegacyDBConfigurator.NamedQueryBindingWrapper |
createNamedQueries(java.lang.String selectQueryName,
java.lang.String updateQueryName)
Creates a Select
NamedQuery and an Update NamedQuery as
well as a NamedQueryBindingConfig from the info currently on the
screen and wraps all of this up in a LegacyDBConfigurator.NamedQueryBindingWrapper. |
DesignerContext |
getContext()
Needed to save the resource.
|
boolean |
hasUpdateQuery() |
boolean |
hasUpdateSupport() |
LegacyDBConfigurator.NamedQueryBindingWrapper createNamedQueries(java.lang.String selectQueryName, java.lang.String updateQueryName)
NamedQuery and an Update NamedQuery as
well as a NamedQueryBindingConfig from the info currently on the
screen and wraps all of this up in a LegacyDBConfigurator.NamedQueryBindingWrapper.
The function that calls this is responsible for saving the resources.selectQueryName - Path for the new Select NamedQueryupdateQueryName - Path for the new Update NamedQueryLegacyDBConfigurator.NamedQueryBindingWrapper with blank paths. Not null.DesignerContext getContext()
void addConvertButton(javax.swing.JButton convertButton)
convertButton - Completely configured button that will get a path and then
call createNamedQuery()boolean hasUpdateQuery()
boolean hasUpdateSupport()