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
A utility class for building the urls required by the fragments
- Since:
- v4.0
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractUrlFragmentUtil(SearchRequest searchRequest, ApplicationUser user, ApplicationProperties applicationProperties) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract ClausegetDomainClause(T domain) Create the clause to search for a specific domain objectprotected abstract OrderBy
-
Constructor Details
-
AbstractUrlFragmentUtil
public AbstractUrlFragmentUtil(SearchRequest searchRequest, ApplicationUser user, ApplicationProperties applicationProperties)
-
-
Method Details
-
getDomainClause
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
- Returns:
- the order by clause that sorts by the field
-
getUrl
-
getAllUrl
-