public class FieldConfigContextPersisterWorker extends Object
Modifier and Type | Field and Description |
---|---|
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) |
void |
removeContextsForConfigScheme(FieldConfigScheme fieldConfigScheme) |
void |
removeContextsForProject(Project project) |
Object |
retrieve(JiraContextNode context,
String key)
Returns a Long object representing the id of the FieldConfigScheme
|
void |
store(String fieldId,
JiraContextNode contextNode,
FieldConfigScheme fieldConfigScheme) |
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 FieldConfigContextPersisterWorker(OfBizDelegator delegator, ProjectManager projectManager, com.atlassian.cache.CacheManager cacheManager)
@Nonnull public List<JiraContextNode> getAllContextsForConfigScheme(@Nonnull FieldConfigScheme fieldConfigScheme)
public void removeContextsForConfigScheme(@Nonnull FieldConfigScheme fieldConfigScheme)
@Nullable public Object retrieve(@Nullable JiraContextNode context, String key)
context
- the contextkey
- the database keypublic void store(String fieldId, JiraContextNode contextNode, FieldConfigScheme fieldConfigScheme)
public void remove(@Nullable JiraContextNode context, @Nullable String key)
Copyright © 2002-2018 Atlassian. All Rights Reserved.