com.atlassian.jira.web.session
Interface JiraSession

All Known Implementing Classes:
DefaultJiraSession

public interface JiraSession

Provides easy access to JIRA objects that are persisted via the users session.

Since:
v3.12

Method Summary
 Project getSelectedProject(User currentUser)
          JIRA keeps the last viewed project in a users session.
 

Method Detail

getSelectedProject

Project getSelectedProject(User currentUser)
JIRA keeps the last viewed project in a users session. This method will get the project if one has been set and the current user has permission to see the project.

Parameters:
currentUser - the user who is trying to access the project.
Returns:
a Project that is the current users selected project, null if no project has been selected.
Since:
v3.12


Copyright © 2002-2008 Atlassian. All Rights Reserved.