com.atlassian.jira.web.session
Class DefaultJiraSession
java.lang.Object
com.atlassian.jira.web.session.DefaultJiraSession
- All Implemented Interfaces:
- JiraSession
public class DefaultJiraSession
- extends Object
- implements JiraSession
- Since:
- v3.12
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultJiraSession
public DefaultJiraSession(ProjectManager projectManager,
PermissionManager permissionManager)
getSelectedProject
public Project getSelectedProject(User currentUser)
- Description copied from interface:
JiraSession
- 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.
- Specified by:
getSelectedProject
in interface JiraSession
- 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.
Copyright © 2002-2009 Atlassian. All Rights Reserved.