|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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)
|
FieldConfigScheme |
getConfigSchemeForFieldConfig(FieldConfig fieldConfig)
Retrieves the FieldConfigScheme associated with the
FieldConfig |
List<FieldConfigScheme> |
getConfigSchemesForField(ConfigurableField field)
|
FieldConfigScheme |
getFieldConfigScheme(Long configSchemeId)
|
Collection |
getInvalidFieldConfigSchemesForIssueTypeRemoval(IssueType issueType)
Returns a collection of FieldConfigScheme s for all Configuration
Contexts that will become invalid after the issuetype has been removed. |
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(Long fieldConfigSchemeId)
Removes a field config scheme, as well as its associated contexts and field configs (which includes option sets and generic configs) |
void |
removeInvalidFieldConfigSchemesForCustomField(String customFieldId)
Given a CustomField, this method will correctly remove the fieldConfigSchemes if necessary. |
void |
removeInvalidFieldConfigSchemesForIssueType(IssueType issueType)
Given an issueType, this method will correctly remove the fieldConfigSchemes if necessary. |
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 |
---|
static final List ALL_ISSUE_TYPES
Method Detail |
---|
void init()
Object getValue(com.atlassian.bandana.BandanaContext context, String key)
Object getValue(com.atlassian.bandana.BandanaContext context, String key, boolean lookUp)
void setValue(com.atlassian.bandana.BandanaContext context, String key, Object value)
List<FieldConfigScheme> getConfigSchemesForField(ConfigurableField field)
FieldConfigScheme getConfigSchemeForFieldConfig(FieldConfig fieldConfig)
FieldConfigScheme
associated with the
FieldConfig
fieldConfig
- the field config to retrieve the FieldConfigScheme
of; cannot be null.
FieldConfig
. Null if the config scheme can not be found.FieldConfigScheme getFieldConfigScheme(Long configSchemeId)
FieldConfigScheme createDefaultScheme(ConfigurableField field, List contexts, List issueTypes)
FieldConfigScheme updateFieldConfigScheme(FieldConfigScheme newScheme, List contexts, ConfigurableField field)
newScheme
- contexts
- field
-
FieldConfigScheme updateFieldConfigScheme(FieldConfigScheme scheme)
scheme
- scheme with the name & description to be updated
void removeFieldConfigScheme(Long fieldConfigSchemeId)
fieldConfigSchemeId
- the id of the field config scheme to removeFieldConfig getRelevantConfig(IssueContext issueContext, ConfigurableField field)
FieldConfigScheme createFieldConfigScheme(FieldConfigScheme newConfigScheme, List contexts, List issueTypes, ConfigurableField field)
FieldConfigScheme createDefaultScheme(ConfigurableField field, List contexts)
void removeSchemeAssociation(List contexts, ConfigurableField configurableField)
List getAssociatedProjects(ConfigurableField field)
FieldConfigScheme getRelevantConfigScheme(IssueContext issueContext, ConfigurableField field)
Collection getInvalidFieldConfigSchemesForIssueTypeRemoval(IssueType issueType)
FieldConfigScheme
s for all Configuration
Contexts that will become invalid after the issuetype has been removed. That is the configuration contexts that
will no longer be linked to ANY issue types after the issue type passed is has been deleted.
issueType
- The issueType to be deleted
FieldConfigScheme
svoid removeInvalidFieldConfigSchemesForIssueType(IssueType issueType)
issueType
- The IssueType being deletedvoid removeInvalidFieldConfigSchemesForCustomField(String customFieldId)
customFieldId
- The id of the CustomField being deleted
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |