Examples of PermissionsChangedEvent


Examples of edu.stanford.bmir.protege.web.shared.event.PermissionsChangedEvent

        service.updateSharingSettings(sharingSettings, new AsyncCallback<Void>() {
            public void onFailure(Throwable caught) {
            }

            public void onSuccess(Void result) {
                EventBusManager.getManager().postEvent(new PermissionsChangedEvent(sharingSettings.getProjectId()));
            }
        });
    }
View Full Code Here

Examples of edu.stanford.bmir.protege.web.shared.event.PermissionsChangedEvent

     * @throws NullPointerException if any parameters are {@code null}.
     */
    public void setUserPermissions(UserId userId, PermissionsSet permissions) {
        PermissionsSet old = user2permissionMap.put(checkNotNull(userId), checkNotNull(permissions));
        if(old == null || old.equals(permissions)) {
            EventBusManager.getManager().postEvent(new PermissionsChangedEvent(projectId));
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.