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, setXulDomContainerpublic static final int USER_DECK
public void init(org.pentaho.di.repository.Repository rep)
throws ControllerInitializationException
init in interface IUISupportControllerinit in class LazilyInitializedControllerControllerInitializationExceptionpublic org.pentaho.ui.xul.components.XulMessageBox getMessageBox()
public void setMessageBox(org.pentaho.ui.xul.components.XulMessageBox messageBox)
public String getName()
getName in interface IUISupportControllergetName in interface org.pentaho.ui.xul.impl.XulEventHandlergetName in class org.pentaho.ui.xul.impl.AbstractXulEventHandlerpublic void removeUser()
throws Exception
Exceptionpublic void changeToUserDeck()
public void saveUser()
throws Exception
Exceptionpublic void setEnableButtons(int selectedIndex)
public void tabClicked()