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 OptionSetManager
public OptionSet createOptionSet(@Nonnull FieldConfig config, Collection optionIds)
createOptionSet
in interface OptionSetManager
public OptionSet updateOptionSet(@Nonnull FieldConfig config, Collection optionIds)
updateOptionSet
in interface OptionSetManager
public void removeOptionSet(@Nonnull FieldConfig config)
removeOptionSet
in interface OptionSetManager
Copyright © 2002-2015 Atlassian. All Rights Reserved.