Interface CustomFieldTypeModuleDescriptor
- All Superinterfaces:
JiraResourcedModuleDescriptor<CustomFieldType>,com.atlassian.plugin.ModuleDescriptor<CustomFieldType>,com.atlassian.plugin.Resourced,com.atlassian.plugin.ScopeAware
- All Known Implementing Classes:
CustomFieldTypeModuleDescriptorImpl
@PublicApi
public interface CustomFieldTypeModuleDescriptor
extends JiraResourcedModuleDescriptor<CustomFieldType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final StringThe name of the attribute to specify for a custom field type when you want new instances of this custom field type to only be created by certain users.static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Method Summary
Modifier and TypeMethodDescriptiongetBulkMoveHtml(FieldConfig config, Map customFieldValuesHolder, Issue issue, webwork.action.Action action, Map displayParameters, FieldLayoutItem fieldLayoutItem, Map<Long, BulkMoveHelper.DistinctValueResult> distinctValues, BulkMoveHelper bulkMoveHelper) The set of categories that this CustomFieldType has declared as being a member of.getColumnViewHtml(CustomField field, Object value, Issue issue, Map displayParams, FieldLayoutItem fieldLayoutItem) getDefaultViewHtml(FieldConfig fieldConfig, FieldLayoutItem fieldLayoutItem) getEditDefaultHtml(FieldConfig config, Map customFieldValuesHolder, Issue issue, webwork.action.Action action, Map displayParameters, FieldLayoutItem fieldLayoutItem) getEditHtml(FieldConfig config, Map customFieldValuesHolder, Issue issue, webwork.action.Action action, Map displayParameters, FieldLayoutItem fieldLayoutItem) Returns the list of Searchers that this CustomFieldType declares as usable to search itself.getViewHtml(CustomField field, Object value, Issue issue, FieldLayoutItem fieldLayoutItem) getViewHtml(CustomField field, Object value, Issue issue, FieldLayoutItem fieldLayoutItem, Map displayParameters) getViewXML(CustomField field, Issue issue, FieldLayoutItem fieldLayoutItem, boolean raw) booleanbooleanbooleanIs this custom field type a "managed" type? The provider of this type may want to control the circumstances in which it is used.booleanbooleanMethods inherited from interface com.atlassian.jira.plugin.JiraResourcedModuleDescriptor
getHtml, getHtml, getI18nBean, writeHtmlMethods inherited from interface com.atlassian.plugin.ModuleDescriptor
destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getDisplayName, getI18nNameKey, getKey, getMinJavaVersion, getModule, getModuleClass, getName, getParams, getPlugin, getPluginKey, hashCode, init, isBroken, isEnabled, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion, setBrokenMethods inherited from interface com.atlassian.plugin.Resourced
getResourceDescriptor, getResourceDescriptors, getResourceLocationMethods inherited from interface com.atlassian.plugin.ScopeAware
getScopeKey
-
Field Details
-
TEMPLATE_NAME_VIEW
- See Also:
-
TEMPLATE_NAME_EDIT
- See Also:
-
TEMPLATE_NAME_EDIT_DEFAULT
- See Also:
-
TEMPLATE_NAME_BULK_MOVE
- See Also:
-
TEMPLATE_NAME_XML
- See Also:
-
TEMPLATE_NAME_COLUMN
- See Also:
-
VELOCITY_VALUE_PARAM
- See Also:
-
VELCITY_ACTION_PARAM
- See Also:
-
MANAGED_FLAG
The name of the attribute to specify for a custom field type when you want new instances of this custom field type to only be created by certain users. The values of this attribute are the string versions ofConfigurationItemAccessLevel.- See Also:
-
MANAGED_DESC
- See Also:
-
-
Method Details
-
isViewTemplateExists
boolean isViewTemplateExists() -
isColumnViewTemplateExists
boolean isColumnViewTemplateExists() -
isEditTemplateExists
boolean isEditTemplateExists() -
isXMLTemplateExists
boolean isXMLTemplateExists() -
isTypeManaged
boolean isTypeManaged()Is this custom field type a "managed" type? The provider of this type may want to control the circumstances in which it is used.- Returns:
- boolean
-
getManagedAccessLevel
- Returns:
- the level which the user has to be to be able to create new instances of this custom field type; may return null if level was not specified or was specified incorrectly
-
getManagedDescriptionKey
String getManagedDescriptionKey()- Returns:
- the I18n key of the description explaining the reason this type is managed.
-
getEditHtml
String getEditHtml(FieldConfig config, Map customFieldValuesHolder, Issue issue, webwork.action.Action action, Map displayParameters, FieldLayoutItem fieldLayoutItem) -
getBulkMoveHtml
String getBulkMoveHtml(FieldConfig config, Map customFieldValuesHolder, Issue issue, webwork.action.Action action, Map displayParameters, FieldLayoutItem fieldLayoutItem, Map<Long, BulkMoveHelper.DistinctValueResult> distinctValues, BulkMoveHelper bulkMoveHelper) -
getEditDefaultHtml
String getEditDefaultHtml(FieldConfig config, Map customFieldValuesHolder, Issue issue, webwork.action.Action action, Map displayParameters, FieldLayoutItem fieldLayoutItem) -
getColumnViewHtml
String getColumnViewHtml(CustomField field, Object value, Issue issue, Map displayParams, FieldLayoutItem fieldLayoutItem) -
getViewHtml
-
getViewHtml
String getViewHtml(CustomField field, Object value, Issue issue, FieldLayoutItem fieldLayoutItem, Map displayParameters) -
getViewXML
-
getDefaultViewHtml
-
getValidSearcherKeys
Returns the list of Searchers that this CustomFieldType declares as usable to search itself.Note that it is also possible for a CustomFieldSearcher to declare a CustomFieldType that it is able to search on.
- Returns:
- the list of Searchers that this CustomFieldType declares as usable to search itself.
-
getCategories
Set<CustomFieldTypeCategory> getCategories()The set of categories that this CustomFieldType has declared as being a member of. -
getRestSerializers
Map<Integer,CustomFieldRestSerializer> getRestSerializers()- Returns:
- the map of
CustomFieldRestSerializers which serialize customfield to its another json representation. Keys of the returned map are names of these alternative representations. - Since:
- v6.4
-