|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.jira.project.browse.BrowseProjectContext
public class BrowseProjectContext
Context for BrowseProject when viewing a project.
Field Summary | |
---|---|
protected Project |
project
|
protected TerminalClause |
projectClause
|
Constructor Summary | |
---|---|
BrowseProjectContext(com.atlassian.crowd.embedded.api.User user,
Project project)
|
Method Summary | |
---|---|
Map<String,Object> |
createParameterMap()
Creates a map of the context-specific parameters and their associated domain objects. |
Query |
createQuery()
Creates a new Query that narrows it down to the current search context. |
String |
getContextKey()
Contains a context unique that can be used to identify this context. |
Project |
getProject()
The current projecet being browsed. |
protected TerminalClause |
getProjectClause()
|
protected ProjectManager |
getProjectManager()
|
String |
getQueryString()
Gets the URL query string for this context. |
protected SearchService |
getSearchService()
|
com.atlassian.crowd.embedded.api.User |
getUser()
The user browsing the project. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Project project
protected TerminalClause projectClause
Constructor Detail |
---|
public BrowseProjectContext(com.atlassian.crowd.embedded.api.User user, Project project)
Method Detail |
---|
public Project getProject()
BrowseContext
getProject
in interface BrowseContext
public com.atlassian.crowd.embedded.api.User getUser()
BrowseContext
getUser
in interface BrowseContext
public Query createQuery()
BrowseContext
Query
that narrows it down to the current search context.
E.g. Project, Component, Version
createQuery
in interface BrowseContext
protected TerminalClause getProjectClause()
protected ProjectManager getProjectManager()
protected SearchService getSearchService()
public String getQueryString()
BrowseContext
getQueryString
in interface BrowseContext
public Map<String,Object> createParameterMap()
BrowseContext
createParameterMap
in interface BrowseContext
public String getContextKey()
BrowseContext
getContextKey
in interface BrowseContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |