public class ContextImpl extends Object implements Context
Modifier and Type | Field and Description |
---|---|
static String |
SORT_FIELD |
static String |
SORT_ORDER |
Constructor and Description |
---|
ContextImpl(String name,
BoardContext boardContext) |
ContextImpl(String name,
BoardContext boardContext,
com.atlassian.jira.user.ApplicationUser owner) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.jira.jql.builder.JqlQueryBuilder |
applyIssueSorter(com.atlassian.jira.jql.builder.JqlQueryBuilder queryBuilder,
boolean generatePrettyQuery)
Apply the sorter to the query builder.
|
com.atlassian.query.Query |
applyIssueSorter(com.atlassian.query.Query query,
boolean byName) |
Context |
cloneAs(String name) |
int |
compareTo(Context otherCtx) |
boolean |
equals(Object otherCtx) |
BoardContext |
getBoardContext() |
Filter |
getFilter() |
Filter |
getHighLight() |
String |
getId() |
String |
getName() |
String |
getOwner() |
BoardContext |
getOwnerBoardContext() |
com.atlassian.query.order.SortOrder |
getSortByOrder() |
IssueField |
getSortField() |
String |
getSortOrder() |
int |
hashCode() |
boolean |
isDefault() |
boolean |
isDeletable() |
boolean |
isDoneFilterOn() |
boolean |
isEditable() |
boolean |
isOwner(com.atlassian.jira.user.ApplicationUser user) |
boolean |
isRankable() |
boolean |
isRankedBy(GlobalRankField rank) |
boolean |
isRenamable() |
boolean |
isSelected(String view) |
boolean |
isSharable() |
boolean |
isShared() |
boolean |
isSortedBy(String fieldId) |
void |
save() |
void |
setName(String name) |
void |
setSortField(String field) |
void |
setSortOrder(String order) |
void |
trash() |
public static final String SORT_FIELD
public static final String SORT_ORDER
public ContextImpl(String name, BoardContext boardContext, com.atlassian.jira.user.ApplicationUser owner)
public ContextImpl(String name, BoardContext boardContext)
public BoardContext getOwnerBoardContext()
public BoardContext getBoardContext()
public Filter getHighLight()
getHighLight
in interface Context
public boolean isDoneFilterOn()
isDoneFilterOn
in interface Context
public com.atlassian.query.Query applyIssueSorter(com.atlassian.query.Query query, boolean byName)
applyIssueSorter
in interface Context
public com.atlassian.jira.jql.builder.JqlQueryBuilder applyIssueSorter(com.atlassian.jira.jql.builder.JqlQueryBuilder queryBuilder, boolean generatePrettyQuery)
Context
applyIssueSorter
in interface Context
public boolean isRankedBy(GlobalRankField rank)
isRankedBy
in interface Context
public boolean isRankable()
isRankable
in interface Context
public IssueField getSortField()
getSortField
in interface Context
public boolean isSortedBy(String fieldId)
isSortedBy
in interface Context
public String getSortOrder()
getSortOrder
in interface Context
public com.atlassian.query.order.SortOrder getSortByOrder()
getSortByOrder
in interface Context
public void setSortField(String field)
setSortField
in interface Context
public void setSortOrder(String order)
setSortOrder
in interface Context
public boolean isSelected(String view)
isSelected
in interface Context
public boolean isDeletable()
isDeletable
in interface Context
public boolean isEditable()
isEditable
in interface Context
public boolean isSharable()
isSharable
in interface Context
public boolean isRenamable()
isRenamable
in interface Context
public boolean isOwner(com.atlassian.jira.user.ApplicationUser user)
public int compareTo(Context otherCtx)
compareTo
in interface Comparable<Context>
Copyright © 2007–2015 Atlassian. All rights reserved.