com.atlassian.jira.issue.fields.config.persistence
Interface FieldConfigPersister
public interface FieldConfigPersister
ENTITY_LONG_TEXT_LENGTH
static final int ENTITY_LONG_TEXT_LENGTH
- See Also:
- Constant Field Values
create
FieldConfig create(FieldConfig config,
List configurationItemTypes)
getConfigForField
List getConfigForField(ConfigurableField field)
getFieldConfig
FieldConfig getFieldConfig(Long configId)
update
FieldConfig update(FieldConfig config)
remove
void remove(FieldConfig fieldConfig)
- Remove a
FieldConfig and all associated additional data.
- Parameters:
fieldConfig - the fieldConfig to remove.
getConfigsExclusiveToConfigScheme
Collection getConfigsExclusiveToConfigScheme(Long fieldConfigSchemeId)
- Gets the
FieldConfig objects that are only associated to the specified FieldConfigScheme. In theory, a FieldConfig
should only ever be associated to one FieldConfigScheme, but the database schema allows sharing of configs between schemes.
When FieldConfig objects are removed, their associated OptionsSets and GenericConfigurations are also removed. Note that the
mapping from FieldConfig to FieldConfigScheme in BackupOverviewBuilderImpl.FieldConfigSchemeIssueType is not removed until a
FieldConfigScheme is removed.
- Parameters:
fieldConfigSchemeId - the id of the field config scheme
- Returns:
- the
Collection of FieldConfig objects
createWithDefaultValues
FieldConfig createWithDefaultValues(ConfigurableField field)
getFieldConfig
FieldConfig getFieldConfig(Long configId,
ConfigurableField field)
Copyright © 2002-2011 Atlassian. All Rights Reserved.