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

java.lang.Object
  extended by com.atlassian.jira.issue.customfields.impl.AbstractCustomFieldType
      extended by com.atlassian.jira.issue.customfields.impl.AbstractMultiSettableCFType
All Implemented Interfaces:
CustomFieldType, MultipleCustomFieldType, MultipleSettableCustomFieldType
Direct Known Subclasses:
CascadingSelectCFType, MultiSelectCFType

public abstract class AbstractMultiSettableCFType
extends AbstractCustomFieldType
implements MultipleSettableCustomFieldType


Field Summary
protected  CustomFieldValuePersister customFieldValuePersister
           
protected  GenericConfigManager genericConfigManager
           
protected  OptionsManager optionsManager
           
 
Fields inherited from interface com.atlassian.jira.issue.customfields.CustomFieldType
DEFAULT_VALUE_TYPE
 
Constructor Summary
protected AbstractMultiSettableCFType(OptionsManager optionsManager, CustomFieldValuePersister customFieldValuePersister, GenericConfigManager genericConfigManager)
           
 
Method Summary
 Options getOptions(FieldConfig fieldConfig, JiraContextNode jiraContextNode)
           
 Set remove(CustomField field)
          Performs additional tasks when a CustomField of this type is being removed CustomField.remove().
 
Methods inherited from class com.atlassian.jira.issue.customfields.impl.AbstractCustomFieldType
assertObjectImplementsType, availableForBulkEdit, getChangelogString, getConfigurationItemTypes, getDescription, getDescriptor, getI18nBean, getKey, getName, getRelatedIndexers, getVelocityParameters, getVelocityParameters, init, isRenderable, valuesEqual
 
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.MultipleSettableCustomFieldType
getIssueIdsWithValue, removeValue
 
Methods inherited from interface com.atlassian.jira.issue.customfields.CustomFieldType
availableForBulkEdit, createValue, getChangelogString, getChangelogValue, getConfigurationItemTypes, getDefaultValue, getDescription, getDescriptor, getKey, getName, getRelatedIndexers, getSingularObjectFromString, getStringFromSingularObject, getStringValueFromCustomFieldParams, getValueFromCustomFieldParams, getValueFromIssue, getVelocityParameters, init, isRenderable, setDefaultValue, updateValue, validateFromParams, valuesEqual
 

Field Detail

optionsManager

protected final OptionsManager optionsManager

customFieldValuePersister

protected final CustomFieldValuePersister customFieldValuePersister

genericConfigManager

protected final GenericConfigManager genericConfigManager
Constructor Detail

AbstractMultiSettableCFType

protected AbstractMultiSettableCFType(OptionsManager optionsManager,
                                      CustomFieldValuePersister customFieldValuePersister,
                                      GenericConfigManager genericConfigManager)
Method Detail

remove

public Set remove(CustomField field)
Description copied from interface: CustomFieldType
Performs additional tasks when a CustomField of this type is being removed CustomField.remove(). This includes removal of values & options.

Specified by:
remove in interface CustomFieldType
Parameters:
field - The custom field that is being removed, so any data stored for any issues for that field can be deleted.
Returns:
Set of issue ids that has been affected

getOptions

public Options getOptions(FieldConfig fieldConfig,
                          JiraContextNode jiraContextNode)
Specified by:
getOptions in interface MultipleCustomFieldType


Copyright © 2002-2008 Atlassian. All Rights Reserved.