com.atlassian.jira.issue.fields.config.persistence
Interface FieldConfigPersister
- All Known Implementing Classes:
- FieldConfigPersisterImpl
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<FieldConfigItemType> 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<FieldConfig> 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-2012 Atlassian. All Rights Reserved.