public class ImportIdLinkCFType extends NumberCFType implements SortableCustomField<Double>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ImportIdLinkCFType.Visitor<X> |
AbstractCustomFieldType.VisitorBase<X>| Modifier and Type | Field and Description |
|---|---|
static String |
BUGZILLA_ID_CF_NAME |
static String |
BUGZILLA_ID_SEARCHER |
static String |
BUGZILLA_ID_TYPE |
customFieldValuePersister, FIELD_TYPE_DATE, FIELD_TYPE_NUMBER, FIELD_TYPE_STRING, FIELD_TYPE_TEXT, genericConfigManager, logDEFAULT_VALUE_TYPE, RESOURCE_PREVIEW| Constructor and Description |
|---|
ImportIdLinkCFType(CustomFieldValuePersister customFieldValuePersister,
DoubleConverter doubleConverter,
ApplicationProperties applicationProperties,
GenericConfigManager genericConfigManager) |
| Modifier and Type | Method and Description |
|---|---|
Object |
accept(AbstractCustomFieldType.VisitorBase visitor) |
String |
availableForBulkEdit(BulkEditBean bulkEditBean)
Allow the custom field type perform a specific check as to its availability for bulk editing.
|
String |
getChangelogValue(CustomField field,
Double value)
Returns a values to be stored in the change log, example is the id of the changed item.
|
Map<String,Object> |
getVelocityParameters(Issue issue,
CustomField field,
FieldLayoutItem fieldLayoutItem)
The custom field may wish to pass parameters to the velocity context beyond the getValueFromIssue methods
(eg managers).
|
void |
updateValue(CustomField customField,
Issue issue,
Double value)
the value does exist, and the new value is different than the
existing one.
|
compare, getDatabaseType, getDbValueFromObject, getFieldTypeInfo, getJsonFromIssue, getJsonSchema, getObjectFromDbValue, getProjectImporter, getRepresentationFromIssue, getRestFieldOperation, getSingularObjectFromString, getStringFromSingularObjectcreateValue, getDefaultValue, getJsonDefaultValue, getStringValueFromCustomFieldParams, getValueFromCustomFieldParams, getValueFromIssue, getValueFromIssue, remove, setDefaultValue, validateFromParamsassertObjectImplementsType, getChangelogString, getConfigurationItemTypes, getDescription, getDescriptor, getI18nBean, getKey, getName, getRelatedIndexers, getVelocityParameters, init, isRenderable, valuesEqualclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparegetJsonDefaultValuegetCloneOptionConfiguration, getCloneValue, isUserInputRequiredForMovepublic static final String BUGZILLA_ID_TYPE
public static final String BUGZILLA_ID_SEARCHER
public static final String BUGZILLA_ID_CF_NAME
public ImportIdLinkCFType(CustomFieldValuePersister customFieldValuePersister, DoubleConverter doubleConverter, ApplicationProperties applicationProperties, GenericConfigManager genericConfigManager)
public void updateValue(CustomField customField, Issue issue, Double value)
AbstractSingleFieldTypeupdateValue in interface CustomFieldType<Double,Double>updateValue in class AbstractSingleFieldType<Double>customField - CustomField for which the value is being storedissue - The Issue to be stored against.value - Transport Object representing the value instance of the CustomField.@Nonnull public Map<String,Object> getVelocityParameters(Issue issue, CustomField field, FieldLayoutItem fieldLayoutItem)
CustomFieldTypeThe values are added to the context for all velocity views (edit, search, view, xml)
getVelocityParameters in interface CustomFieldType<Double,Double>getVelocityParameters in class NumberCFTypeissue - The issue currently in context (Note: this will be null in cases like 'default value')field - CustomFieldfieldLayoutItem - FieldLayoutItemMap of parameters to add to the velocity context, or an empty Map otherwise (never null)public String availableForBulkEdit(BulkEditBean bulkEditBean)
CustomFieldTypeavailableForBulkEdit in interface CustomFieldType<Double,Double>availableForBulkEdit in class AbstractCustomFieldType<Double,Double>bulkEditBean - BulkEditBeanpublic String getChangelogValue(CustomField field, Double value)
CustomFieldTypegetChangelogValue in interface CustomFieldType<Double,Double>getChangelogValue in class NumberCFTypefield - CustomField that the value belongs tovalue - Transport Object representing the value instance of the CustomFieldpublic Object accept(AbstractCustomFieldType.VisitorBase visitor)
accept in class NumberCFTypeCopyright © 2002-2021 Atlassian. All Rights Reserved.