|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.project.browse.BrowseProjectContext com.atlassian.jira.plugin.componentpanel.BrowseComponentContextImpl
public class BrowseComponentContextImpl
A narrowing of context from BrowseProjectContext
that also includes a ProjectComponent
.
Field Summary |
---|
Fields inherited from class com.atlassian.jira.project.browse.BrowseProjectContext |
---|
project, projectClause |
Constructor Summary | |
---|---|
BrowseComponentContextImpl(SearchService searchService,
ProjectComponent component,
com.atlassian.crowd.embedded.api.User user)
|
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. |
ProjectComponent |
getComponent()
Retrieve the component for this context |
protected TerminalClause |
getComponentSearchClause()
|
String |
getContextKey()
Contains a context unique that can be used to identify this context. |
Project |
getProject()
The current projecet being browsed. |
String |
getQueryString()
Gets the URL query string for this context. |
Methods inherited from class com.atlassian.jira.project.browse.BrowseProjectContext |
---|
getProjectClause, getProjectManager, getSearchService, getUser |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.jira.project.browse.BrowseContext |
---|
getUser |
Constructor Detail |
---|
public BrowseComponentContextImpl(SearchService searchService, ProjectComponent component, com.atlassian.crowd.embedded.api.User user)
Method Detail |
---|
public ProjectComponent getComponent()
BrowseComponentContext
getComponent
in interface BrowseComponentContext
ProjectComponent
public Project getProject()
BrowseContext
getProject
in interface BrowseContext
getProject
in class BrowseProjectContext
public Query createQuery()
BrowseContext
Query
that narrows it down to the current search context.
E.g. Project, Component, Version
createQuery
in interface BrowseContext
createQuery
in class BrowseProjectContext
protected TerminalClause getComponentSearchClause()
public String getQueryString()
BrowseContext
getQueryString
in interface BrowseContext
getQueryString
in class BrowseProjectContext
public Map<String,Object> createParameterMap()
BrowseContext
createParameterMap
in interface BrowseContext
createParameterMap
in class BrowseProjectContext
public String getContextKey()
BrowseContext
getContextKey
in interface BrowseContext
getContextKey
in class BrowseProjectContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |