public class SecurityController extends LazilyInitializedController implements IUISupportController
XulEventHandler
for the Security panel of the repository explorer.
This class handles only user-related functionality. If supported, other controllers handle roles, etc.
Modifier and Type | Field and Description |
---|---|
static int |
USER_DECK |
Constructor and Description |
---|
SecurityController() |
Modifier and Type | Method and Description |
---|---|
void |
cancelAddUserDialog() |
void |
changeToUserDeck() |
org.pentaho.ui.xul.components.XulMessageBox |
getMessageBox() |
String |
getName() |
void |
init(org.pentaho.di.repository.Repository rep) |
void |
removeUser()
removeUser method is called when user has click on a remove button in a user deck.
|
void |
saveUser()
saveUser method is called when the user click on the ok button of a Add or Edit User dialog Depending on the mode
it calls add of update user method
|
void |
setEnableButtons(int selectedIndex) |
void |
setMessageBox(org.pentaho.ui.xul.components.XulMessageBox messageBox) |
void |
showAddUserDialog() |
void |
showEditUserDialog() |
void |
tabClicked() |
bind, bind, getData, getXulDomContainer, setData, setName, setXulDomContainer
public static final int USER_DECK
public void init(org.pentaho.di.repository.Repository rep) throws ControllerInitializationException
init
in interface IUISupportController
init
in class LazilyInitializedController
ControllerInitializationException
public org.pentaho.ui.xul.components.XulMessageBox getMessageBox()
public void setMessageBox(org.pentaho.ui.xul.components.XulMessageBox messageBox)
public String getName()
getName
in interface IUISupportController
getName
in interface org.pentaho.ui.xul.impl.XulEventHandler
getName
in class org.pentaho.ui.xul.impl.AbstractXulEventHandler
public void removeUser() throws Exception
Exception
public void changeToUserDeck()
public void saveUser() throws Exception
Exception
public void setEnableButtons(int selectedIndex)
public void tabClicked()