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

Examples of edu.stanford.bmir.protege.web.client.permissions.ProjectPermissionManager


     * @param permissionsForCurrentUser The permissions for the current logged in user.  Not {@code null}.
     * @throws NullPointerException if any parameters are {@code null}.
     */
    public Project(ProjectDetails projectDetails, PermissionsSet permissionsForCurrentUser) {
        this.projectDetails = checkNotNull(projectDetails);
        this.permissionManager = new ProjectPermissionManager(getProjectId());
        this.permissionManager.setUserPermissions(Application.get().getUserId(), checkNotNull(permissionsForCurrentUser));
        this.layoutManager = new LayoutManager(this);
        this.eventPollingManager = EventPollingManager.get(10 * 1000, projectDetails.getProjectId());
        eventPollingManager.start();
    }
View Full Code Here

TOP

Related Classes of edu.stanford.bmir.protege.web.client.permissions.ProjectPermissionManager

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.