@Dependent public class UserCreationWorkflow extends BaseUserEditorWorkflow
The workflow for creating a new user.
It links the editor & sub-editors components with the editor driver and the remote user services.
changePassword, confirmBox, deleteUserEvent, errorCallback, errorEvent, isDirty, loadingBox, saveUserEvent, user, userEditor, userEditorDriver, userSystemManager, view, workbenchNotification
Constructor and Description |
---|
UserCreationWorkflow(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,
javax.enterprise.event.Event<CreateUserEvent> createUserEvent,
ConfirmBox confirmBox,
CreateEntity createEntity,
UserEditor userEditor,
UserEditorDriver userEditorDriver,
ChangePassword changePassword,
LoadingBox loadingBox,
EntityWorkflowView view) |
Modifier and Type | Method and Description |
---|---|
protected void |
afterSave(String id) |
void |
clear() |
void |
create() |
protected void |
doEdit() |
protected void |
doSaveRemoteServiceCall(org.jboss.errai.common.client.api.RemoteCallback<org.jboss.errai.security.shared.api.identity.User> callback) |
protected String |
getSaveButtonText() |
void |
init() |
protected void |
onCancel() |
asWidget, checkClear, checkDirty, checkEventContext, doAssignGroups, doAssignRoles, doChangePassword, doDelete, doSave, doShow, doShowEditorView, edit, getGroupNames, getRoleNames, getUserEditor, hideLoadingBox, isDirty, onSave, setDirty, showError, showLoadingBox, showPasswordPopup
@Inject public UserCreationWorkflow(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, javax.enterprise.event.Event<CreateUserEvent> createUserEvent, ConfirmBox confirmBox, CreateEntity createEntity, UserEditor userEditor, UserEditorDriver userEditorDriver, ChangePassword changePassword, LoadingBox loadingBox, EntityWorkflowView view)
@PostConstruct public void init()
public void create()
protected void doEdit()
protected void doSaveRemoteServiceCall(org.jboss.errai.common.client.api.RemoteCallback<org.jboss.errai.security.shared.api.identity.User> callback)
doSaveRemoteServiceCall
in class BaseUserEditorWorkflow
protected void afterSave(String id)
afterSave
in class BaseUserEditorWorkflow
protected String getSaveButtonText()
getSaveButtonText
in class BaseUserEditorWorkflow
protected void onCancel()
onCancel
in class BaseUserEditorWorkflow
public void clear()
clear
in class BaseUserEditorWorkflow
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.