Class ProjectFieldsContextProvider
java.lang.Object
com.atlassian.jira.projectconfig.contextproviders.ProjectFieldsContextProvider
- All Implemented Interfaces:
CacheableContextProvider
,com.atlassian.plugin.web.ContextProvider
Context Provider for the fields panel
- Since:
- v4.4
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
-
Constructor Summary
ConstructorsConstructorDescriptionProjectFieldsContextProvider
(ContextProviderUtils contextProviderUtils, FieldLayoutManager fieldLayoutManager, RendererManager rendererManager, JiraAuthenticationContext jiraAuthenticationContext, FieldScreenManager fieldScreenManager, ProjectFieldLayoutSchemeHelper projectFieldLayoutSchemeHelper, IssueTypeSchemeManager issueTypeSchemeManager, OrderFactory orderFactory, ManagedConfigurationItemService managedConfigurationItemService) -
Method Summary
Modifier and TypeMethodDescriptiongetContextMap
(Map<String, Object> context) getUniqueContextKey
(Map<String, Object> context) Return a key that is unique for the scope that this context should be scoped.getUser()
void
boolean
isFieldLocked
(Field field) boolean
isFieldManaged
(Field field)
-
Constructor Details
-
ProjectFieldsContextProvider
public ProjectFieldsContextProvider(ContextProviderUtils contextProviderUtils, FieldLayoutManager fieldLayoutManager, RendererManager rendererManager, JiraAuthenticationContext jiraAuthenticationContext, FieldScreenManager fieldScreenManager, ProjectFieldLayoutSchemeHelper projectFieldLayoutSchemeHelper, IssueTypeSchemeManager issueTypeSchemeManager, OrderFactory orderFactory, ManagedConfigurationItemService managedConfigurationItemService)
-
-
Method Details
-
init
- Specified by:
init
in interfacecom.atlassian.plugin.web.ContextProvider
- Throws:
com.atlassian.plugin.PluginParseException
-
getContextMap
- Specified by:
getContextMap
in interfacecom.atlassian.plugin.web.ContextProvider
-
isFieldManaged
-
isFieldLocked
-
getUniqueContextKey
Description copied from interface:CacheableContextProvider
Return a key that is unique for the scope that this context should be scoped. E.g. If the context is unique per issue, per user return "JRA-11234:nmenere"- Specified by:
getUniqueContextKey
in interfaceCacheableContextProvider
- Parameters:
context
- the context passed into the getContextMap method.- Returns:
- a key that is unique for the scope that this context
-
getUser
-