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

java.lang.Object
  extended bycom.atlassian.jira.issue.customfields.impl.AbstractCustomFieldType
      extended bycom.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  CustomFieldPersister customFieldPersister
           
protected  OptionsManager optionsManager
           
 
Constructor Summary
protected AbstractMultiSettableCFType(OptionsManager optionsManager, CustomFieldPersister customFieldPersister)
           
 
Method Summary
 Options getOptions(CustomField customField, ProjectIssueType projectIssueType)
           
 java.util.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, getDescription, getDescriptor, getKey, getName, getVelocityParameters, 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.MultipleSettableCustomFieldType
getIssueIdsWithValue, removeValue
 
Methods inherited from interface com.atlassian.jira.issue.customfields.CustomFieldType
createValue, getChangelogValue, getDefaultValue, getDescription, getDescriptor, getKey, getName, getSingularObjectFromString, getStringFromSingularObject, getValueFromCustomFieldParams, getValueFromIssue, getVelocityParameters, init, setDefaultValue, updateValue, validateFromParams
 

Field Detail

optionsManager

protected OptionsManager optionsManager

customFieldPersister

protected CustomFieldPersister customFieldPersister
Constructor Detail

AbstractMultiSettableCFType

protected AbstractMultiSettableCFType(OptionsManager optionsManager,
                                      CustomFieldPersister customFieldPersister)
Method Detail

remove

public java.util.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(CustomField customField,
                          ProjectIssueType projectIssueType)
Specified by:
getOptions in interface MultipleCustomFieldType


Copyright © 2002-2005 Atlassian. All Rights Reserved.