View Javadoc
1   package com.atlassian.sal.api.project;
2   
3   import java.util.Collection;
4   
5   /**
6    * Interface to managing and getting information about "projects".  A project may represent different things depending
7    * on the application, for example, in Confluence, it is a space, in Bamboo, a build plan, and in JIRA, it is a
8    * project.
9    *
10   * @since 2.0
11   */
12  public interface ProjectManager {
13      /**
14       * Get all project keys. This should ignore any permission checking.
15       *
16       * @return All the project keys or an empty collection if it cannot be provided by the current application. Empty collection if none found.
17       */
18      Collection<String> getAllProjectKeys();
19  }