Class AbstractImportMetadataSourceService<RecordType>

    • Constructor Detail

      • AbstractImportMetadataSourceService

        public AbstractImportMetadataSourceService()
    • Method Detail

      • setGenerateQueryForItem

        public void setGenerateQueryForItem​(GenerateQueryService generateQueryForItem)
        Set the GenerateQueryService used to create a Query for a DSpace Item.
        Parameters:
        generateQueryForItem - the query generator to be used.
      • setMetadataFieldMapping

        @Autowired(required=true)
        public void setMetadataFieldMapping​(MetadataFieldMapping<RecordType,​MetadataContributor<RecordType>> metadataFieldMapping)
        Sets the MetadataFieldMapping to base the mapping of RecordType and
        Parameters:
        metadataFieldMapping - the map to be used.
      • transformSourceRecords

        public ImportRecord transformSourceRecords​(RecordType recordType)
        Return an ImportRecord constructed from the results in a RecordType
        Parameters:
        recordType - The record type to retrieve the DCValueMapping from
        Returns:
        An ImportRecord, This is based on the results retrieved from the recordTypeMapping