java.lang.Object | |
↳ | com.atlassian.jira.jql.context.FieldConfigSchemeClauseContextUtil |
A utlitilty class for generating the clause context specified by
a FieldConfigScheme
, taking
into account what is visible to the searcher.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Given a
FieldConfigScheme determines the
ClauseContext specified by it, taking into account
what is visible to the searcher User | |||||||||||
Finds the most specific
FieldConfigScheme associated with a CustomField
that is viewable from the given QueryContext . | |||||||||||
Checks if the
FieldConfigScheme is visible under the given
QueryContext |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object |
Given a FieldConfigScheme
determines the
ClauseContext
specified by it, taking into account
what is visible to the searcher User
searcher | the user the ClauseContext is generated for |
---|---|
fieldConfigScheme | the config scheme the ClauseContext is generated for |
FieldConfigScheme
and searchers visibility
Finds the most specific FieldConfigScheme
associated with a CustomField
that is viewable from the given QueryContext
. The "Most Specific" means it will always return
a FieldConfigScheme with a defined project context if available, otherwise it will return
the FieldConfigScheme with the global context (if visible). If no FieldConfigScheme is visible under the QueryContext
null is returned.
queryContext | The QueryContext to find the most specific visible FieldConfigScheme for. |
---|---|
customField | The custom field to retreive FieldConfigScheme s from. |
FieldConfigScheme
on teh CustomField
that is visible to the QueryContext
, null if no FieldConfigScheme
is visible.
Checks if the FieldConfigScheme
is visible under the given
QueryContext
queryContext | the QueryContext of the search and user. |
---|---|
fieldConfigScheme | the scheme to to check is visible |
FieldConfigScheme
is visible under the QueryContext
, false otherwise.