Interface FieldConfigPersister
- All Known Implementing Classes:
FieldConfigPersisterImpl
public interface FieldConfigPersister
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncreate(FieldConfig config, List<FieldConfigItemType> configurationItemTypes) getConfigsExclusiveToConfigScheme(Long fieldConfigSchemeId) Gets theFieldConfigobjects that are only associated to the specifiedFieldConfigScheme.getFieldConfig(Long configId) getFieldConfig(Long configId, ConfigurableField field) voidremove(FieldConfig fieldConfig) Remove aFieldConfigand all associated additional data.update(FieldConfig config)
-
Field Details
-
ENTITY_LONG_TEXT_LENGTH
static final int ENTITY_LONG_TEXT_LENGTH- See Also:
-
-
Method Details
-
create
-
getConfigForField
-
getFieldConfig
-
update
-
remove
Remove aFieldConfigand all associated additional data.- Parameters:
fieldConfig- the fieldConfig to remove.
-
getConfigsExclusiveToConfigScheme
Gets theFieldConfigobjects that are only associated to the specifiedFieldConfigScheme. In theory, aFieldConfigshould only ever be associated to oneFieldConfigScheme, but the database schema allows sharing of configs between schemes.When FieldConfig objects are removed, their associated
OptionsSetsand GenericConfigurations are also removed. Note that the mapping fromFieldConfigtoFieldConfigSchemein BackupOverviewBuilderImpl.FieldConfigSchemeIssueType is not removed until aFieldConfigSchemeis removed.- Parameters:
fieldConfigSchemeId- the id of the field config scheme- Returns:
- the
Collectionof FieldConfig objects
-
createWithDefaultValues
-
getFieldConfig
-