com.atlassian.jira.issue.customfields.impl
Class ImportIdLinkCFType

java.lang.Object
  extended by com.atlassian.jira.issue.customfields.impl.AbstractCustomFieldType
      extended by com.atlassian.jira.issue.customfields.impl.AbstractSingleFieldType
          extended by com.atlassian.jira.issue.customfields.impl.NumberCFType
              extended by com.atlassian.jira.issue.customfields.impl.ImportIdLinkCFType
All Implemented Interfaces:
CustomFieldType, SortableCustomField

public class ImportIdLinkCFType
extends NumberCFType
implements SortableCustomField


Field Summary
 
Fields inherited from class com.atlassian.jira.issue.customfields.impl.AbstractSingleFieldType
customFieldPersister, FIELD_TYPE_DATE, FIELD_TYPE_NUMBER, FIELD_TYPE_STRING, FIELD_TYPE_TEXT
 
Constructor Summary
ImportIdLinkCFType(CustomFieldPersister customFieldPersister, DoubleConverter doubleConverter, ApplicationProperties applicationProperties)
           
 
Method Summary
 java.util.Map getVelocityParameters(org.ofbiz.core.entity.GenericValue issue)
          The custom field may wish to pass parameters to the velocity context beyond the getValueFromIssue methods (eg managers).
 
Methods inherited from class com.atlassian.jira.issue.customfields.impl.NumberCFType
compare, getDatabaseType, getDbValueFromObject, getObjectFromDbValue, getSingularObjectFromString, getStringFromSingularObject
 
Methods inherited from class com.atlassian.jira.issue.customfields.impl.AbstractSingleFieldType
createValue, getChangelogValue, getDefaultValue, getValueFromCustomFieldParams, getValueFromIssue, remove, setDefaultValue, updateValue, validateFromParams
 
Methods inherited from class com.atlassian.jira.issue.customfields.impl.AbstractCustomFieldType
assertObjectImplementsType, getDescription, getDescriptor, getKey, getName, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.issue.customfields.SortableCustomField
compare
 

Constructor Detail

ImportIdLinkCFType

public ImportIdLinkCFType(CustomFieldPersister customFieldPersister,
                          DoubleConverter doubleConverter,
                          ApplicationProperties applicationProperties)
Method Detail

getVelocityParameters

public java.util.Map getVelocityParameters(org.ofbiz.core.entity.GenericValue issue)
Description copied from interface: CustomFieldType
The custom field may wish to pass parameters to the velocity context beyond the getValueFromIssue methods (eg managers).

The values are added to the context for all velocity views (edit, search, view, xml)

Specified by:
getVelocityParameters in interface CustomFieldType
Overrides:
getVelocityParameters in class NumberCFType
Parameters:
issue - The issue currently in context (Note: this will be null in cases like 'default value')
Returns:
A Map of parameters to add to the velocity context, or an empty Map otherwise (never null)


Copyright © 2002-2006 Atlassian. All Rights Reserved.