public class FieldConfigContextPersisterWorker extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ENTITY_ID |
static String |
ENTITY_KEY |
static String |
ENTITY_PROJECT |
static String |
ENTITY_SCHEME_ID |
static String |
ENTITY_TABLE_NAME |
Constructor and Description |
---|
FieldConfigContextPersisterWorker(OfBizDelegator delegator,
ProjectManager projectManager,
com.atlassian.cache.CacheManager cacheManager) |
Modifier and Type | Method and Description |
---|---|
List<JiraContextNode> |
getAllContextsForConfigScheme(FieldConfigScheme fieldConfigScheme) |
void |
remove(JiraContextNode context,
String key)
Deprecated.
|
void |
removeContextsForConfigScheme(FieldConfigScheme fieldConfigScheme) |
void |
removeContextsForProject(Project project) |
Object |
retrieve(JiraContextNode context,
String key)
Deprecated.
|
void |
store(String fieldKey,
Collection<? extends JiraContextNode> contextNodes,
FieldConfigScheme fieldConfigScheme)
Handles context collection i batches and invalidates cache once
after change is complete.
|
void |
store(String fieldId,
JiraContextNode contextNode,
FieldConfigScheme fieldConfigScheme)
Deprecated.
|
public static final String ENTITY_TABLE_NAME
public static final String ENTITY_PROJECT
public static final String ENTITY_KEY
public static final String ENTITY_SCHEME_ID
public static final String ENTITY_ID
public FieldConfigContextPersisterWorker(OfBizDelegator delegator, ProjectManager projectManager, com.atlassian.cache.CacheManager cacheManager)
@Nonnull public List<JiraContextNode> getAllContextsForConfigScheme(@Nonnull FieldConfigScheme fieldConfigScheme)
public void removeContextsForConfigScheme(@Nonnull FieldConfigScheme fieldConfigScheme)
public void store(String fieldKey, Collection<? extends JiraContextNode> contextNodes, FieldConfigScheme fieldConfigScheme)
BATCH_SIZE
operations.@Nullable @Deprecated public Object retrieve(@Nullable JiraContextNode context, String key)
context
- the contextkey
- the database key@Deprecated public void store(String fieldId, JiraContextNode contextNode, FieldConfigScheme fieldConfigScheme)
@Deprecated public void remove(@Nullable JiraContextNode context, @Nullable String key)
Copyright © 2002-2021 Atlassian. All Rights Reserved.