|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FieldConfigManager
Manager for field configurations.
FieldConfig
Method Summary | |
---|---|
FieldConfig |
createFieldConfig(FieldConfig newConfig,
List configurationItemTypes)
|
FieldConfig |
createWithDefaultValues(ConfigurableField field)
|
FieldConfig |
getFieldConfig(Long configId)
Retrieve field configuration by database ID. |
void |
removeConfigsForConfigScheme(Long fieldConfigSchemeId)
Removes FieldConfig objects that are only associated to the specified FieldConfigScheme. |
FieldConfig |
updateFieldConfig(FieldConfig newConfig)
|
Method Detail |
---|
FieldConfig getFieldConfig(Long configId)
configId
- the database id
FieldConfig createFieldConfig(FieldConfig newConfig, List configurationItemTypes)
FieldConfig updateFieldConfig(FieldConfig newConfig)
FieldConfig createWithDefaultValues(ConfigurableField field)
void removeConfigsForConfigScheme(Long fieldConfigSchemeId)
When FieldConfig objects are removed, their associated OptionSets and GenericConfigs are also removed.
Note that the mapping from FieldConfig to FieldConfigScheme in FieldConfigSchemeIssueType is not removed until FieldConfigScheme#remove() is called. Thus, if someone calls FieldConfigSchemeManager#getFieldConfigScheme() after this method is called but before the FieldConfigScheme is removed, a NullPointerException will occur because the FieldConfig referenced by the mapping record no longer exists.
fieldConfigSchemeId
- the scheme id of the fieldConfigScheme the fieldConfigs are exclusive to.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |