Package org.pentaho.mantle.client.admin
Class UserRolesAdminPanelController
- java.lang.Object
-
- com.google.gwt.user.client.ui.UIObject
-
- com.google.gwt.user.client.ui.Widget
-
- com.google.gwt.user.client.ui.Panel
-
- com.google.gwt.user.client.ui.SimplePanel
-
- org.pentaho.mantle.client.admin.UserRolesAdminPanel
-
- org.pentaho.mantle.client.admin.UserRolesAdminPanelController
-
- All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers
,com.google.gwt.event.shared.HasHandlers
,com.google.gwt.user.client.EventListener
,com.google.gwt.user.client.ui.AcceptsOneWidget
,com.google.gwt.user.client.ui.HasOneWidget
,com.google.gwt.user.client.ui.HasVisibility
,com.google.gwt.user.client.ui.HasWidgets
,com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
,com.google.gwt.user.client.ui.IsWidget
,Iterable<com.google.gwt.user.client.ui.Widget>
,ISysAdminPanel
,UpdatePasswordController
public class UserRolesAdminPanelController extends UserRolesAdminPanel implements ISysAdminPanel, UpdatePasswordController
-
-
Field Summary
-
Fields inherited from class org.pentaho.mantle.client.admin.UserRolesAdminPanel
addAllRolesButton, addAllUsersButton, addRoleButton, addUserButton, availableMembersListBox, availableRolesListBox, deleteRoleButton, deleteUserButton, editPasswordButton, mainTabPanel, newRoleButton, newUserButton, removeAllRolesButton, removeAllUsersButton, removeRoleButton, removeUserButton, rolesListBox, rolesPermissionsPanel, selectedMembersListBox, selectedRolesListBox, systemRolesListBox, systemRolesPermissionsPanel, userPasswordTextBox, usersLabelPanel, usersListBox, usersPanel
-
-
Constructor Summary
Constructors Constructor Description UserRolesAdminPanelController()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
activate()
void
deleteRoles()
void
deleteUsers()
String
getId()
static UserRolesAdminPanelController
getInstance()
void
passivate(com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback)
void
saveRole(String name)
void
saveUser(String name, String password)
void
updatePassword(String newPassword, String administratorPassword, ServiceCallback callback)
-
Methods inherited from class com.google.gwt.user.client.ui.SimplePanel
add, getContainerElement, getWidget, iterator, remove, setWidget, setWidget
-
Methods inherited from class com.google.gwt.user.client.ui.Panel
add, adopt, clear, doAttachChildren, doDetachChildren, orphan, remove
-
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
-
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
getInstance
public static UserRolesAdminPanelController getInstance()
-
saveRole
public void saveRole(String name)
-
deleteRoles
public void deleteRoles()
-
deleteUsers
public void deleteUsers()
-
updatePassword
public void updatePassword(String newPassword, String administratorPassword, ServiceCallback callback)
- Specified by:
updatePassword
in interfaceUpdatePasswordController
-
activate
public void activate()
- Specified by:
activate
in interfaceISysAdminPanel
-
getId
public String getId()
- Specified by:
getId
in interfaceISysAdminPanel
-
passivate
public void passivate(com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback)
- Specified by:
passivate
in interfaceISysAdminPanel
-
-