com.atlassian.jira.issue.fields.option
Class CachedOptionSetManager

java.lang.Object
  extended by com.atlassian.jira.issue.fields.option.CachedOptionSetManager
All Implemented Interfaces:
OptionSetManager

public class CachedOptionSetManager
extends Object
implements OptionSetManager


Constructor Summary
CachedOptionSetManager(OptionSetPersister optionSetPersister, ConstantsManager constantsManager, com.atlassian.cache.CacheManager cacheManager)
           
 
Method Summary
 OptionSet createOptionSet(FieldConfig config, Collection optionIds)
           
 OptionSet getOptionsForConfig(FieldConfig config)
           
 void onClearCache(ClearCacheEvent event)
           
 void removeOptionSet(FieldConfig config)
           
 OptionSet updateOptionSet(FieldConfig config, Collection optionIds)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CachedOptionSetManager

public CachedOptionSetManager(OptionSetPersister optionSetPersister,
                              ConstantsManager constantsManager,
                              com.atlassian.cache.CacheManager cacheManager)
Method Detail

onClearCache

@EventListener
public void onClearCache(ClearCacheEvent event)

getOptionsForConfig

public OptionSet getOptionsForConfig(@Nonnull
                                     FieldConfig config)
Specified by:
getOptionsForConfig in interface OptionSetManager

createOptionSet

public OptionSet createOptionSet(@Nonnull
                                 FieldConfig config,
                                 Collection optionIds)
Specified by:
createOptionSet in interface OptionSetManager

updateOptionSet

public OptionSet updateOptionSet(@Nonnull
                                 FieldConfig config,
                                 Collection optionIds)
Specified by:
updateOptionSet in interface OptionSetManager

removeOptionSet

public void removeOptionSet(@Nonnull
                            FieldConfig config)
Specified by:
removeOptionSet in interface OptionSetManager


Copyright © 2002-2015 Atlassian. All Rights Reserved.