Class ItemImportServiceImpl

java.lang.Object
org.dspace.app.itemimport.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.

  • Field Details

    • authorizeService

      @Autowired(required=true) protected AuthorizeService authorizeService
    • bitstreamService

      @Autowired(required=true) protected BitstreamService bitstreamService
    • bitstreamFormatService

      @Autowired(required=true) protected BitstreamFormatService bitstreamFormatService
    • bundleService

      @Autowired(required=true) protected BundleService bundleService
    • collectionService

      @Autowired(required=true) protected CollectionService collectionService
    • ePersonService

      @Autowired(required=true) protected EPersonService ePersonService
    • handleService

      @Autowired(required=true) protected HandleService handleService
    • itemService

      @Autowired(required=true) protected ItemService itemService
    • installItemService

      @Autowired(required=true) protected InstallItemService installItemService
    • groupService

      @Autowired(required=true) protected GroupService groupService
    • metadataFieldService

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

      @Autowired(required=true) protected MetadataSchemaService metadataSchemaService
    • resourcePolicyService

      @Autowired(required=true) protected ResourcePolicyService resourcePolicyService
    • workspaceItemService

      @Autowired(required=true) protected WorkspaceItemService workspaceItemService
    • workflowService

      @Autowired(required=true) protected WorkflowService workflowService
    • configurationService

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

      @Autowired(required=true) protected RelationshipService relationshipService
    • relationshipTypeService

      @Autowired(required=true) protected RelationshipTypeService relationshipTypeService
    • metadataValueService

      @Autowired(required=true) protected MetadataValueService metadataValueService
    • builder

      protected DocumentBuilder builder
    • tempWorkDir

      protected String tempWorkDir
    • isTest

      protected boolean isTest
    • isExcludeContent

      protected boolean isExcludeContent
    • isResume

      protected boolean isResume
    • useWorkflow

      protected boolean useWorkflow
    • useWorkflowSendEmail

      protected boolean useWorkflowSendEmail
    • isQuiet

      protected boolean isQuiet
    • metadataFileFilter

      protected FilenameFilter metadataFileFilter
    • directoryFilter

      protected FilenameFilter directoryFilter
  • Constructor Details

    • ItemImportServiceImpl

      protected ItemImportServiceImpl()
  • Method Details