Class IssueNavAction

All Implemented Interfaces:
OperationContext, ErrorCollection, I18nHelper, HttpServletVariables, AuthorizationSupport, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware

public class IssueNavAction extends IssueActionSupport implements OperationContext
See Also:
  • Constructor Details

  • Method Details

    • doDefault

      public String doDefault() throws Exception
      Overrides:
      doDefault in class webwork.action.ActionSupport
      Throws:
      Exception
    • isInSearchContext

      public boolean isInSearchContext()
    • isJqlAutocompleteEagerlyLoaded

      public boolean isJqlAutocompleteEagerlyLoaded()
    • getHashURL

      public String getHashURL()
      Returns:
      The /i URL to redirect to (set in doNav()).
    • getClientRedirectResourcesHtml

      public String getClientRedirectResourcesHtml()
      Returns:
      HTML to include resources required by the "redirect-from-i" page.
    • getCriteriaJson

      public String getCriteriaJson()
    • getSystemFiltersJson

      public String getSystemFiltersJson()
    • getSelectedIssueJson

      public String 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

      public Collection<SimpleLink> getIssueOperations()
    • getPluggableItems

      public List<SimpleLink> getPluggableItems()
    • getRemoteUserAvatarUrl

      public String getRemoteUserAvatarUrl()
    • doIssue

      public String doIssue() throws Exception
      Throws:
      Exception
    • getRenderUtil

      public IssueWebPanelRenderUtil getRenderUtil()
    • renderActivityModule

      public String renderActivityModule()
    • getIssueSearchAndViewRenderData

      public Map<String,Object> getIssueSearchAndViewRenderData()
    • isServerRenderedViewIssue

      public boolean isServerRenderedViewIssue()
    • setServerRenderedViewIssue

      public void setServerRenderedViewIssue(boolean serverRenderedViewIssue)
    • isEnableShortcutLinks

      public boolean isEnableShortcutLinks()
    • getIssueNavHtml

      public Object getIssueNavHtml()
      Returns the static HTML for the IssueTable.
      Returns:
      String The Issue Table
    • getIssueNavJson

      public String getIssueNavJson() throws IOException
      Returns the JSON representation of the IssueTable sans the table HTML property.

      Removing the table HTML property saves on duplication and prevents the need to ensure there are no XSS vulnerabilities in the HTML stored in the JSON.

      Returns:
      String The JSON.
      Throws:
      IOException
    • getSearch

      public String getSearch() throws IOException
      Throws:
      IOException
    • getVisibleFieldNamesJson

      public String getVisibleFieldNamesJson() throws JSONException
      Throws:
      JSONException
    • getVisibleFunctionNamesJson

      public String getVisibleFunctionNamesJson() throws JSONException
      Throws:
      JSONException
    • getJqlReservedWordsJson

      public String getJqlReservedWordsJson() throws JSONException
      Throws:
      JSONException
    • getJqlAutocompleteQueryDelay

      public double getJqlAutocompleteQueryDelay()
    • getJqlAutocompleteMinQueryLength

      public int getJqlAutocompleteMinQueryLength()
    • getIssueKey

      public String getIssueKey()
    • setIssueKey

      public void setIssueKey(String issueKey)
    • getUserSearchMode

      public String getUserSearchMode()
    • getAdvancedSearchHelpPath

      public HelpUtil.HelpPath getAdvancedSearchHelpPath()
    • getIssueSearchHelpPath

      public HelpUtil.HelpPath getIssueSearchHelpPath()
    • getJql

      public String getJql()
    • setJql

      public void setJql(String jql)
      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

      public Long getFilter()
    • setFilter

      public void setFilter(Long filter)
    • getStartIndex

      public Integer getStartIndex()
    • setStartIndex

      public void setStartIndex(Integer startIndex)
    • getQuickSearchQuery

      public String getQuickSearchQuery()
    • setQuickSearchQuery

      public void setQuickSearchQuery(String quickSearchQuery)
    • isPrefetch

      public boolean isPrefetch()
    • setPrefetch

      public void setPrefetch(boolean prefetch)
    • getFieldValuesHolder

      public Map getFieldValuesHolder()
      Specified by:
      getFieldValuesHolder in interface OperationContext
    • getIssueOperation

      public IssueOperation getIssueOperation()
      Specified by:
      getIssueOperation in interface OperationContext
    • doClearSorts

      public final String doClearSorts()
    • renderSplitView

      public String renderSplitView() throws com.atlassian.soy.renderer.SoyException
      Throws:
      com.atlassian.soy.renderer.SoyException
    • getSoyRenderer

      public com.atlassian.soy.renderer.SoyTemplateRenderer getSoyRenderer()