Class BrowseProjectContext
java.lang.Object
com.atlassian.jira.project.browse.BrowseProjectContext
- All Implemented Interfaces:
BrowseContext
Context for BrowseProject when viewing a project.
- Since:
- v4.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates a map of the context-specific parameters and their associated domain objects.Creates a newQuery
that narrows it down to the current search context.Contains a context unique that can be used to identify this context.protected javax.servlet.http.HttpServletRequest
Gets the URL for this context, which includes/issues/?jql=
.The current projecet being browsed.protected TerminalClause
protected ProjectManager
Gets the URL query string for this context.protected SearchService
getUser()
The user browsing the project.
-
Field Details
-
project
-
projectClause
-
-
Constructor Details
-
BrowseProjectContext
-
-
Method Details
-
getProject
Description copied from interface:BrowseContext
The current projecet being browsed.- Specified by:
getProject
in interfaceBrowseContext
- Returns:
- The current project.
-
getUser
Description copied from interface:BrowseContext
The user browsing the project.- Specified by:
getUser
in interfaceBrowseContext
- Returns:
- The user browsing the project.
-
createQuery
Description copied from interface:BrowseContext
Creates a newQuery
that narrows it down to the current search context. E.g. Project, Component, Version- Specified by:
createQuery
in interfaceBrowseContext
- Returns:
- A new Query that has a more refined search based on the current context.
-
getProjectClause
-
getProjectManager
-
getSearchService
-
getQueryString
Description copied from interface:BrowseContext
Gets the URL query string for this context. Used to create links to navigator but still in this context.- Specified by:
getQueryString
in interfaceBrowseContext
- Returns:
- the URL query string for this context.
-
getIssueSearchPath
Description copied from interface:BrowseContext
Gets the URL for this context, which includes/issues/?jql=
. Used to create links to navigator but still in this context.- Specified by:
getIssueSearchPath
in interfaceBrowseContext
- Returns:
- the URL query string for this context.
-
createParameterMap
Description copied from interface:BrowseContext
Creates a map of the context-specific parameters and their associated domain objects.- Specified by:
createParameterMap
in interfaceBrowseContext
- Returns:
- a mapping from parameter name to domain object.
-
getContextKey
Description copied from interface:BrowseContext
Contains a context unique that can be used to identify this context. This is useful when storing things in the session on per context basis.- Specified by:
getContextKey
in interfaceBrowseContext
- Returns:
- a unique key for this context
-
getExecutingHttpRequest
protected javax.servlet.http.HttpServletRequest getExecutingHttpRequest()
-