@Dependent public class RoleEditorWorkflow extends BaseRoleEditorWorkflow
The workflow for editing a role.
It links the editor & sub-editors components with the editor driver and the remote user services.
authorizationService, confirmBox, errorCallback, errorEvent, isDirty, loadingBox, permissionManager, role, roleEditor, roleEditorDriver, saveRoleEvent, userSystemManager, view, workbenchNotification
Constructor and Description |
---|
RoleEditorWorkflow(ClientUserSystemManager userSystemManager,
org.jboss.errai.common.client.api.Caller<AuthorizationService> authorizationService,
PermissionManager permissionManager,
javax.enterprise.event.Event<OnErrorEvent> errorEvent,
javax.enterprise.event.Event<NotificationEvent> workbenchNotification,
javax.enterprise.event.Event<SaveRoleEvent> saveUserEvent,
ConfirmBox confirmBox,
RoleEditor roleEditor,
RoleEditorDriver roleEditorDriver,
LoadingBox loadingBox,
EntityWorkflowView view) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkStatus() |
protected void |
edit() |
protected boolean |
isPerspectiveReadDenied(PerspectiveActivity perspectiveActivity) |
void |
show(String roleName) |
asWidget, checkDirty, checkEventContext, clear, doInitView, doLoad, doSave, doShow, getRoleEditor, getSaveButtonText, hideLoadingBox, isDirty, onCancel, onSave, setDirty, showLoadingBox, showNotification
@Inject public RoleEditorWorkflow(ClientUserSystemManager userSystemManager, org.jboss.errai.common.client.api.Caller<AuthorizationService> authorizationService, PermissionManager permissionManager, javax.enterprise.event.Event<OnErrorEvent> errorEvent, javax.enterprise.event.Event<NotificationEvent> workbenchNotification, javax.enterprise.event.Event<SaveRoleEvent> saveUserEvent, ConfirmBox confirmBox, RoleEditor roleEditor, RoleEditorDriver roleEditorDriver, LoadingBox loadingBox, EntityWorkflowView view)
public void show(String roleName)
protected void edit()
edit
in class BaseRoleEditorWorkflow
protected void checkStatus()
protected boolean isPerspectiveReadDenied(PerspectiveActivity perspectiveActivity)
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.