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

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.PhysicalDatasourceController
All Implemented Interfaces:
IDatasourceTypeController, org.pentaho.ui.xul.impl.XulEventHandler, org.pentaho.ui.xul.XulEventSource

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


Constructor Summary
PhysicalDatasourceController()
           
 
Method Summary
 void closeErrorDialog()
           
 void closeSuccessDialog()
           
 boolean finishing()
           
static String getDatasourceURL()
           
 ModelInfo getModelInfo()
           
 String getName()
           
 void init()
           
 void initializeBusinessData(BusinessData businessData)
           
 void initializeBusinessData(DatasourceModel model)
           
 void refreshPreview()
           
 void setDatasourceMessages(DatasourceMessages datasourceMessages)
           
 void setDatasourceModel(DatasourceModel datasourceModel)
           
 void setModelInfo(ModelInfo modelInfo)
           
 void setWaitingDialog(GwtWaitingDialog waitingDialog)
           
 void showErrorDialog(String message)
           
 void showSuccessDialog(String message)
           
 boolean supportsBusinessData(BusinessData businessData)
           
 boolean supportsBusinessData(DatasourceModel model)
           
 void syncModelInfo()
           
 void toggleIncludeColumnCheck(String includeToggleButtonId)
           
 
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
 

Constructor Detail

PhysicalDatasourceController

public PhysicalDatasourceController()
Method Detail

init

public void init()

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

toggleIncludeColumnCheck

public void toggleIncludeColumnCheck(String includeToggleButtonId)

getModelInfo

public ModelInfo getModelInfo()

setModelInfo

public void setModelInfo(ModelInfo modelInfo)

getDatasourceURL

public static String getDatasourceURL()

initializeBusinessData

public void initializeBusinessData(BusinessData businessData)

supportsBusinessData

public boolean supportsBusinessData(BusinessData businessData)

setDatasourceMessages

public void setDatasourceMessages(DatasourceMessages datasourceMessages)

setWaitingDialog

public void setWaitingDialog(GwtWaitingDialog waitingDialog)

setDatasourceModel

public void setDatasourceModel(DatasourceModel datasourceModel)

closeErrorDialog

public void closeErrorDialog()

showErrorDialog

public void showErrorDialog(String message)

closeSuccessDialog

public void closeSuccessDialog()

showSuccessDialog

public void showSuccessDialog(String message)

finishing

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

syncModelInfo

public void syncModelInfo()

refreshPreview

public void refreshPreview()
                    throws Exception
Throws:
Exception

initializeBusinessData

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

supportsBusinessData

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