org.pentaho.platform.dataaccess.datasource.wizard.controllers
Class WizardRelationalDatasourceController

java.lang.Object
  extended by org.pentaho.ui.xul.XulEventSourceAdapter
      extended by org.pentaho.ui.xul.impl.AbstractXulEventHandler
          extended by org.pentaho.platform.dataaccess.datasource.wizard.controllers.WizardRelationalDatasourceController
All Implemented Interfaces:
IDatasourceTypeController, org.pentaho.ui.xul.impl.XulEventHandler, org.pentaho.ui.xul.XulEventSource

public class WizardRelationalDatasourceController
extends org.pentaho.ui.xul.impl.AbstractXulEventHandler
implements IDatasourceTypeController


Field Summary
static String COMMA
           
static String EMPTY_STRING
           
static int MAX_COL_SIZE
           
static int MAX_SAMPLE_DATA_ROWS
           
 
Constructor Summary
WizardRelationalDatasourceController()
           
 
Method Summary
 void closeAggregationEditorDialog()
           
 void closeApplyQueryConfirmationDialog()
           
 void closeConnectionDialog()
           
 void closeErrorDialog()
           
 void closePreviewResultsDialog()
           
 void closeSampleDataDialog()
           
 void closeSuccessDialog()
           
 void displayErrorMessage(Throwable th)
           
 void displayPreview()
           
 void editQuery()
           
 boolean finishing()
           
 DatasourceMessages getDatasourceMessages()
           
 DatasourceModel getDatasourceModel()
           
 String getName()
           
 IXulAsyncDatasourceService getService()
           
 WaitingDialog getWaitingDialog()
           
 void hideWaitingDialog()
           
 void init()
           
 void initializeBusinessData(BusinessData businessData)
           
 void initializeBusinessData(DatasourceModel model)
           
 void openErrorDialog(String title, String message)
           
 void openSuccesDialog(String title, String message)
           
 void saveAggregationValues()
           
 void setBindingFactory(org.pentaho.ui.xul.binding.BindingFactory bf)
           
 void setDatasourceMessages(DatasourceMessages datasourceMessages)
           
 void setDatasourceModel(DatasourceModel model)
           
 void setService(IXulAsyncDatasourceService service)
           
 void setWaitingDialog(WaitingDialog waitingDialog)
           
 void showWaitingDialog(String title, String message)
           
 boolean supportsBusinessData(BusinessData businessData)
           
 boolean supportsBusinessData(DatasourceModel model)
           
 
Methods inherited from class org.pentaho.ui.xul.impl.AbstractXulEventHandler
bind, bind, getData, getXulDomContainer, setData, setName, setXulDomContainer
 
Methods inherited from class org.pentaho.ui.xul.XulEventSourceAdapter
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_SAMPLE_DATA_ROWS

public static final int MAX_SAMPLE_DATA_ROWS
See Also:
Constant Field Values

MAX_COL_SIZE

public static final int MAX_COL_SIZE
See Also:
Constant Field Values

EMPTY_STRING

public static final String EMPTY_STRING
See Also:
Constant Field Values

COMMA

public static final String COMMA
See Also:
Constant Field Values
Constructor Detail

WizardRelationalDatasourceController

public WizardRelationalDatasourceController()
Method Detail

init

public void init()

setBindingFactory

public void setBindingFactory(org.pentaho.ui.xul.binding.BindingFactory bf)

setDatasourceModel

public void setDatasourceModel(DatasourceModel model)

getDatasourceModel

public DatasourceModel getDatasourceModel()

getName

public String getName()
Specified by:
getName in interface org.pentaho.ui.xul.impl.XulEventHandler
Overrides:
getName in class org.pentaho.ui.xul.impl.AbstractXulEventHandler

editQuery

public void editQuery()

closeConnectionDialog

public void closeConnectionDialog()

closeApplyQueryConfirmationDialog

public void closeApplyQueryConfirmationDialog()

displayPreview

public void displayPreview()

closePreviewResultsDialog

public void closePreviewResultsDialog()

getService

public IXulAsyncDatasourceService getService()

setService

public void setService(IXulAsyncDatasourceService service)

openErrorDialog

public void openErrorDialog(String title,
                            String message)

closeErrorDialog

public void closeErrorDialog()

openSuccesDialog

public void openSuccesDialog(String title,
                             String message)

closeSuccessDialog

public void closeSuccessDialog()

showWaitingDialog

public void showWaitingDialog(String title,
                              String message)

hideWaitingDialog

public void hideWaitingDialog()

displayErrorMessage

public void displayErrorMessage(Throwable th)

setDatasourceMessages

public void setDatasourceMessages(DatasourceMessages datasourceMessages)
Parameters:
datasourceMessages - the datasourceMessages to set

getDatasourceMessages

public DatasourceMessages getDatasourceMessages()
Returns:
the datasourceMessages

getWaitingDialog

public WaitingDialog getWaitingDialog()
Returns:
the waitingDialog

setWaitingDialog

public void setWaitingDialog(WaitingDialog waitingDialog)
Parameters:
waitingDialog - the waitingDialog to set

closeAggregationEditorDialog

public void closeAggregationEditorDialog()

saveAggregationValues

public void saveAggregationValues()

closeSampleDataDialog

public void closeSampleDataDialog()

initializeBusinessData

public void initializeBusinessData(BusinessData businessData)

supportsBusinessData

public boolean supportsBusinessData(BusinessData businessData)

finishing

public boolean finishing()
Specified by:
finishing in interface IDatasourceTypeController

initializeBusinessData

public void initializeBusinessData(DatasourceModel model)
Specified by:
initializeBusinessData in interface IDatasourceTypeController

supportsBusinessData

public boolean supportsBusinessData(DatasourceModel model)
Specified by:
supportsBusinessData in interface IDatasourceTypeController