com.pyxis.greenhopper.jira.configurations.context
Class ContextImpl
java.lang.Object
com.pyxis.greenhopper.jira.configurations.context.ContextImpl
- All Implemented Interfaces:
- Context, java.lang.Comparable<Context>
- Direct Known Subclasses:
- DefaultContext, MenuContext
public class ContextImpl
- extends java.lang.Object
- implements Context
Fields inherited from interface com.pyxis.greenhopper.jira.configurations.context.Context |
NONE, SPLITTER |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
SORT_FIELD
public static final java.lang.String SORT_FIELD
- See Also:
- Constant Field Values
SORT_ORDER
public static final java.lang.String SORT_ORDER
- See Also:
- Constant Field Values
ContextImpl
public ContextImpl(java.lang.String name,
BoardContext boardContext,
com.atlassian.crowd.embedded.api.User owner)
ContextImpl
public ContextImpl(java.lang.String name,
BoardContext boardContext)
getOwnerBoardContext
public BoardContext getOwnerBoardContext()
getName
public java.lang.String getName()
- Specified by:
getName
in interface Context
getId
public java.lang.String getId()
- Specified by:
getId
in interface Context
getBoardContext
public BoardContext getBoardContext()
getFilter
public Filter getFilter()
- Specified by:
getFilter
in interface Context
getHighLight
public Filter getHighLight()
- Specified by:
getHighLight
in interface Context
isDoneFilterOn
public boolean isDoneFilterOn()
- Specified by:
isDoneFilterOn
in interface Context
applyIssueSorter
public com.atlassian.query.Query applyIssueSorter(com.atlassian.query.Query query,
boolean byName)
- Specified by:
applyIssueSorter
in interface Context
applyIssueSorter
public com.atlassian.jira.jql.builder.JqlQueryBuilder applyIssueSorter(com.atlassian.jira.jql.builder.JqlQueryBuilder queryBuilder,
boolean generatePrettyQuery)
- Description copied from interface:
Context
- Apply the sorter to the query builder.
- Specified by:
applyIssueSorter
in interface Context
isRankedBy
public boolean isRankedBy(GlobalRankField rank)
- Specified by:
isRankedBy
in interface Context
isRankable
public boolean isRankable()
- Specified by:
isRankable
in interface Context
getSortField
public IssueField getSortField()
- Specified by:
getSortField
in interface Context
isSortedBy
public boolean isSortedBy(java.lang.String fieldId)
- Specified by:
isSortedBy
in interface Context
getSortOrder
public java.lang.String getSortOrder()
- Specified by:
getSortOrder
in interface Context
getSortByOrder
public com.atlassian.query.order.SortOrder getSortByOrder()
- Specified by:
getSortByOrder
in interface Context
getOwner
public java.lang.String getOwner()
- Specified by:
getOwner
in interface Context
setName
public void setName(java.lang.String name)
- Specified by:
setName
in interface Context
setSortField
public void setSortField(java.lang.String field)
- Specified by:
setSortField
in interface Context
setSortOrder
public void setSortOrder(java.lang.String order)
- Specified by:
setSortOrder
in interface Context
cloneAs
public Context cloneAs(java.lang.String name)
- Specified by:
cloneAs
in interface Context
trash
public void trash()
- Specified by:
trash
in interface Context
isDefault
public boolean isDefault()
- Specified by:
isDefault
in interface Context
isShared
public boolean isShared()
- Specified by:
isShared
in interface Context
isSelected
public boolean isSelected(java.lang.String view)
- Specified by:
isSelected
in interface Context
isDeletable
public boolean isDeletable()
- Specified by:
isDeletable
in interface Context
isEditable
public boolean isEditable()
- Specified by:
isEditable
in interface Context
isSharable
public boolean isSharable()
- Specified by:
isSharable
in interface Context
isRenamable
public boolean isRenamable()
- Specified by:
isRenamable
in interface Context
isOwner
public boolean isOwner(com.atlassian.crowd.embedded.api.User user)
- Specified by:
isOwner
in interface Context
save
public void save()
- Specified by:
save
in interface Context
compareTo
public int compareTo(Context otherCtx)
- Specified by:
compareTo
in interface java.lang.Comparable<Context>
equals
public boolean equals(java.lang.Object otherCtx)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
Copyright © 2007-2014 Atlassian. All Rights Reserved.