Interface LegacyDBConfigurator
- 
- All Known Implementing Classes:
- SQLConfigurator
 
 public interface LegacyDBConfiguratorClasses that implement this will be able to create a NamedQuery from their own config. Used so theConfiguratorMultiplexorcan handle a press of the "convert" button that these classes should also have.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static interfaceLegacyDBConfigurator.NamedQueryBindingWrapper
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddConvertButton(javax.swing.JButton convertButton)Adds a convert button to the configuratorLegacyDBConfigurator.NamedQueryBindingWrappercreateNamedQueries(java.lang.String selectQueryName, java.lang.String updateQueryName)Creates a SelectNamedQueryand an UpdateNamedQueryas well as aNamedQueryBindingConfigfrom the info currently on the screen and wraps all of this up in aLegacyDBConfigurator.NamedQueryBindingWrapper.DesignerContextgetContext()Needed to save the resource.booleanhasUpdateQuery()booleanhasUpdateSupport()
 
- 
- 
- 
Method Detail- 
createNamedQueriesLegacyDBConfigurator.NamedQueryBindingWrapper createNamedQueries(java.lang.String selectQueryName, java.lang.String updateQueryName) Creates a SelectNamedQueryand an UpdateNamedQueryas well as aNamedQueryBindingConfigfrom the info currently on the screen and wraps all of this up in aLegacyDBConfigurator.NamedQueryBindingWrapper. The function that calls this is responsible for saving the resources.- Parameters:
- selectQueryName- Path for the new Select NamedQuery
- updateQueryName- Path for the new Update NamedQuery
- Returns:
- LegacyDBConfigurator.NamedQueryBindingWrapperwith blank paths. Not null.
 
 - 
getContextDesignerContext getContext() Needed to save the resource. The configurators have a copy already, while the Multiplexor doesn't.
 - 
addConvertButtonvoid addConvertButton(javax.swing.JButton convertButton) Adds a convert button to the configurator- Parameters:
- convertButton- Completely configured button that will get a path and then call createNamedQuery()
 
 - 
hasUpdateQueryboolean hasUpdateQuery() - Returns:
- true if this configurator has a non-empty update query, false otherwise
 
 - 
hasUpdateSupportboolean hasUpdateSupport() - Returns:
- true if this configurator has support for push updates, false otherwise
 
 
- 
 
-