org.pentaho.platform.dataaccess.datasource.wizard.models
Class GuiStateModel
java.lang.Object
org.pentaho.ui.xul.XulEventSourceAdapter
org.pentaho.platform.dataaccess.datasource.wizard.models.GuiStateModel
- All Implemented Interfaces:
- org.pentaho.ui.xul.XulEventSource
public class GuiStateModel
- extends org.pentaho.ui.xul.XulEventSourceAdapter
- Author:
- wseyler
Methods inherited from class org.pentaho.ui.xul.XulEventSourceAdapter |
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener |
GuiStateModel
public GuiStateModel()
getEditType
public GuiStateModel.ConnectionEditType getEditType()
setEditType
public void setEditType(GuiStateModel.ConnectionEditType value)
getConnections
public List<IConnection> getConnections()
addConnection
public void addConnection(IConnection connection)
updateConnection
public void updateConnection(IConnection connection)
deleteConnection
public void deleteConnection(IConnection connection)
deleteConnection
public void deleteConnection(String name)
setConnections
public void setConnections(List<IConnection> value)
getPreviewLimit
public String getPreviewLimit()
setPreviewLimit
public void setPreviewLimit(String value)
getConnectionByName
public IConnection getConnectionByName(String name)
getConnectionIndex
public Integer getConnectionIndex(IConnection conn)
isRelationalValidated
public boolean isRelationalValidated()
validateRelational
public void validateRelational()
invalidateRelational
public void invalidateRelational()
getRelationalData
public List<List<String>> getRelationalData()
setRelationalData
public void setRelationalData(List<List<String>> value)
getDataRows
public List<ModelDataRow> getDataRows()
setDataRows
public void setDataRows(List<ModelDataRow> value)
clearModel
public void clearModel()
addRelationalModelValidationListener
public void addRelationalModelValidationListener(IRelationalModelValidationListener listener)
removeRelationalListener
public void removeRelationalListener(IRelationalModelValidationListener listener)
setRelationalPreviewValidated
public void setRelationalPreviewValidated(boolean value)
isRelationalPreviewValidated
public boolean isRelationalPreviewValidated()
isRelationalApplyValidated
public boolean isRelationalApplyValidated()
setRelationalApplyValidated
public void setRelationalApplyValidated(boolean value)
getLogicalModels
public List<org.pentaho.metadata.model.LogicalModel> getLogicalModels()
setLogicalModels
public void setLogicalModels(List<org.pentaho.metadata.model.LogicalModel> logicalModels)
getLocaleCode
public String getLocaleCode()
setLocaleCode
public void setLocaleCode(String localeCode)
getConnectionService
public IXulAsyncConnectionService getConnectionService()
setConnectionService
public void setConnectionService(IXulAsyncConnectionService connectionService)
setDataStagingComplete
public void setDataStagingComplete(boolean status)
isDataStagingComplete
public boolean isDataStagingComplete()
addDataStagingCompleteListener
public void addDataStagingCompleteListener(IDataStagingCompleteListener listener)
fireDataStagingComplete
public void fireDataStagingComplete()
getSelectedCsvFile
public FileInfo getSelectedCsvFile()
setSelectedCsvFile
public void setSelectedCsvFile(FileInfo selectedCsvFile)
isEditing
public boolean isEditing()
setEditing
public void setEditing(boolean editing)
isDirty
public boolean isDirty()
setDirty
public void setDirty(boolean dirty)