public abstract class BaseUserEditorWorkflow extends Object implements com.google.gwt.user.client.ui.IsWidget
The workflow for editing a user.
It links the editor & sub-editors components with the editor driver and the remote user services.
| Modifier and Type | Field and Description |
|---|---|
protected ChangePassword |
changePassword |
protected ConfirmBox |
confirmBox |
protected javax.enterprise.event.Event<DeleteUserEvent> |
deleteUserEvent |
protected org.jboss.errai.common.client.api.ErrorCallback<org.jboss.errai.bus.client.api.messaging.Message> |
errorCallback |
protected javax.enterprise.event.Event<OnErrorEvent> |
errorEvent |
protected boolean |
isDirty |
protected LoadingBox |
loadingBox |
protected javax.enterprise.event.Event<SaveUserEvent> |
saveUserEvent |
protected org.jboss.errai.security.shared.api.identity.User |
user |
protected UserEditor |
userEditor |
protected UserEditorDriver |
userEditorDriver |
protected ClientUserSystemManager |
userSystemManager |
EntityWorkflowView |
view |
protected javax.enterprise.event.Event<NotificationEvent> |
workbenchNotification |
| Constructor and Description |
|---|
BaseUserEditorWorkflow(ClientUserSystemManager userSystemManager,
javax.enterprise.event.Event<OnErrorEvent> errorEvent,
javax.enterprise.event.Event<NotificationEvent> workbenchNotification,
javax.enterprise.event.Event<DeleteUserEvent> deleteUserEvent,
javax.enterprise.event.Event<SaveUserEvent> saveUserEvent,
ConfirmBox confirmBox,
UserEditor userEditor,
UserEditorDriver userEditorDriver,
ChangePassword changePassword,
LoadingBox loadingBox,
EntityWorkflowView view) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterSave(String id) |
com.google.gwt.user.client.ui.Widget |
asWidget() |
protected void |
checkDirty(Command callback) |
protected boolean |
checkEventContext(ContextualEvent contextualEvent,
Object context) |
void |
clear() |
protected void |
doAssignGroups(Command callback) |
protected void |
doAssignRoles(Command callback) |
protected void |
doChangePassword() |
protected void |
doClear() |
protected void |
doDelete() |
protected void |
doSave() |
protected void |
doSaveRemoteServiceCall(org.jboss.errai.common.client.api.RemoteCallback<org.jboss.errai.security.shared.api.identity.User> callback) |
protected void |
doShow(String userId) |
protected void |
doShowEditorView() |
protected void |
edit() |
protected Set<String> |
getGroupNames() |
protected Set<String> |
getRoleNames() |
protected String |
getSaveButtonText() |
UserEditor |
getUserEditor() |
protected void |
hideLoadingBox() |
protected void |
onCancel() |
protected void |
onSave() |
protected void |
setDirty(boolean isDirty) |
protected void |
showError(String message) |
protected void |
showError(Throwable throwable) |
protected void |
showLoadingBox() |
protected void |
showPasswordPopup(ChangePassword.ChangePasswordCallback callback) |
protected ClientUserSystemManager userSystemManager
protected javax.enterprise.event.Event<OnErrorEvent> errorEvent
protected javax.enterprise.event.Event<NotificationEvent> workbenchNotification
protected javax.enterprise.event.Event<DeleteUserEvent> deleteUserEvent
protected javax.enterprise.event.Event<SaveUserEvent> saveUserEvent
protected ConfirmBox confirmBox
protected UserEditor userEditor
protected UserEditorDriver userEditorDriver
protected ChangePassword changePassword
protected LoadingBox loadingBox
public EntityWorkflowView view
protected org.jboss.errai.security.shared.api.identity.User user
protected boolean isDirty
protected final org.jboss.errai.common.client.api.ErrorCallback<org.jboss.errai.bus.client.api.messaging.Message> errorCallback
public BaseUserEditorWorkflow(ClientUserSystemManager userSystemManager, javax.enterprise.event.Event<OnErrorEvent> errorEvent, javax.enterprise.event.Event<NotificationEvent> workbenchNotification, javax.enterprise.event.Event<DeleteUserEvent> deleteUserEvent, javax.enterprise.event.Event<SaveUserEvent> saveUserEvent, ConfirmBox confirmBox, UserEditor userEditor, UserEditorDriver userEditorDriver, ChangePassword changePassword, LoadingBox loadingBox, EntityWorkflowView view)
public com.google.gwt.user.client.ui.Widget asWidget()
asWidget in interface com.google.gwt.user.client.ui.IsWidgetprotected void doShow(String userId)
public void clear()
public UserEditor getUserEditor()
protected void onSave()
protected void onCancel()
protected void doShowEditorView()
protected String getSaveButtonText()
protected void setDirty(boolean isDirty)
protected void edit()
protected void doSave()
protected void doAssignGroups(Command callback)
protected void doAssignRoles(Command callback)
protected void doSaveRemoteServiceCall(org.jboss.errai.common.client.api.RemoteCallback<org.jboss.errai.security.shared.api.identity.User> callback)
protected void afterSave(String id)
protected void doDelete()
protected void doChangePassword()
protected void showPasswordPopup(ChangePassword.ChangePasswordCallback callback)
protected void doClear()
protected boolean checkEventContext(ContextualEvent contextualEvent, Object context)
protected void showError(Throwable throwable)
protected void showError(String message)
protected void checkDirty(Command callback)
protected void showLoadingBox()
protected void hideLoadingBox()
Copyright © 2012–2016 JBoss by Red Hat. All rights reserved.