Class ImapFoldersPatch

java.lang.Object
org.alfresco.repo.admin.patch.AbstractPatch
org.alfresco.repo.admin.patch.impl.ImapFoldersPatch
All Implemented Interfaces:
Patch, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationEventPublisherAware

public class ImapFoldersPatch extends AbstractPatch
Builds folders tree necessary for IMAP functionality and imports email action scripts. 1. Company Home > Data Dictionary > Imap Config > Templates 2. Company Home > Data Dictionary > Email Actions > search 3. Company Home > Data Dictionary > Scripts > command-processor.js, command-search.js
Author:
Arseny Kovalchuk
  • Field Details

    • configuration

      protected Properties configuration
  • Constructor Details

    • ImapFoldersPatch

      public ImapFoldersPatch()
  • Method Details

    • setImporterBootstrap

      public void setImporterBootstrap(ImporterBootstrap importerBootstrap)
    • setMessageSource

      public void setMessageSource(org.springframework.context.MessageSource messageSource)
    • setImporterService

      public void setImporterService(ImporterService importerService)
    • setConfigFoldersACP

      public void setConfigFoldersACP(String configFoldersACP)
    • setEmailActionsACP

      public void setEmailActionsACP(String emailActionsACP)
    • setScriptsACP

      public void setScriptsACP(String scriptsACP)
    • checkCommonProperties

      protected void checkCommonProperties() throws Exception
      Throws:
      Exception
    • setUp

      protected void setUp() throws Exception
      Throws:
      Exception
    • applyInternal

      protected String applyInternal() throws Exception
      Description copied from class: AbstractPatch
      This method does the work. All transactions and thread-safety will be taken care of by this class. Any exception will result in the transaction being rolled back. Integrity checks are downgraded for the duration of the transaction.
      Specified by:
      applyInternal in class AbstractPatch
      Returns:
      Returns the report (only success messages).
      Throws:
      Exception - anything can be thrown. This must be used for all failures.
      See Also: