Class FeedNotifierImpl

  • All Implemented Interfaces:
    FeedNotifier, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

    public class FeedNotifierImpl
    extends java.lang.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 Detail

      • logger

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

      • FeedNotifierImpl

        public FeedNotifierImpl()
    • Method Detail

      • 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​(org.alfresco.service.cmr.search.SearchService searchService)
      • setNamespaceService

        public void setNamespaceService​(org.alfresco.service.namespace.NamespaceService namespaceService)
      • setPersonService

        public void setPersonService​(PersonService personService)
      • setNodeService

        public void setNodeService​(org.alfresco.service.cmr.repository.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 java.lang.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