public abstract class AbstractVersionRenderer extends AbstractProjectConstantsRenderer<VersionSearchInput,com.atlassian.jira.issue.search.searchers.renderer.VersionsOptions> implements SearchRenderer
AbstractProjectConstantsRenderer.GenericProjectConstantsLabel
projectManager, searchConstants
EDIT_TEMPLATE_SUFFIX, VIEW_TEMPLATE_SUFFIX
Modifier | Constructor and Description |
---|---|
protected |
AbstractVersionRenderer(SimpleFieldSearchConstantsWithEmpty constants,
String searcherNameKey,
ProjectManager projectManager,
VersionManager versionManager,
VelocityRequestContextFactory velocityRequestContextFactory,
ApplicationProperties applicationProperties,
VelocityTemplatingEngine templatingEngine,
FieldVisibilityManager fieldVisibilityManager,
PermissionManager permissionManager,
boolean unreleasedOptionsFirst) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
hasAnyValidOption(ApplicationUser searcher,
SearchContext searchContext) |
boolean |
isShown(ApplicationUser user,
SearchContext searchContext)
Checks if the searcher should be shown in this context on the Issue Navigator.
|
enableRestApiMode, getEditHtml, getVelocityParams, getViewHtml, isRelevantForQuery, limitGroupChildOptions
getI18n, isRelevantForQuery, renderEditTemplate, renderViewTemplate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEditHtml, getViewHtml, isRelevantForQuery
protected AbstractVersionRenderer(SimpleFieldSearchConstantsWithEmpty constants, String searcherNameKey, ProjectManager projectManager, VersionManager versionManager, VelocityRequestContextFactory velocityRequestContextFactory, ApplicationProperties applicationProperties, VelocityTemplatingEngine templatingEngine, FieldVisibilityManager fieldVisibilityManager, PermissionManager permissionManager, boolean unreleasedOptionsFirst)
public boolean isShown(ApplicationUser user, SearchContext searchContext)
SearchRenderer
isShown
in interface SearchRenderer
isShown
in class AbstractProjectConstantsRenderer<VersionSearchInput,com.atlassian.jira.issue.search.searchers.renderer.VersionsOptions>
user
- performing this action.searchContext
- the context of the search (i.e. projects and issue types selected).protected boolean hasAnyValidOption(ApplicationUser searcher, SearchContext searchContext)
Copyright © 2002-2023 Atlassian. All Rights Reserved.