Class AbstractUrlFragmentUtil<T>

java.lang.Object
com.atlassian.jira.projects.legacy.projectpanel.fragment.impl.AbstractUrlFragmentUtil<T>
Direct Known Subclasses:
StatusSummaryFragment.StatusUrlUtil, UnresolvedIssuesByAssigneeFragment.AssigneeUrlUtil, UnresolvedIssuesByComponentFragment.ComponentUrlUtil, UnresolvedIssuesByFixVersionFragment.FixVersionUrlUtil, UnresolvedIssuesByIssueTypeFragment.IssueTypeUrlUtil, UnresolvedIssuesByPriorityFragment.PriorityUrlUtil

public abstract class AbstractUrlFragmentUtil<T> extends Object
A utility class for building the urls required by the fragments
Since:
v4.0
  • Constructor Details

  • Method Details

    • getDomainClause

      protected abstract Clause getDomainClause(T domain)
      Create the clause to search for a specific domain object
      Parameters:
      domain - the domain object that needs to be searched for e.g. Version. Can be Null.
      Returns:
      the clause that searchs for issues with the field equal to the domain objects value, or if the domain object is Null, is empty. Never Null.
    • getOrderBy

      protected abstract OrderBy getOrderBy()
      Returns:
      the order by clause that sorts by the field
    • getUrl

      public String getUrl(T domain)
    • getAllUrl

      public String getAllUrl()