com.atlassian.jira.issue.fields
Class AbstractUserFieldImpl

java.lang.Object
  extended by com.atlassian.jira.issue.fields.AbstractField
      extended by com.atlassian.jira.issue.fields.AbstractOrderableField
          extended by com.atlassian.jira.issue.fields.AbstractOrderableNavigableFieldImpl
              extended by com.atlassian.jira.issue.fields.AbstractUserFieldImpl
All Implemented Interfaces:
Field, NavigableField, OrderableField, SearchableField, UserField, Comparable
Direct Known Subclasses:
AssigneeSystemField, ReporterSystemField

public abstract class AbstractUserFieldImpl
extends AbstractOrderableNavigableFieldImpl
implements UserField

Base class for single user-based fields

Since:
v5.2

Field Summary
 
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
 
Fields inherited from interface com.atlassian.jira.issue.fields.OrderableField
MOVE_ISSUE_PARAM_KEY, NO_HEADER_PARAM_KEY, TEMPLATE_DIRECTORY_PATH
 
Constructor Summary
protected AbstractUserFieldImpl(String id, String name, VelocityTemplatingEngine templatingEngine, ApplicationProperties applicationProperties, JiraAuthenticationContext authenticationContext, PermissionManager permissionManager, SearchHandlerFactory searchHandlerFactory, UserHistoryManager userHistoryManager)
           
 
Method Summary
protected  void addToUsedUserHistoryIfValueChanged(MutableIssue issue)
          If the value of this field has changed in the issue, the new user is added to the "used user" history
 
Methods inherited from class com.atlassian.jira.issue.fields.AbstractOrderableNavigableFieldImpl
getColumnCssClass, getHiddenFieldId, getSortComparatorSource, getSortFields, getVelocityParams, prettyPrintChangeHistory, prettyPrintChangeHistory
 
Methods inherited from class com.atlassian.jira.issue.fields.AbstractOrderableField
createAssociatedSearchHandler, getApplicationProperties, getBulkEditHtml, getCreateHtml, getEditHtml, getPermissionManager, getRelevantParams, getVelocityParams, getVelocityParams, getViewHtml, hasBulkUpdatePermission, hasParam, hasPermission, isHidden, populateFromParams, rendererTypesEqual, renderTemplate, valuesEqual
 
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.NavigableField
getColumnHeadingKey, getColumnViewHtml, getDefaultSortOrder, getSorter
 
Methods inherited from interface com.atlassian.jira.issue.fields.Field
getId, getName, getNameKey
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface com.atlassian.jira.issue.fields.OrderableField
availableForBulkEdit, canRemoveValueFromIssueObject, createValue, getCreateHtml, getDefaultValue, getEditHtml, getValueFromParams, getViewHtml, getViewHtml, hasValue, isShown, needsMove, populateDefaults, populateForMove, populateFromIssue, populateParamsFromString, removeValueFromIssueObject, updateIssue, updateValue, validateParams
 

Constructor Detail

AbstractUserFieldImpl

protected AbstractUserFieldImpl(String id,
                                String name,
                                VelocityTemplatingEngine templatingEngine,
                                ApplicationProperties applicationProperties,
                                JiraAuthenticationContext authenticationContext,
                                PermissionManager permissionManager,
                                SearchHandlerFactory searchHandlerFactory,
                                UserHistoryManager userHistoryManager)
Method Detail

addToUsedUserHistoryIfValueChanged

protected void addToUsedUserHistoryIfValueChanged(MutableIssue issue)
If the value of this field has changed in the issue, the new user is added to the "used user" history



Copyright © 2002-2012 Atlassian. All Rights Reserved.