Examples of SharingSettingsServiceAsync


Examples of edu.stanford.bmir.protege.web.client.rpc.SharingSettingsServiceAsync

        }
        return result;
    }

    private void refillSharingSettingsList(final ProjectId projectId) {
        SharingSettingsServiceAsync sharingSettingsService = SharingSettingsServiceManager.getService();

        sharingSettingsService.getProjectSharingSettings(projectId, new AsyncCallback<ProjectSharingSettings>() {
            public void onFailure(Throwable caught) {
                caught.printStackTrace();
            }

            public void onSuccess(ProjectSharingSettings result) {
View Full Code Here

Examples of edu.stanford.bmir.protege.web.client.rpc.SharingSettingsServiceAsync

            }
        });
    }

    private void updateSharingSettingsOnServer(final ProjectSharingSettings sharingSettings) {
        SharingSettingsServiceAsync service = SharingSettingsServiceManager.getService();
        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
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.