public class CustomFieldTypeModuleDescriptorImpl extends AbstractJiraModuleDescriptor<CustomFieldType> implements CustomFieldTypeModuleDescriptor
| Modifier and Type | Field and Description |
|---|---|
static String |
REST_SERIALIZER_ELEMENT_NAME |
static String |
SERIALIZER_CLASS_ARGUMENT_NAME |
static String |
VERSION_NUMBER_ARGUMENT_NAME |
key, moduleClass, moduleClassName, moduleFactory, name, plugin, resourcesMANAGED_DESC, MANAGED_FLAG, TEMPLATE_NAME_BULK_MOVE, TEMPLATE_NAME_COLUMN, TEMPLATE_NAME_EDIT, TEMPLATE_NAME_EDIT_DEFAULT, TEMPLATE_NAME_VIEW, TEMPLATE_NAME_XML, VELCITY_ACTION_PARAM, VELOCITY_VALUE_PARAM| Constructor and Description |
|---|
CustomFieldTypeModuleDescriptorImpl(JiraAuthenticationContext authenticationContext,
RendererManager rendererManager,
com.atlassian.plugin.module.ModuleFactory moduleFactory,
CustomFieldDefaultVelocityParams customFieldDefaultVelocityParams) |
| Modifier and Type | Method and Description |
|---|---|
void |
enabled() |
String |
getBulkMoveHtml(FieldConfig config,
Map customFieldValuesHolder,
Issue issue,
webwork.action.Action action,
Map displayParameters,
FieldLayoutItem fieldLayoutItem,
Map<Long,BulkMoveHelper.DistinctValueResult> distinctValues,
BulkMoveHelper bulkMoveHelper) |
Set<CustomFieldTypeCategory> |
getCategories()
The set of categories that this CustomFieldType has declared as being a member of.
|
String |
getColumnViewHtml(CustomField field,
Object value,
Issue issue,
Map displayParams,
FieldLayoutItem fieldLayoutItem) |
String |
getDefaultViewHtml(FieldConfig fieldConfig,
FieldLayoutItem fieldLayoutItem) |
String |
getEditDefaultHtml(FieldConfig config,
Map customFieldValuesHolder,
Issue issue,
webwork.action.Action action,
Map displayParameters,
FieldLayoutItem fieldLayoutItem) |
String |
getEditHtml(FieldConfig config,
Map customFieldValuesHolder,
Issue issue,
webwork.action.Action action,
Map displayParameters,
FieldLayoutItem fieldLayoutItem) |
String |
getHtml(String resourceName,
Map<String,?> startingParams) |
ConfigurationItemAccessLevel |
getManagedAccessLevel() |
String |
getManagedDescriptionKey() |
Map<Integer,CustomFieldRestSerializer> |
getRestSerializers() |
Set<String> |
getValidSearcherKeys()
Returns the list of Searchers that this CustomFieldType declares as usable to search itself.
|
String |
getViewHtml(CustomField field,
Object value,
Issue issue,
FieldLayoutItem fieldLayoutItem) |
String |
getViewHtml(CustomField field,
Object value,
Issue issue,
FieldLayoutItem fieldLayoutItem,
Map displayParameters) |
String |
getViewXML(CustomField field,
Issue issue,
FieldLayoutItem fieldLayoutItem,
boolean raw) |
void |
init(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element) |
boolean |
isColumnViewTemplateExists() |
boolean |
isEditTemplateExists() |
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.
|
boolean |
isViewTemplateExists() |
boolean |
isXMLTemplateExists() |
assertResourceExists, createModule, createVelocityParams, disabled, getAuthenticationContext, getClassLoader, getDescription, getHtml, getI18nBean, getModule, getName, getText, getText, isResourceExist, writeHtmlassertModuleClassImplements, checkPermissions, destroy, equals, getCompleteKey, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceLocation, getScopeKey, hashCode, isBroken, isEnabled, isEnabledByDefault, isSystemModule, loadClass, provideValidationRules, satisfiesMinJavaVersion, setBroken, setPlugin, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetHtml, getI18nBean, writeHtmldestroy, equals, getCompleteKey, getDescription, getDescriptionKey, getDisplayName, getI18nNameKey, getKey, getMinJavaVersion, getModule, getModuleClass, getName, getParams, getPlugin, getPluginKey, hashCode, isBroken, isEnabled, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion, setBrokenpublic static final String REST_SERIALIZER_ELEMENT_NAME
public static final String VERSION_NUMBER_ARGUMENT_NAME
public static final String SERIALIZER_CLASS_ARGUMENT_NAME
public CustomFieldTypeModuleDescriptorImpl(JiraAuthenticationContext authenticationContext, RendererManager rendererManager, com.atlassian.plugin.module.ModuleFactory moduleFactory, CustomFieldDefaultVelocityParams customFieldDefaultVelocityParams)
public void init(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element)
throws com.atlassian.plugin.PluginParseException
init in interface com.atlassian.plugin.ModuleDescriptor<CustomFieldType>init in class AbstractJiraModuleDescriptor<CustomFieldType>com.atlassian.plugin.PluginParseExceptionpublic Set<String> getValidSearcherKeys()
CustomFieldTypeModuleDescriptorNote that it is also possible for a CustomFieldSearcher to declare a CustomFieldType that it is able to search on.
getValidSearcherKeys in interface CustomFieldTypeModuleDescriptorpublic Set<CustomFieldTypeCategory> getCategories()
CustomFieldTypeModuleDescriptorgetCategories in interface CustomFieldTypeModuleDescriptorpublic void enabled()
enabled in interface com.atlassian.plugin.StateAwareenabled in class AbstractJiraModuleDescriptor<CustomFieldType>public boolean isViewTemplateExists()
isViewTemplateExists in interface CustomFieldTypeModuleDescriptorpublic boolean isColumnViewTemplateExists()
isColumnViewTemplateExists in interface CustomFieldTypeModuleDescriptorpublic boolean isEditTemplateExists()
isEditTemplateExists in interface CustomFieldTypeModuleDescriptorpublic boolean isXMLTemplateExists()
isXMLTemplateExists in interface CustomFieldTypeModuleDescriptorpublic boolean isTypeManaged()
CustomFieldTypeModuleDescriptorisTypeManaged in interface CustomFieldTypeModuleDescriptor@Nullable public ConfigurationItemAccessLevel getManagedAccessLevel()
getManagedAccessLevel in interface CustomFieldTypeModuleDescriptorpublic String getManagedDescriptionKey()
getManagedDescriptionKey in interface CustomFieldTypeModuleDescriptorpublic String getEditHtml(FieldConfig config, Map customFieldValuesHolder, Issue issue, webwork.action.Action action, Map displayParameters, FieldLayoutItem fieldLayoutItem)
getEditHtml in interface CustomFieldTypeModuleDescriptorpublic String getBulkMoveHtml(FieldConfig config, Map customFieldValuesHolder, Issue issue, webwork.action.Action action, Map displayParameters, FieldLayoutItem fieldLayoutItem, Map<Long,BulkMoveHelper.DistinctValueResult> distinctValues, BulkMoveHelper bulkMoveHelper)
getBulkMoveHtml in interface CustomFieldTypeModuleDescriptorpublic String getEditDefaultHtml(FieldConfig config, Map customFieldValuesHolder, Issue issue, webwork.action.Action action, Map displayParameters, FieldLayoutItem fieldLayoutItem)
getEditDefaultHtml in interface CustomFieldTypeModuleDescriptorpublic String getColumnViewHtml(CustomField field, Object value, Issue issue, Map displayParams, FieldLayoutItem fieldLayoutItem)
getColumnViewHtml in interface CustomFieldTypeModuleDescriptorpublic String getViewHtml(CustomField field, Object value, Issue issue, FieldLayoutItem fieldLayoutItem)
getViewHtml in interface CustomFieldTypeModuleDescriptorpublic String getViewHtml(CustomField field, Object value, Issue issue, FieldLayoutItem fieldLayoutItem, Map displayParameters)
getViewHtml in interface CustomFieldTypeModuleDescriptorpublic String getViewXML(CustomField field, Issue issue, FieldLayoutItem fieldLayoutItem, boolean raw)
getViewXML in interface CustomFieldTypeModuleDescriptorpublic String getDefaultViewHtml(FieldConfig fieldConfig, FieldLayoutItem fieldLayoutItem)
getDefaultViewHtml in interface CustomFieldTypeModuleDescriptorpublic String getHtml(String resourceName, Map<String,?> startingParams)
getHtml in interface JiraResourcedModuleDescriptor<CustomFieldType>getHtml in class AbstractJiraModuleDescriptor<CustomFieldType>public Map<Integer,CustomFieldRestSerializer> getRestSerializers()
getRestSerializers in interface CustomFieldTypeModuleDescriptorCustomFieldRestSerializers which serialize customfield to its another json representation.
Keys of the returned map are names of these alternative representations.Copyright © 2002-2023 Atlassian. All Rights Reserved.