com.atlassian.crucible.spi.services
Interface ProjectService


public interface ProjectService

Provides an API for working with Projects


Method Summary
 java.util.List<ProjectData> getAllProjects()
          Returns the details of all Crucible projects that the caller is entitled to access.
 ProjectData getProject(java.lang.String projectKey)
          Get a project from its key
 boolean hasPermission(java.lang.String projectKey, java.lang.String actionName)
          Does the current user have this permission at a project level?
 

Method Detail

getAllProjects

java.util.List<ProjectData> getAllProjects()
Returns the details of all Crucible projects that the caller is entitled to access.


getProject

ProjectData getProject(java.lang.String projectKey)
Get a project from its key


hasPermission

boolean hasPermission(java.lang.String projectKey,
                      java.lang.String actionName)
Does the current user have this permission at a project level?