com.atlassian.jira.issue.fields.config.manager
Interface FieldConfigSchemeManager

All Known Implementing Classes:
CachedFieldConfigSchemeManagerImpl, FieldConfigSchemeManagerImpl

public interface FieldConfigSchemeManager


Field Summary
static List ALL_ISSUE_TYPES
           
 
Method Summary
 FieldConfigScheme createDefaultScheme(ConfigurableField field, List contexts)
           
 FieldConfigScheme createDefaultScheme(ConfigurableField field, List contexts, List issueTypes)
           
 FieldConfigScheme createFieldConfigScheme(FieldConfigScheme newConfigScheme, List contexts, List issueTypes, ConfigurableField field)
           
 List getAssociatedProjects(ConfigurableField field)
           
 List getConfigSchemesForField(ConfigurableField field)
           
 FieldConfigScheme getFieldConfigScheme(Long configSchemeId)
           
 FieldConfig getRelevantConfig(IssueContext issueContext, ConfigurableField field)
           
 FieldConfigScheme getRelevantConfigScheme(IssueContext issueContext, ConfigurableField field)
           
 Object getValue(com.atlassian.bandana.BandanaContext context, String key)
           
 Object getValue(com.atlassian.bandana.BandanaContext context, String key, boolean lookUp)
           
 void init()
           
 void removeFieldConfigScheme(FieldConfigScheme fieldConfigScheme)
           
 void removeSchemeAssociation(List contexts, ConfigurableField configurableField)
           
 void setValue(com.atlassian.bandana.BandanaContext context, String key, Object value)
           
 FieldConfigScheme updateFieldConfigScheme(FieldConfigScheme scheme)
          Only update the name & description of a field
 FieldConfigScheme updateFieldConfigScheme(FieldConfigScheme newScheme, List contexts, ConfigurableField field)
          Updates the config schemes with the new contexts
 

Field Detail

ALL_ISSUE_TYPES

static final List ALL_ISSUE_TYPES
Method Detail

init

void init()

getValue

Object getValue(com.atlassian.bandana.BandanaContext context,
                String key)

getValue

Object getValue(com.atlassian.bandana.BandanaContext context,
                String key,
                boolean lookUp)

setValue

void setValue(com.atlassian.bandana.BandanaContext context,
              String key,
              Object value)

getConfigSchemesForField

List getConfigSchemesForField(ConfigurableField field)

getFieldConfigScheme

FieldConfigScheme getFieldConfigScheme(Long configSchemeId)

createDefaultScheme

FieldConfigScheme createDefaultScheme(ConfigurableField field,
                                      List contexts,
                                      List issueTypes)

updateFieldConfigScheme

FieldConfigScheme updateFieldConfigScheme(FieldConfigScheme newScheme,
                                          List contexts,
                                          ConfigurableField field)
Updates the config schemes with the new contexts

Parameters:
newScheme -
contexts -
field -
Returns:
The updated scheme

updateFieldConfigScheme

FieldConfigScheme updateFieldConfigScheme(FieldConfigScheme scheme)
Only update the name & description of a field

Parameters:
scheme - scheme with the name & description to be updated
Returns:
the updated scheme

removeFieldConfigScheme

void removeFieldConfigScheme(FieldConfigScheme fieldConfigScheme)

getRelevantConfig

FieldConfig getRelevantConfig(IssueContext issueContext,
                              ConfigurableField field)

createFieldConfigScheme

FieldConfigScheme createFieldConfigScheme(FieldConfigScheme newConfigScheme,
                                          List contexts,
                                          List issueTypes,
                                          ConfigurableField field)

createDefaultScheme

FieldConfigScheme createDefaultScheme(ConfigurableField field,
                                      List contexts)

removeSchemeAssociation

void removeSchemeAssociation(List contexts,
                             ConfigurableField configurableField)

getAssociatedProjects

List getAssociatedProjects(ConfigurableField field)

getRelevantConfigScheme

FieldConfigScheme getRelevantConfigScheme(IssueContext issueContext,
                                          ConfigurableField field)


Copyright © 2002-2007 Atlassian. All Rights Reserved.