本文整理汇总了Java中org.uberfire.ext.security.management.client.widgets.management.events.SaveRoleEvent类的典型用法代码示例。如果您正苦于以下问题:Java SaveRoleEvent类的具体用法?Java SaveRoleEvent怎么用?Java SaveRoleEvent使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
SaveRoleEvent类属于org.uberfire.ext.security.management.client.widgets.management.events包,在下文中一共展示了SaveRoleEvent类的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: BaseRoleEditorWorkflow
import org.uberfire.ext.security.management.client.widgets.management.events.SaveRoleEvent; //导入依赖的package包/类
public BaseRoleEditorWorkflow(final ClientUserSystemManager userSystemManager,
final Caller<AuthorizationService> authorizationService,
final PermissionManager permissionManager,
final Event<OnErrorEvent> errorEvent,
final Event<NotificationEvent> workbenchNotification,
final Event<SaveRoleEvent> saveRoleEvent,
final ConfirmBox confirmBox,
final RoleEditor roleEditor,
final RoleEditorDriver roleEditorDriver,
final LoadingBox loadingBox,
final EntityWorkflowView view) {
this.userSystemManager = userSystemManager;
this.authorizationService = authorizationService;
this.permissionManager = permissionManager;
this.errorEvent = errorEvent;
this.workbenchNotification = workbenchNotification;
this.saveRoleEvent = saveRoleEvent;
this.confirmBox = confirmBox;
this.roleEditor = roleEditor;
this.roleEditorDriver = roleEditorDriver;
this.loadingBox = loadingBox;
this.view = view;
this.isDirty = false;
}
示例2: RoleEditorWorkflow
import org.uberfire.ext.security.management.client.widgets.management.events.SaveRoleEvent; //导入依赖的package包/类
@Inject
public RoleEditorWorkflow(final ClientUserSystemManager userSystemManager,
final Caller<AuthorizationService> authorizationService,
final PermissionManager permissionManager,
final Event<OnErrorEvent> errorEvent,
final Event<NotificationEvent> workbenchNotification,
final Event<SaveRoleEvent> saveUserEvent,
final ConfirmBox confirmBox,
final RoleEditor roleEditor,
final RoleEditorDriver roleEditorDriver,
final LoadingBox loadingBox,
final EntityWorkflowView view) {
super(userSystemManager,
authorizationService,
permissionManager,
errorEvent,
workbenchNotification,
saveUserEvent,
confirmBox,
roleEditor,
roleEditorDriver,
loadingBox,
view);
}
示例3: onRoleSavedEvent
import org.uberfire.ext.security.management.client.widgets.management.events.SaveRoleEvent; //导入依赖的package包/类
void onRoleSavedEvent(@Observes SaveRoleEvent event) {
refreshPermissions(false);
}
示例4: onAuthzPolicyChanged
import org.uberfire.ext.security.management.client.widgets.management.events.SaveRoleEvent; //导入依赖的package包/类
public void onAuthzPolicyChanged(@Observes final SaveRoleEvent event) {
if (secure) {
refresh();
}
}
示例5: onAuthzPolicyChanged
import org.uberfire.ext.security.management.client.widgets.management.events.SaveRoleEvent; //导入依赖的package包/类
public void onAuthzPolicyChanged(@Observes final SaveRoleEvent event) {
refreshMenuBar();
}