public class CachedOptionSetManager extends Object implements OptionSetManager
| Constructor and Description |
|---|
CachedOptionSetManager(OptionSetPersister optionSetPersister,
ConstantsManager constantsManager,
com.atlassian.cache.CacheManager cacheManager) |
| Modifier and Type | Method and Description |
|---|---|
OptionSet |
createOptionSet(FieldConfig config,
Collection optionIds) |
OptionSet |
getOptionsForConfig(FieldConfig config) |
void |
onClearCache(ClearCacheEvent event) |
void |
removeOptionSet(FieldConfig config) |
OptionSet |
updateOptionSet(FieldConfig config,
Collection optionIds) |
public CachedOptionSetManager(OptionSetPersister optionSetPersister, ConstantsManager constantsManager, com.atlassian.cache.CacheManager cacheManager)
@EventListener public void onClearCache(ClearCacheEvent event)
public OptionSet getOptionsForConfig(@Nonnull FieldConfig config)
getOptionsForConfig in interface OptionSetManagerpublic OptionSet createOptionSet(@Nonnull FieldConfig config, Collection optionIds)
createOptionSet in interface OptionSetManagerpublic OptionSet updateOptionSet(@Nonnull FieldConfig config, Collection optionIds)
updateOptionSet in interface OptionSetManagerpublic void removeOptionSet(@Nonnull FieldConfig config)
removeOptionSet in interface OptionSetManagerCopyright © 2002-2016 Atlassian. All Rights Reserved.