Package edu.stanford.bmir.protege.web.client.rpc

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


            }
        });
    }

    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

Related Classes of edu.stanford.bmir.protege.web.client.rpc.SharingSettingsServiceAsync

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.