Class FeedNotifierImpl

java.lang.Object
org.alfresco.repo.activities.feed.FeedNotifierImpl
All Implemented Interfaces:
FeedNotifier, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

public class FeedNotifierImpl extends Object implements FeedNotifier, org.springframework.context.ApplicationContextAware
Implementation of the Activity Feed Notifier component Note: currently implemented to email activities stored in JSON format
Since:
4.0
  • Field Details

    • logger

      protected static org.apache.commons.logging.Log logger
  • Constructor Details

    • FeedNotifierImpl

      public FeedNotifierImpl()
  • Method Details

    • setNumThreads

      public void setNumThreads(int numThreads)
    • setBatchSize

      public void setBatchSize(int batchSize)
    • setUserNotifier

      public void setUserNotifier(UserNotifier userNotifier)
    • setFileFolderService

      public void setFileFolderService(FileFolderService fileFolderService)
    • setSearchService

      public void setSearchService(SearchService searchService)
    • setNamespaceService

      public void setNamespaceService(NamespaceService namespaceService)
    • setPersonService

      public void setPersonService(PersonService personService)
    • setNodeService

      public void setNodeService(NodeService nodeService)
    • setJobLockService

      public void setJobLockService(JobLockService jobLockService)
    • setTransactionService

      public void setTransactionService(TransactionService transactionService)
    • setSysAdminParams

      public void setSysAdminParams(SysAdminParams sysAdminParams)
    • setRepoAdminService

      public void setRepoAdminService(RepoAdminService repoAdminService)
    • checkProperties

      protected void checkProperties()
      Perform basic checks to ensure that the necessary dependencies were injected.
    • execute

      public void execute(int repeatIntervalMins)
      Specified by:
      execute in interface FeedNotifier
      Parameters:
      repeatIntervalMins - system-wide job repeat interval (in minutes)
    • setFeedEmailTemplateLocation

      public void setFeedEmailTemplateLocation(RepositoryLocation feedEmailTemplateLocation)
    • getEmailTemplateRef

      protected String getEmailTemplateRef()
    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
      Throws:
      org.springframework.beans.BeansException