com.pyxis.greenhopper.jira.configurations.context
Class SortOnlyOption

java.lang.Object
  extended by com.pyxis.greenhopper.jira.configurations.context.SortOnlyOption
All Implemented Interfaces:
Filter

public class SortOnlyOption
extends java.lang.Object
implements Filter


Field Summary
 
Fields inherited from interface com.pyxis.greenhopper.jira.configurations.context.Filter
FILTER, HIGHLIGHT, NONE
 
Constructor Summary
SortOnlyOption(Context context)
           
 
Method Summary
 com.atlassian.jira.jql.builder.JqlQueryBuilder apply(com.atlassian.crowd.embedded.api.User user, com.atlassian.jira.jql.builder.JqlQueryBuilder queryBuilder, boolean generatePrettyQuery)
          Apply the filter onto a given query.
 com.atlassian.query.Query apply(com.atlassian.crowd.embedded.api.User user, com.atlassian.query.Query query, boolean byNames)
           
 java.util.Collection<java.lang.String> getAssigneeFilter()
           
 java.util.Collection<java.lang.String> getComponentFilter()
           
 java.util.Collection<java.lang.String> getComponentFilterByNames()
           
 java.util.Collection<java.lang.Long> getJiraFilter()
           
 java.util.TreeSet<com.atlassian.jira.issue.search.SearchRequest> getJiraFilters()
           
 java.util.Collection<java.lang.String> getPriorityFilter()
           
 java.util.Collection<java.lang.String> getPriorityFilterByNames()
           
 java.util.Collection<java.lang.String> getStatusFilter()
           
 java.util.Collection<java.lang.String> getStatusFilterByNames()
           
 java.util.Collection<java.lang.String> getTypeFilter()
           
 java.util.Collection<java.lang.String> getTypeFilterByNames()
           
 boolean isDoneFilterOn()
          Needed for calculations in the quick filter.
 boolean isFilterOn()
           
 boolean isJiraFilterSelected()
           
 boolean isNoCmptSelected()
           
 boolean isPersonalFilterOn()
          Needed for calculations in the quick filter.
 boolean isUnresolvedFilterOn()
           
 void setAssigneeFiter(java.util.Collection<java.lang.String> assigneeFilter)
           
 void setComponentFilter(java.util.Collection<java.lang.String> componentFilters)
           
 void setDoneFilterOn(java.lang.Boolean doneFilterOn)
           
 void setFilterOn(java.lang.Boolean filterOn)
           
 void setJiraFilter(java.util.Collection<java.lang.Long> filterIds)
           
 void setPersonalFilterOn(java.lang.Boolean personalFilterOn)
           
 void setPriotityFilter(java.util.Collection<java.lang.String> priorityFilters)
           
 void setStatusFilter(java.util.Collection<java.lang.String> statusFilters)
           
 void setTypeFiter(java.util.Collection<java.lang.String> typeFilters)
           
 void setUnresolvedFilterOn(java.lang.Boolean unresolvedFilterOn)
           
 void trash()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SortOnlyOption

public SortOnlyOption(Context context)
Method Detail

apply

public com.atlassian.query.Query apply(com.atlassian.crowd.embedded.api.User user,
                                       com.atlassian.query.Query query,
                                       boolean byNames)
Specified by:
apply in interface Filter

apply

public com.atlassian.jira.jql.builder.JqlQueryBuilder apply(com.atlassian.crowd.embedded.api.User user,
                                                            com.atlassian.jira.jql.builder.JqlQueryBuilder queryBuilder,
                                                            boolean generatePrettyQuery)
Description copied from interface: Filter
Apply the filter onto a given query.

Specified by:
apply in interface Filter
Returns:
a query object that has the filter applied to it.

isFilterOn

public boolean isFilterOn()
Specified by:
isFilterOn in interface Filter

isPersonalFilterOn

public boolean isPersonalFilterOn()
Description copied from interface: Filter
Needed for calculations in the quick filter.

Specified by:
isPersonalFilterOn in interface Filter

isJiraFilterSelected

public boolean isJiraFilterSelected()
Specified by:
isJiraFilterSelected in interface Filter

isNoCmptSelected

public boolean isNoCmptSelected()
Specified by:
isNoCmptSelected in interface Filter

isUnresolvedFilterOn

public boolean isUnresolvedFilterOn()
Specified by:
isUnresolvedFilterOn in interface Filter

isDoneFilterOn

public boolean isDoneFilterOn()
Description copied from interface: Filter
Needed for calculations in the quick filter.

Specified by:
isDoneFilterOn in interface Filter

getTypeFilter

public java.util.Collection<java.lang.String> getTypeFilter()
Specified by:
getTypeFilter in interface Filter

getTypeFilterByNames

public java.util.Collection<java.lang.String> getTypeFilterByNames()

getPriorityFilter

public java.util.Collection<java.lang.String> getPriorityFilter()
Specified by:
getPriorityFilter in interface Filter

getPriorityFilterByNames

public java.util.Collection<java.lang.String> getPriorityFilterByNames()

getComponentFilter

public java.util.Collection<java.lang.String> getComponentFilter()
Specified by:
getComponentFilter in interface Filter

getComponentFilterByNames

public java.util.Collection<java.lang.String> getComponentFilterByNames()

getStatusFilter

public java.util.Collection<java.lang.String> getStatusFilter()
Specified by:
getStatusFilter in interface Filter

getStatusFilterByNames

public java.util.Collection<java.lang.String> getStatusFilterByNames()

getAssigneeFilter

public java.util.Collection<java.lang.String> getAssigneeFilter()
Specified by:
getAssigneeFilter in interface Filter

getJiraFilters

public java.util.TreeSet<com.atlassian.jira.issue.search.SearchRequest> getJiraFilters()
Specified by:
getJiraFilters in interface Filter

getJiraFilter

public java.util.Collection<java.lang.Long> getJiraFilter()
Specified by:
getJiraFilter in interface Filter

setFilterOn

public void setFilterOn(java.lang.Boolean filterOn)
Specified by:
setFilterOn in interface Filter

setUnresolvedFilterOn

public void setUnresolvedFilterOn(java.lang.Boolean unresolvedFilterOn)
Specified by:
setUnresolvedFilterOn in interface Filter

setDoneFilterOn

public void setDoneFilterOn(java.lang.Boolean doneFilterOn)
Specified by:
setDoneFilterOn in interface Filter

setPersonalFilterOn

public void setPersonalFilterOn(java.lang.Boolean personalFilterOn)
Specified by:
setPersonalFilterOn in interface Filter

setTypeFiter

public void setTypeFiter(java.util.Collection<java.lang.String> typeFilters)
Specified by:
setTypeFiter in interface Filter

setPriotityFilter

public void setPriotityFilter(java.util.Collection<java.lang.String> priorityFilters)
Specified by:
setPriotityFilter in interface Filter

setStatusFilter

public void setStatusFilter(java.util.Collection<java.lang.String> statusFilters)
Specified by:
setStatusFilter in interface Filter

setComponentFilter

public void setComponentFilter(java.util.Collection<java.lang.String> componentFilters)
Specified by:
setComponentFilter in interface Filter

setAssigneeFiter

public void setAssigneeFiter(java.util.Collection<java.lang.String> assigneeFilter)
Specified by:
setAssigneeFiter in interface Filter

setJiraFilter

public void setJiraFilter(java.util.Collection<java.lang.Long> filterIds)
Specified by:
setJiraFilter in interface Filter

trash

public void trash()
Specified by:
trash in interface Filter


Copyright © 2007-2014 Atlassian. All Rights Reserved.