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 |
checkClear() |
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 |
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() |
boolean |
isDirty() |
protected void |
onCancel() |
protected void |
onSave() |
protected void |
setDirty(boolean isDirty) |
protected void |
showError(Throwable throwable) |
protected void |
showLoadingBox() |
protected void |
showPasswordPopup(ChangePassword.ChangePasswordCallback callback) |
public EntityWorkflowView view
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
protected final org.jboss.errai.common.client.api.ErrorCallback<org.jboss.errai.bus.client.api.messaging.Message> errorCallback
protected org.jboss.errai.security.shared.api.identity.User user
protected boolean isDirty
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.IsWidget
protected void doShow(String userId)
public void clear()
public UserEditor getUserEditor()
public boolean isDirty()
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 boolean checkEventContext(ContextualEvent contextualEvent, Object context)
protected void showError(Throwable throwable)
protected void checkClear()
protected void checkDirty(Command callback)
protected void showLoadingBox()
protected void hideLoadingBox()
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.