Class IssueNavAction
java.lang.Object
webwork.action.ActionSupport
com.atlassian.jira.web.action.JiraWebActionSupport
com.atlassian.jira.web.action.ProjectActionSupport
com.atlassian.jira.web.action.IssueActionSupport
com.atlassian.jira.plugin.issuenav.IssueNavAction
- All Implemented Interfaces:
OperationContext,ErrorCollection,I18nHelper,HttpServletVariables,AuthorizationSupport,Serializable,webwork.action.Action,webwork.action.CommandDriven,webwork.action.IllegalArgumentAware
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
JiraWebActionSupport.MessageTypeNested classes/interfaces inherited from interface com.atlassian.jira.util.ErrorCollection
ErrorCollection.ReasonNested classes/interfaces inherited from interface com.atlassian.jira.util.I18nHelper
I18nHelper.BeanFactory -
Field Summary
Fields inherited from class com.atlassian.jira.web.action.IssueActionSupport
attachmentManagerFields inherited from class com.atlassian.jira.web.action.ProjectActionSupport
projectManagerFields inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
ISSUE_NOT_FOUND_RESULT, log, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters, SECURITY_BREACH_RESULTFields inherited from class webwork.action.ActionSupport
command, errorMap, errorMessagesFields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS -
Constructor Summary
ConstructorsConstructorDescriptionIssueNavAction(ApplicationProperties applicationProperties, KeyboardShortcutManager keyboardShortcutManager, IssueService issueService, IssueTableService issueTableService, VelocityRequestContextFactory velocityRequestContextFactory, JqlStringSupport jqlStringSupport, UserPreferencesManager preferencesManager, SessionSearchService sessionSearchService, SimpleLinkManager simpleLinkManager, DefaultSearchUtil defaultSearchUtil, FeatureManager featureManager, UserSearchModeService userSearchModeService, SearcherService searcherService, SearchRequestService searchRequestService, SystemFilterService systemFilterService, AvatarService avatarService, IssueNavigatorSearchResultsHelper searchResultsHelper, BeanBuilderFactory beanBuilderFactory, WebPanelMapperUtil webPanelMapperUtil, IssueMetadataHelper issueMetadataHelper, IssueManager issueManager, ActionUtilsService actionUtilsService, com.atlassian.plugin.web.api.DynamicWebInterfaceManager webInterfaceManager, ModuleWebComponent moduleWebComponent, UserIssueHistoryManager userIssueHistoryManager, PreferredSearchLayoutService preferredSearchLayoutService, JiraPageBuilderService jiraPageBuilderService, com.atlassian.jira.plugin.issuenav.FilterDeletionWarningViewProviderAdapter filterDeletionWarningViewProviderAdapter, RequestAssetPhaseStore assetPhaseStore, PageBuildingStrategyFactory pageBuildingStrategyFactory, com.atlassian.plugins.rest.api.json.JaxbJsonMarshaller jaxbJsonMarshaller) -
Method Summary
Modifier and TypeMethodDescriptionfinal StringdoIssue()Returns the static HTML for the IssueTable.Returns the JSON representation of the IssueTable sans the table HTML property.getJql()intdoubleReturns a JSON object containing the selected issue's ID and key, if there is a selected issue.com.atlassian.soy.renderer.SoyTemplateRendererbooleanbooleanbooleanbooleanbooleanbooleanvoidvoidsetIssueKey(String issueKey) voidvoidsetPrefetch(boolean prefetch) voidsetQuickSearchQuery(String quickSearchQuery) voidsetServerRenderedViewIssue(boolean serverRenderedViewIssue) voidsetStartIndex(Integer startIndex) Methods inherited from class com.atlassian.jira.web.action.IssueActionSupport
addIssueToHistory, getAttachmentManager, getCurrentDateTimeInUsersTimezone, getCurrentFailedLoginCount, getCurrentJQL, getCustomFieldManager, getDaysPerWeek, getEverLoggedIn, getFormToken, getHoursPerDay, getIssueManager, getLastFailedLogin, getLastLogin, getLoginCount, getPossibleVersions, getPossibleVersionsReleasedFirst, getPrettyDuration, getPreviousLogin, getSearchRequest, getSelectedIssueId, getSessionPagerFilterManager, getSessionSearchRequestManager, getSessionSearchRequestManagerFactory, getSessionSelectedIssueManager, getTotalFailedLoginCount, getUrlEncoded, getWorkflow, getWorkflowTransitionDescription, getWorkflowTransitionDisplayName, isCustomFieldHidden, isElevatedSecurityCheckRequired, isFieldHidden, isFieldHidden, isTimeTrackingEnabled, setFormToken, setSearchRequest, setSelectedIssueId, updateSearchRequestMethods inherited from class com.atlassian.jira.web.action.ProjectActionSupport
getBrowsableProjects, getSelectedProjectId, setSelectedProject, setSelectedProjectMethods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, addMessageToResponse, addReason, addReasons, checkIfUrlIsAllowed, execute, forceRedirect, getActionName, getActionNameJspa, getAdministratorContactLink, getApplicationProperties, getAuthorizationSupport, getComponentInstanceOfType, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDefaultResourceBundle, getDescTranslation, getDescTranslation, getDmyDateFormatter, getEmptyResponse, getErrorMessages, getErrors, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getHttpRequest, getHttpResponse, getHttpSession, getI18nHelper, getJiraContactHelper, getJiraServiceContext, getKeysForPrefix, getLanguage, getLocale, getLoggedInApplicationUser, getLoggedInUser, getNameTranslation, getNameTranslation, getOfBizDelegator, getOutboundWhitelistProvider, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirect, getRedirectSanitiser, getRequestSourceType, getResourceBundle, getResult, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getServletContext, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTimeFormat, getUnescapedText, getUntransformedRawText, getUriValidator, getUserFullName, getUserManager, getUserPreferences, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasAnyErrors, hasErrorMessage, hasErrorMessageByKey, hasGlobalPermission, hasGlobalPermission, hasIssuePermission, hasIssuePermission, hasIssuePermission, hasPermission, hasProjectPermission, hasProjectPermission, htmlEncode, insertContextPath, isAdministrator, isIndexing, isInlineDialogMode, isKeyDefined, isSystemAdministrator, isUserExists, isUserExistsByKey, isUserExistsByName, removeKeyOrAddError, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId, tagMauEventWithApplication, tagMauEventWithProject, urlEncodeMethods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, doExecute, doValidation, getCommandName, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface webwork.action.CommandDriven
getCommandName, setCommandMethods inherited from interface com.atlassian.jira.util.ErrorCollection
addError, addErrorMessage, setErrorMessages
-
Constructor Details
-
Method Details
-
doDefault
- Overrides:
doDefaultin classwebwork.action.ActionSupport- Throws:
Exception
-
isInSearchContext
public boolean isInSearchContext() -
isJqlAutocompleteEagerlyLoaded
public boolean isJqlAutocompleteEagerlyLoaded() -
getHashURL
- Returns:
- The /i URL to redirect to (set in
doNav()).
-
getClientRedirectResourcesHtml
- Returns:
- HTML to include resources required by the "redirect-from-i" page.
-
getCriteriaJson
-
getSystemFiltersJson
-
getSelectedIssueJson
Returns a JSON object containing the selected issue's ID and key, if there is a selected issue.- Returns:
- a string of JSON.
-
getIssueOperations
-
getPluggableItems
-
getRemoteUserAvatarUrl
-
doIssue
- Throws:
Exception
-
getRenderUtil
-
renderActivityModule
-
getIssueSearchAndViewRenderData
-
isServerRenderedViewIssue
public boolean isServerRenderedViewIssue() -
setServerRenderedViewIssue
public void setServerRenderedViewIssue(boolean serverRenderedViewIssue) -
isEnableShortcutLinks
public boolean isEnableShortcutLinks() -
getSearch
- Throws:
IOException
-
getVisibleFieldNamesJson
- Throws:
JSONException
-
getVisibleFunctionNamesJson
- Throws:
JSONException
-
getJqlReservedWordsJson
- Throws:
JSONException
-
getJqlAutocompleteQueryDelay
public double getJqlAutocompleteQueryDelay() -
getJqlAutocompleteMinQueryLength
public int getJqlAutocompleteMinQueryLength() -
getIssueKey
-
setIssueKey
-
getUserSearchMode
-
getAdvancedSearchHelpPath
-
getIssueSearchHelpPath
-
getJql
-
setJql
- Parameters:
jql- the requested JQL
-
isJqlRequested
public boolean isJqlRequested()- Returns:
- true if JQL was requested; false otherwise, e.g. when JQL was obtained from session or was not set at all
-
getFilter
-
setFilter
-
getStartIndex
-
setStartIndex
-
getQuickSearchQuery
-
setQuickSearchQuery
-
isPrefetch
public boolean isPrefetch() -
setPrefetch
public void setPrefetch(boolean prefetch) -
getFieldValuesHolder
- Specified by:
getFieldValuesHolderin interfaceOperationContext
-
getIssueOperation
- Specified by:
getIssueOperationin interfaceOperationContext
-
doClearSorts
-
renderSplitView
- Throws:
com.atlassian.soy.renderer.SoyException
-
getSoyRenderer
public com.atlassian.soy.renderer.SoyTemplateRenderer getSoyRenderer()
-