Class ItemImportServiceImpl

  • All Implemented Interfaces:
    ItemImportService, org.springframework.beans.factory.InitializingBean

    public class ItemImportServiceImpl
    extends Object
    implements ItemImportService, org.springframework.beans.factory.InitializingBean
    Import items into DSpace. The conventional use is upload files by copying them. DSpace writes the item's bitstreams into its assetstore. Metadata is also loaded to the DSpace database.

    A second use assumes the bitstream files already exist in a storage resource accessible to DSpace. In this case the bitstreams are 'registered'. That is, the metadata is loaded to the DSpace database and DSpace is given the location of the file which is subsumed into DSpace.

    The distinction is controlled by the format of lines in the 'contents' file. See comments in processContentsFile() below.

    Modified by David Little, UCSD Libraries 12/21/04 to allow the registration of files (bitstreams) into DSpace.