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 Details

  • 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

      @Nullable ConfigurationItemAccessLevel 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

      String getViewHtml(CustomField field, Object value, Issue issue, FieldLayoutItem fieldLayoutItem)
    • getViewHtml

      String getViewHtml(CustomField field, Object value, Issue issue, FieldLayoutItem fieldLayoutItem, Map displayParameters)
    • getViewXML

      String getViewXML(CustomField field, Issue issue, FieldLayoutItem fieldLayoutItem, boolean raw)
    • getDefaultViewHtml

      String getDefaultViewHtml(FieldConfig fieldConfig, FieldLayoutItem fieldLayoutItem)
    • getValidSearcherKeys

      Set<String> 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