org.pentaho.di.ui.repository.model
Class RepositoriesModel

java.lang.Object
  extended by org.pentaho.ui.xul.XulEventSourceAdapter
      extended by org.pentaho.di.ui.repository.model.RepositoriesModel
All Implemented Interfaces:
org.pentaho.ui.xul.XulEventSource

public class RepositoriesModel
extends org.pentaho.ui.xul.XulEventSourceAdapter


Constructor Summary
RepositoriesModel()
           
 
Method Summary
 void addToAvailableRepositories(RepositoryMeta meta)
           
 void checkIfModelValid()
           
 void clear()
           
 List<RepositoryMeta> getAvailableRepositories()
           
 String getPassword()
           
 RepositoryMeta getRepository(int index)
           
 RepositoryMeta getRepository(String repositoryName)
           
 int getRepositoryIndex(RepositoryMeta repositoryMeta)
           
 RepositoryMeta getSelectedRepository()
           
 String getUsername()
           
 boolean isShowDialogAtStartup()
           
 boolean isValid()
           
 void removeFromAvailableRepositories(RepositoryMeta meta)
           
 void setAvailableRepositories(List<RepositoryMeta> repositoryList)
           
 void setPassword(String password)
           
 void setSelectedRepository(RepositoryMeta selectedRepository)
           
 void setSelectedRepositoryUsingName(String repositoryName)
           
 void setShowDialogAtStartup(boolean showDialogAtStartup)
           
 void setUsername(String username)
           
 
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

RepositoriesModel

public RepositoriesModel()
Method Detail

getUsername

public String getUsername()

setUsername

public void setUsername(String username)

getPassword

public String getPassword()

setPassword

public void setPassword(String password)

isShowDialogAtStartup

public boolean isShowDialogAtStartup()

setShowDialogAtStartup

public void setShowDialogAtStartup(boolean showDialogAtStartup)

getAvailableRepositories

public List<RepositoryMeta> getAvailableRepositories()

setAvailableRepositories

public void setAvailableRepositories(List<RepositoryMeta> repositoryList)

addToAvailableRepositories

public void addToAvailableRepositories(RepositoryMeta meta)

removeFromAvailableRepositories

public void removeFromAvailableRepositories(RepositoryMeta meta)

clear

public void clear()

setSelectedRepositoryUsingName

public void setSelectedRepositoryUsingName(String repositoryName)

setSelectedRepository

public void setSelectedRepository(RepositoryMeta selectedRepository)

getSelectedRepository

public RepositoryMeta getSelectedRepository()

getRepository

public RepositoryMeta getRepository(String repositoryName)

getRepositoryIndex

public int getRepositoryIndex(RepositoryMeta repositoryMeta)

getRepository

public RepositoryMeta getRepository(int index)

checkIfModelValid

public void checkIfModelValid()

isValid

public boolean isValid()