com.atlassian.jira.plugin.projectpanel.fragment.impl
Class AbstractUrlFragmentUtil<T>
java.lang.Object
com.atlassian.jira.plugin.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractUrlFragmentUtil
public AbstractUrlFragmentUtil(SearchRequest searchRequest,
com.atlassian.crowd.embedded.api.User user,
ApplicationProperties applicationProperties)
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()
Copyright © 2002-2013 Atlassian. All Rights Reserved.