public class ProjectFieldsContextProvider extends Object implements CacheableContextProvider
| Modifier and Type | Class and Description |
|---|---|
static class |
ProjectFieldsContextProvider.SimpleFieldConfig |
static class |
ProjectFieldsContextProvider.SimpleFieldLayoutItem |
| Constructor and Description |
|---|
ProjectFieldsContextProvider(ContextProviderUtils contextProviderUtils,
FieldLayoutManager fieldLayoutManager,
RendererManager rendererManager,
JiraAuthenticationContext jiraAuthenticationContext,
FieldScreenManager fieldScreenManager,
ProjectFieldLayoutSchemeHelper projectFieldLayoutSchemeHelper,
IssueTypeSchemeManager issueTypeSchemeManager,
OrderFactory orderFactory,
ManagedConfigurationItemService managedConfigurationItemService) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getContextMap(Map<String,Object> context) |
String |
getUniqueContextKey(Map<String,Object> context)
Return a key that is unique for the scope that this context should be scoped.
|
ApplicationUser |
getUser() |
void |
init(Map<String,String> params) |
boolean |
isFieldLocked(Field field) |
boolean |
isFieldManaged(Field field) |
public ProjectFieldsContextProvider(ContextProviderUtils contextProviderUtils, FieldLayoutManager fieldLayoutManager, RendererManager rendererManager, JiraAuthenticationContext jiraAuthenticationContext, FieldScreenManager fieldScreenManager, ProjectFieldLayoutSchemeHelper projectFieldLayoutSchemeHelper, IssueTypeSchemeManager issueTypeSchemeManager, OrderFactory orderFactory, ManagedConfigurationItemService managedConfigurationItemService)
public void init(Map<String,String> params) throws com.atlassian.plugin.PluginParseException
init in interface com.atlassian.plugin.web.ContextProvidercom.atlassian.plugin.PluginParseExceptionpublic Map<String,Object> getContextMap(Map<String,Object> context)
getContextMap in interface com.atlassian.plugin.web.ContextProviderpublic boolean isFieldManaged(Field field)
public boolean isFieldLocked(Field field)
public String getUniqueContextKey(Map<String,Object> context)
CacheableContextProvidergetUniqueContextKey in interface CacheableContextProvidercontext - the context passed into the getContextMap method.public ApplicationUser getUser()
Copyright © 2002-2022 Atlassian. All Rights Reserved.