Package edu.stanford.bmir.protege.web.shared.event

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


     * @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

Related Classes of edu.stanford.bmir.protege.web.shared.event.PermissionsChangedEvent

Copyright © 2018 www.massapicom. 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.