|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.jql.context.ProjectClauseContextFactory
public class ProjectClauseContextFactory
Generates a ClauseContext
for a project clause based on the specified
project values and the projects that the user has permission to see.
The projects in the context that are generated here are QueryContextElementType.EXPLICIT
and it will always return the AllIssueTypesContext
for issue types.
Constructor Summary | |
---|---|
ProjectClauseContextFactory(JqlOperandResolver jqlOperandResolver,
NameResolver<Project> projectResolver,
PermissionManager permissionManager)
|
Method Summary | |
---|---|
ClauseContext |
getClauseContext(com.opensymphony.user.User searcher,
TerminalClause terminalClause)
Generates a clause context for the associated handler. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProjectClauseContextFactory(JqlOperandResolver jqlOperandResolver, NameResolver<Project> projectResolver, PermissionManager permissionManager)
Method Detail |
---|
public ClauseContext getClauseContext(com.opensymphony.user.User searcher, TerminalClause terminalClause)
ClauseContextFactory
getClauseContext
in interface ClauseContextFactory
searcher
- the user who is performing the searchterminalClause
- the clause for which this factory is generating a context.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |