com.atlassian.jira.issue.fields
Class FixVersionsSystemField
java.lang.Object
com.atlassian.jira.issue.fields.AbstractField
com.atlassian.jira.issue.fields.AbstractOrderableField
com.atlassian.jira.issue.fields.AbstractOrderableNavigableFieldImpl
com.atlassian.jira.issue.fields.AbstractVersionsSystemField
com.atlassian.jira.issue.fields.FixVersionsSystemField
- All Implemented Interfaces:
- Field, HideableField, NavigableField, OrderableField, RequirableField, SearchableField, Comparable
public class FixVersionsSystemField
- extends AbstractVersionsSystemField
Copyright (c) 2002-2004
All rights reserved.
Methods inherited from class com.atlassian.jira.issue.fields.AbstractVersionsSystemField |
availableForBulkEdit, createValue, getColumnViewHtml, getCreateHtml, getCurrentVersionIds, getDefaultSortOrder, getDefaultValue, getEditHtml, getPossibleVersions, getRelevantParams, getValueFromParams, getVersionManager, getViewHtml, getViewHtml, hasValue, needsMove, populateDefaults, populateForMove, populateFromIssue, populateParamsFromString, updateValue, validateParams |
Methods inherited from class com.atlassian.jira.issue.fields.AbstractOrderableField |
getApplicationProperties, getBulkEditHtml, getCreateHtml, getEditHtml, getPermissionManager, getVelocityParams, getVelocityParams, getViewHtml, hasBulkUpdatePermission, hasPermission, isHidden, populateFromParams, rendererTypesEqual, renderTemplate, valuesEqual |
FixVersionsSystemField
public FixVersionsSystemField(com.atlassian.velocity.VelocityManager velocityManager,
ApplicationProperties applicationProperties,
VersionManager versionManager,
PermissionManager permissionManager,
JiraAuthenticationContext authenticationContext,
FixForVersionStatisticsMapper fixForVersionStatisticsMapper,
VersionHelperBean versionHelperBean)
isShown
public boolean isShown(Issue issue)
- Description copied from interface:
OrderableField
- Tests field specific way to determine if it should be shown or not
getCurrentVersions
protected Collection getCurrentVersions(Issue issue)
- Specified by:
getCurrentVersions
in class AbstractVersionsSystemField
getArchivedVersionsFieldTitle
protected String getArchivedVersionsFieldTitle()
- Specified by:
getArchivedVersionsFieldTitle
in class AbstractVersionsSystemField
getArchivedVersionsFieldSearchParam
protected String getArchivedVersionsFieldSearchParam()
- Specified by:
getArchivedVersionsFieldSearchParam
in class AbstractVersionsSystemField
getUnreleasedVersionsFirst
protected boolean getUnreleasedVersionsFirst()
- Specified by:
getUnreleasedVersionsFirst
in class AbstractVersionsSystemField
addFieldRequiredErrorMessage
protected void addFieldRequiredErrorMessage(Issue issue,
ErrorCollection errorCollection,
I18nHelper i18n)
- Specified by:
addFieldRequiredErrorMessage
in class AbstractVersionsSystemField
getModifiedWithoutPermissionErrorMessage
protected String getModifiedWithoutPermissionErrorMessage(I18nHelper i18n)
- Specified by:
getModifiedWithoutPermissionErrorMessage
in class AbstractVersionsSystemField
updateIssue
public void updateIssue(FieldLayoutItem fieldLayoutItem,
MutableIssue issue,
Map fieldValueHolder)
- Description copied from interface:
OrderableField
- Record the value on the issue (not saving it to the database, see updateValue)
removeValue
public void removeValue(MutableIssue issue)
- Description copied from interface:
OrderableField
- Removes the value for the given issue.
Returns a list of change items for the removed value.
getAssociatedSearchers
public List getAssociatedSearchers()
- Description copied from interface:
SearchableField
- Returns a list of searchers associated with field
- Returns:
- List of @
Class
objects of type @IssueSearcher
. Empty list if no searchers are required.
Must not be null
getIssueRelationName
protected String getIssueRelationName()
- Specified by:
getIssueRelationName
in class AbstractVersionsSystemField
getChangeItemFieldName
protected String getChangeItemFieldName()
- Specified by:
getChangeItemFieldName
in class AbstractVersionsSystemField
getColumnHeadingKey
public String getColumnHeadingKey()
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.
- Returns:
- A sorter that can be used to sort this field, or null depending on the value of
NavigableField.getSortComparatorSource()
- See Also:
DocumentIssueImpl
,
MappedSortComparator
Copyright © 2002-2007 Atlassian. All Rights Reserved.