Class ImporterModuleComponent

  • All Implemented Interfaces:
    ModuleComponent, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware

    @AlfrescoPublicApi
    public class ImporterModuleComponent
    extends AbstractModuleComponent
    Generic module component that can be wired up to import data into the system.
    Since:
    2.0
    Author:
    Derek Hulley
    • Constructor Detail

      • ImporterModuleComponent

        public ImporterModuleComponent()
    • Method Detail

      • setImporter

        public void setImporter​(ImporterBootstrap importer)
        Set the helper that has details of the store to load the data into. Alfresco has a set of predefined importers for all the common stores in use.
        Parameters:
        importer - the bootstrap bean that performs the store bootstrap.
      • executeInternal

        protected void executeInternal()
                                throws java.lang.Throwable
        Description copied from class: AbstractModuleComponent
        The method that performs the actual work. For the most part, derived classes will only have to override this method to be fully functional.
        Specified by:
        executeInternal in class AbstractModuleComponent
        Throws:
        java.lang.Throwable - any problems, just throw them