- getProject
Get a Project from the database the name of the Project
- listProjects
List all Projects. If the user logged have a ROLE_ADMIN, he can see all the
projects. Otherwise, a u
- isAdmin
Determine if the User is an admin of a project
- isAnnotator
Determine if the User is member of a project
- isManager
Determine if the user is allowed to update a project.
- listProjectUsersWithPermissions
List of users with the a given PermissionLevel
- createProject
Creates a Project. Creating a project needs a global ROLE_ADMIN role. For the
first time the project
- createProjectPermission
creates a project permission, adding permission level for the user in the given
project
- existsProject
A method that check is a project exists with the same name already.
getSingleResult() fails if the p
- isCurator
Determine if the user is a curator or not.
- listAccessibleProjects
List projects accessible by current user
- listProjectPermissionLevel
Get list of permissions a user have in a given project