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

java.lang.Object
  extended bycom.atlassian.jira.issue.fields.option.CachedOptionSetManager
All Implemented Interfaces:
JiraCachedManager, OptionSetManager

public class CachedOptionSetManager
extends Object
implements OptionSetManager, JiraCachedManager


Constructor Summary
CachedOptionSetManager(OptionSetPersister optionSetPersister, ConstantsManager constantsManager)
           
 
Method Summary
 OptionSet createOptionSet(FieldConfig config, Collection optionIds)
           
 long getCacheSize()
           
 OptionSet getOptionsForConfig(FieldConfig config)
           
 void init()
           
 void refreshCache()
           
 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)
Method Detail

init

public void init()

getOptionsForConfig

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

createOptionSet

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

updateOptionSet

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

removeOptionSet

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

getCacheSize

public long getCacheSize()
Specified by:
getCacheSize in interface JiraCachedManager

refreshCache

public void refreshCache()
Specified by:
refreshCache in interface JiraCachedManager


Copyright © 2002-2006 Atlassian. All Rights Reserved.