@Internal
public interface FieldConfigContextPersister
extends com.atlassian.bandana.BandanaPersister
Modifier and Type | Method and Description |
---|---|
void |
flushCaches()
Flush all caches of this persister.
|
List<JiraContextNode> |
getAllContextsForConfigScheme(FieldConfigScheme fieldConfigScheme) |
List<JiraContextNode> |
getAllContextsForCustomField(String key) |
Long |
getRelevantConfigSchemeId(IssueContext issueContext,
String fieldId) |
Long |
getRelevantConfigSchemeId(Project project,
String fieldId,
boolean lookUpParentContexts) |
void |
remove(com.atlassian.bandana.BandanaContext context)
Deprecated.
Use
removeContextsForConfigScheme(com.atlassian.jira.issue.fields.config.FieldConfigScheme) instead. Since v6.4. |
void |
remove(com.atlassian.bandana.BandanaContext context,
String key)
Deprecated.
Use
removeContextsForConfigScheme(com.atlassian.jira.issue.fields.config.FieldConfigScheme) instead. Since v6.4. |
void |
removeContextsForConfigScheme(FieldConfigScheme fieldConfigScheme) |
void |
removeContextsForConfigScheme(Long fieldConfigSchemeId)
Deprecated.
|
void |
removeContextsForProject(org.ofbiz.core.entity.GenericValue project)
Deprecated.
Use
removeContextsForProject(com.atlassian.jira.project.Project) instead. Since v5.1. |
void |
removeContextsForProject(Project project) |
void |
removeContextsForProjectCategory(ProjectCategory projectCategory)
Deprecated.
Project Category contexts are not supported in JIRA and will be removed from the API. Since v6.4.
|
Object |
retrieve(com.atlassian.bandana.BandanaContext context,
String key)
Deprecated.
Use
getRelevantConfigSchemeId(com.atlassian.jira.issue.context.IssueContext, String) instead. Since v6.4. |
void |
store(com.atlassian.bandana.BandanaContext context,
String key,
Object value)
Deprecated.
|
void |
store(Collection<? extends com.atlassian.bandana.BandanaContext> contexts,
String key,
Object value)
Deprecated.
Use
store(String, java.util.Collection, com.atlassian.jira.issue.fields.config.FieldConfigScheme) instead. Since v6.4. |
void |
store(String fieldId,
Collection<? extends JiraContextNode> contextNodes,
FieldConfigScheme fieldConfigScheme)
Bulk store fieldId/contextNode/scheme triplets.
|
void |
store(String fieldId,
JiraContextNode contextNode,
FieldConfigScheme fieldConfigScheme)
Store a fieldId/contextNode/scheme triplet.
|
Object retrieve(com.atlassian.bandana.BandanaContext context, String key)
getRelevantConfigSchemeId(com.atlassian.jira.issue.context.IssueContext, String)
instead. Since v6.4.Method definition pulled up from BandanaPersister
retrieve
in interface com.atlassian.bandana.BandanaPersister
void store(com.atlassian.bandana.BandanaContext context, String key, Object value)
store(String, com.atlassian.jira.issue.context.JiraContextNode, com.atlassian.jira.issue.fields.config.FieldConfigScheme)
instead. Since v6.4.Method definition pulled up from BandanaPersister
store
in interface com.atlassian.bandana.BandanaPersister
void store(String fieldId, JiraContextNode contextNode, FieldConfigScheme fieldConfigScheme)
void flushCaches()
Method definition pulled up from BandanaPersister
flushCaches
in interface com.atlassian.bandana.BandanaPersister
void remove(com.atlassian.bandana.BandanaContext context)
removeContextsForConfigScheme(com.atlassian.jira.issue.fields.config.FieldConfigScheme)
instead. Since v6.4.Method definition pulled up from BandanaPersister
remove
in interface com.atlassian.bandana.BandanaPersister
void remove(com.atlassian.bandana.BandanaContext context, String key)
removeContextsForConfigScheme(com.atlassian.jira.issue.fields.config.FieldConfigScheme)
instead. Since v6.4.Method definition pulled up from BandanaPersister
remove
in interface com.atlassian.bandana.BandanaPersister
List<JiraContextNode> getAllContextsForCustomField(String key)
List<JiraContextNode> getAllContextsForConfigScheme(FieldConfigScheme fieldConfigScheme)
@Deprecated void removeContextsForConfigScheme(Long fieldConfigSchemeId)
removeContextsForConfigScheme(FieldConfigScheme fieldConfigScheme)
fieldConfigSchemeId
- ID of scheme to remove.void removeContextsForConfigScheme(@Nonnull FieldConfigScheme fieldConfigScheme)
void store(Collection<? extends com.atlassian.bandana.BandanaContext> contexts, String key, Object value)
store(String, java.util.Collection, com.atlassian.jira.issue.fields.config.FieldConfigScheme)
instead. Since v6.4.void store(String fieldId, Collection<? extends JiraContextNode> contextNodes, FieldConfigScheme fieldConfigScheme)
void removeContextsForProject(org.ofbiz.core.entity.GenericValue project)
removeContextsForProject(com.atlassian.jira.project.Project)
instead. Since v5.1.project
- the projectvoid removeContextsForProject(Project project)
void removeContextsForProjectCategory(ProjectCategory projectCategory)
@Nullable Long getRelevantConfigSchemeId(Project project, @Nonnull String fieldId, boolean lookUpParentContexts)
Copyright © 2002-2015 Atlassian. All Rights Reserved.