Class 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.contributer.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:
    ChoiceAuthorityServiceImpl, Choices
    • Field Detail

      • metadataFieldService

        @Autowired(required=true)
        protected MetadataFieldService metadataFieldService
      • 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 Detail

      • MetadataAuthorityServiceImpl

        protected MetadataAuthorityServiceImpl()