public abstract class BaseRoleEditorWorkflow extends Object implements com.google.gwt.user.client.ui.IsWidget
The workflow for editing a role.
It links the editor & sub-editors components with the editor driver and the remote user services.
Modifier and Type | Field and Description |
---|---|
protected org.jboss.errai.common.client.api.Caller<AuthorizationService> |
authorizationService |
protected ConfirmBox |
confirmBox |
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 PermissionManager |
permissionManager |
protected org.jboss.errai.security.shared.api.Role |
role |
protected RoleEditor |
roleEditor |
protected RoleEditorDriver |
roleEditorDriver |
protected javax.enterprise.event.Event<SaveRoleEvent> |
saveRoleEvent |
protected ClientUserSystemManager |
userSystemManager |
EntityWorkflowView |
view |
protected javax.enterprise.event.Event<NotificationEvent> |
workbenchNotification |
Constructor and Description |
---|
BaseRoleEditorWorkflow(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> saveRoleEvent,
ConfirmBox confirmBox,
RoleEditor roleEditor,
RoleEditorDriver roleEditorDriver,
LoadingBox loadingBox,
EntityWorkflowView view) |
Modifier and Type | Method and Description |
---|---|
com.google.gwt.user.client.ui.Widget |
asWidget() |
protected void |
checkDirty(Command callback) |
protected boolean |
checkEventContext(ContextualEvent contextualEvent,
Object context) |
void |
clear() |
protected void |
doInitView() |
protected void |
doLoad(String roleName) |
protected void |
doSave() |
protected void |
doShow(String roleName) |
protected void |
edit() |
RoleEditor |
getRoleEditor() |
protected String |
getSaveButtonText() |
protected void |
hideLoadingBox() |
boolean |
isDirty() |
protected void |
onCancel() |
protected void |
onSave() |
protected void |
setDirty(boolean isDirty) |
protected void |
showLoadingBox() |
protected void |
showNotification(String message) |
public EntityWorkflowView view
protected ClientUserSystemManager userSystemManager
protected org.jboss.errai.common.client.api.Caller<AuthorizationService> authorizationService
protected PermissionManager permissionManager
protected javax.enterprise.event.Event<OnErrorEvent> errorEvent
protected javax.enterprise.event.Event<NotificationEvent> workbenchNotification
protected javax.enterprise.event.Event<SaveRoleEvent> saveRoleEvent
protected ConfirmBox confirmBox
protected RoleEditor roleEditor
protected RoleEditorDriver roleEditorDriver
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.Role role
protected boolean isDirty
public BaseRoleEditorWorkflow(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> saveRoleEvent, ConfirmBox confirmBox, RoleEditor roleEditor, RoleEditorDriver roleEditorDriver, LoadingBox loadingBox, EntityWorkflowView view)
public com.google.gwt.user.client.ui.Widget asWidget()
asWidget
in interface com.google.gwt.user.client.ui.IsWidget
public RoleEditor getRoleEditor()
public void clear()
public boolean isDirty()
protected void doShow(String roleName)
protected void doLoad(String roleName)
protected void onSave()
protected void onCancel()
protected void doInitView()
protected String getSaveButtonText()
protected void showNotification(String message)
protected void setDirty(boolean isDirty)
protected void edit()
protected void doSave()
protected boolean checkEventContext(ContextualEvent contextualEvent, Object context)
protected void checkDirty(Command callback)
protected void showLoadingBox()
protected void hideLoadingBox()
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.