Class MetadataAuthorityServiceImpl

java.lang.Object
org.dspace.content.authority.MetadataAuthorityServiceImpl
All Implemented Interfaces:
MetadataAuthorityService

public class MetadataAuthorityServiceImpl extends Object implements MetadataAuthorityService
Broker for metadata authority settings configured for each metadata field. Configuration keys, per metadata field (e.g. "dc.contributor.author") # is field authority controlled (i.e. store authority, confidence values)? authority.controlled.<FIELD> = true # is field required to have an authority value, or may it be empty? # default is false. authority.required.<FIELD> = true | false # default value of minimum confidence level for ALL fields - must be # symbolic confidence level, see org.dspace.content.authority.Choices authority.minconfidence = uncertain # minimum confidence level for this field authority.minconfidence.SCHEMA.ELEMENT.QUALIFIER = SYMBOL e.g. authority.minconfidence.dc.contributor.author = accepted NOTE: There is *expected* to be a "choices" (see ChoiceAuthorityManager) configuration for each authority-controlled field.
Author:
Larry Stone
See Also:
  • Field Details

    • metadataFieldService

      @Autowired(required=true) protected MetadataFieldService metadataFieldService
    • configurationService

      @Autowired(required=true) protected ConfigurationService configurationService
    • controlled

      protected Map<String,Boolean> controlled
    • isAuthorityRequired

      protected Map<String,Boolean> isAuthorityRequired
    • minConfidence

      protected Map<String,Integer> minConfidence
      map of field key to answer of which is the min acceptable confidence value for a field with authority
    • defaultMinConfidence

      protected int defaultMinConfidence
      fallback default value unless authority.minconfidence = X is configured.
  • Constructor Details

    • MetadataAuthorityServiceImpl

      protected MetadataAuthorityServiceImpl()
  • Method Details