com.atlassian.jira.issue.customfields.impl
Class ReadOnlyCFType
java.lang.Object
com.atlassian.jira.issue.customfields.impl.AbstractCustomFieldType
com.atlassian.jira.issue.customfields.impl.AbstractSingleFieldType
com.atlassian.jira.issue.customfields.impl.StringCFType
com.atlassian.jira.issue.customfields.impl.TextCFType
com.atlassian.jira.issue.customfields.impl.ReadOnlyCFType
- All Implemented Interfaces:
- ProjectImportableCustomField, CustomFieldType, SortableCustomField<String>
public class ReadOnlyCFType
- extends TextCFType
Methods inherited from class com.atlassian.jira.issue.customfields.impl.AbstractCustomFieldType |
assertObjectImplementsType, 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 |
ReadOnlyCFType
public ReadOnlyCFType(CustomFieldValuePersister customFieldValuePersister,
StringConverter stringConverter,
GenericConfigManager genericConfigManager)
updateValue
public void updateValue(CustomField customField,
Issue issue,
Object value)
- Description copied from class:
AbstractSingleFieldType
- the value does exist, and the new value is different than the
existing one.
- Specified by:
updateValue
in interface CustomFieldType
- Overrides:
updateValue
in class AbstractSingleFieldType
getChangelogValue
public String getChangelogValue(CustomField field,
Object value)
- Description copied from interface:
CustomFieldType
- Returns a values to be stored in the change log, example is the id of the changed item.
- Specified by:
getChangelogValue
in interface CustomFieldType
- Overrides:
getChangelogValue
in class AbstractSingleFieldType
- Parameters:
field
- CustomField that the value belongs tovalue
- Transport Object representing the value instance of the CustomField
- Returns:
- Change log value.
availableForBulkEdit
public String availableForBulkEdit(BulkEditBean bulkEditBean)
- Description copied from interface:
CustomFieldType
- Allow the custom field type perform a specific check as to its availability for bulk editing.
- Specified by:
availableForBulkEdit
in interface CustomFieldType
- Overrides:
availableForBulkEdit
in class AbstractCustomFieldType
- Parameters:
bulkEditBean
- BulkEditBean
- Returns:
- null if available for bulk edit or appropriate unavailable message
Copyright © 2002-2009 Atlassian. All Rights Reserved.