com.atlassian.jira.issue.customfields.impl
Class AbstractMultiSettableCFType<T,S>

java.lang.Object
  extended by com.atlassian.jira.issue.customfields.impl.AbstractCustomFieldType<T,S>
      extended by com.atlassian.jira.issue.customfields.impl.AbstractMultiSettableCFType<T,S>
All Implemented Interfaces:
CustomFieldType<T,S>, MultipleCustomFieldType<T,S>, MultipleSettableCustomFieldType<T,S>

Deprecated. Implement the methods on MultipleSettableCustomFieldType yourself. Since v5.0. Also, consider extending AbstractSingleFieldType or AbstractMultiCFType for other benefits

@Deprecated
@PublicSpi
public abstract class AbstractMultiSettableCFType<T,S>
extends AbstractCustomFieldType<T,S>
implements MultipleSettableCustomFieldType<T,S>


Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.jira.issue.customfields.impl.AbstractCustomFieldType
AbstractCustomFieldType.Visitor<X>, AbstractCustomFieldType.VisitorBase<X>
 
Field Summary
protected  CustomFieldValuePersister customFieldValuePersister
          Deprecated.  
protected  GenericConfigManager genericConfigManager
          Deprecated.  
protected  OptionsManager optionsManager
          Deprecated.  
 
Fields inherited from interface com.atlassian.jira.issue.customfields.CustomFieldType
DEFAULT_VALUE_TYPE
 
Constructor Summary
protected AbstractMultiSettableCFType(OptionsManager optionsManager, CustomFieldValuePersister customFieldValuePersister, GenericConfigManager genericConfigManager)
          Deprecated.  
 
Method Summary
 Options getOptions(FieldConfig fieldConfig, JiraContextNode jiraContextNode)
          Deprecated. Returns all possible Options for this field.
 Set<Long> remove(CustomField field)
          Deprecated. Performs additional tasks when an entire CustomField of this type is being removed CustomField.remove().
 
Methods inherited from class com.atlassian.jira.issue.customfields.impl.AbstractCustomFieldType
accept, 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
Deprecated. 

customFieldValuePersister

protected final CustomFieldValuePersister customFieldValuePersister
Deprecated. 

genericConfigManager

protected final GenericConfigManager genericConfigManager
Deprecated. 
Constructor Detail

AbstractMultiSettableCFType

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

remove

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

Specified by:
remove in interface CustomFieldType<T,S>
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)
Deprecated. 
Description copied from interface: MultipleCustomFieldType
Returns all possible Options for this field.

Specified by:
getOptions in interface MultipleCustomFieldType<T,S>
Parameters:
fieldConfig - configuration for this field
jiraContextNode - context
Returns:
all possible Options for this field.


Copyright © 2002-2012 Atlassian. All Rights Reserved.