public class FieldConfigContextPersisterWorker extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ENTITY_KEY |
static String |
ENTITY_PROJECT |
static String |
ENTITY_PROJECT_CATEGORY |
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) |
List<JiraContextNode> |
getAllContextsForCustomField(String key) |
void |
remove(com.atlassian.bandana.BandanaContext context) |
void |
remove(com.atlassian.bandana.BandanaContext context,
String key) |
void |
removeContextsForConfigScheme(FieldConfigScheme fieldConfigScheme) |
void |
removeContextsForConfigScheme(Long fieldConfigSchemeId) |
void |
removeContextsForProject(org.ofbiz.core.entity.GenericValue project) |
void |
removeContextsForProject(Project project) |
void |
removeContextsForProjectCategory(ProjectCategory projectCategory) |
Object |
retrieve(com.atlassian.bandana.BandanaContext 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_CATEGORY
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)
public List<JiraContextNode> getAllContextsForCustomField(String key)
public List<JiraContextNode> getAllContextsForConfigScheme(FieldConfigScheme fieldConfigScheme)
public void removeContextsForConfigScheme(@Nonnull FieldConfigScheme fieldConfigScheme)
public void removeContextsForConfigScheme(Long fieldConfigSchemeId)
public void removeContextsForProject(org.ofbiz.core.entity.GenericValue project)
public void removeContextsForProject(Project project)
public void removeContextsForProjectCategory(ProjectCategory projectCategory)
public Object retrieve(com.atlassian.bandana.BandanaContext context, String key)
context
- the bandana contextkey
- the database keypublic void store(String fieldId, JiraContextNode contextNode, FieldConfigScheme fieldConfigScheme)
public void remove(com.atlassian.bandana.BandanaContext context)
public void remove(com.atlassian.bandana.BandanaContext context, String key)
Copyright © 2002-2015 Atlassian. All Rights Reserved.