com.atlassian.jira.issue.fields
Class WorkRatioSystemField

java.lang.Object
  extended bycom.atlassian.jira.issue.fields.AbstractField
      extended bycom.atlassian.jira.issue.fields.NavigableFieldImpl
          extended bycom.atlassian.jira.issue.fields.WorkRatioSystemField
All Implemented Interfaces:
Comparable, Field, NavigableField, SearchableField

public class WorkRatioSystemField
extends NavigableFieldImpl
implements SearchableField


Field Summary
 
Fields inherited from class com.atlassian.jira.issue.fields.NavigableFieldImpl
applicationProperties, velocityManager
 
Fields inherited from class com.atlassian.jira.issue.fields.AbstractField
authenticationContext
 
Fields inherited from interface com.atlassian.jira.issue.fields.NavigableField
ORDER_ASCENDING, ORDER_DESCENDING, TEMPLATE_DIRECTORY_PATH
 
Constructor Summary
WorkRatioSystemField(com.atlassian.velocity.VelocityManager velocityManager, ApplicationProperties applicationProperties, JiraAuthenticationContext authenticationContext)
           
 
Method Summary
 List getAssociatedSearchers()
          Returns a list of searchers associated with field
 String getColumnViewHtml(FieldLayoutItem fieldLayoutItem, Map displayParams, Issue issue)
           
 LuceneFieldSorter getSorter()
          A sorter to be used when sorting columns in a table.
 long getWorkRatio(Issue issue)
           
 
Methods inherited from class com.atlassian.jira.issue.fields.NavigableFieldImpl
getApplicationProperties, getColumnCssClass, getColumnHeadingKey, getDefaultSortOrder, getHiddenFieldId, getSortComparatorSource, getVelocityParams, prettyPrintChangeHistory, prettyPrintChangeHistory, renderTemplate, setComparator, setDefaultSortOrder, setSortable
 
Methods inherited from class com.atlassian.jira.issue.fields.AbstractField
compareTo, equals, getAuthenticationContext, getId, getName, getNameKey, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.issue.fields.Field
getId, getName, getNameKey
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

WorkRatioSystemField

public WorkRatioSystemField(com.atlassian.velocity.VelocityManager velocityManager,
                            ApplicationProperties applicationProperties,
                            JiraAuthenticationContext authenticationContext)
Method Detail

getSorter

public LuceneFieldSorter getSorter()
Description copied from interface: NavigableField
A sorter to be used when sorting columns in a table. This sort uses the Lucene Document Collection and is therefore a lot faster than sorting the issues in memory.

Specified by:
getSorter in interface NavigableField
Returns:
A sorter that can be used to sort this field, or null depending on the value of NavigableField.getSortComparatorSource()
See Also:
DocumentIssueImpl, MappedSortComparator

getColumnViewHtml

public String getColumnViewHtml(FieldLayoutItem fieldLayoutItem,
                                Map displayParams,
                                Issue issue)
Specified by:
getColumnViewHtml in interface NavigableField

getWorkRatio

public long getWorkRatio(Issue issue)

getAssociatedSearchers

public List getAssociatedSearchers()
Description copied from interface: SearchableField
Returns a list of searchers associated with field

Specified by:
getAssociatedSearchers in interface SearchableField
Returns:
List of @Class objects of type @IssueSearcher. Empty list if no searchers are required. Must not be null


Copyright © 2002-2006 Atlassian. All Rights Reserved.