Class SystemEventPublisher

    • Constructor Detail

      • SystemEventPublisher

        public SystemEventPublisher()
    • Method Detail

      • publish

        public void publish​(String msg,
                            ServletContext servletContext)
        Publish the JSON messages to the remote service.
        Specified by:
        publish in interface ISysEventPublisher
        Parameters:
        msg - JSON string messages to be published.
        servletContext - the servletContext
      • isAuditLogPublish

        public boolean isAuditLogPublish()
        Return true if audit log messages should be published
        Specified by:
        isAuditLogPublish in interface ISysEventPublisher
        Returns:
        boolean if audit log message should be published
      • setAuditLogPublish

        public void setAuditLogPublish​(boolean auditLogPublish)
        Set whether audit log messages should be published.
        Parameters:
        auditLogPublish - the audit log publish flag
      • getAuditLogQueue

        public String getAuditLogQueue()
        Return the job publishing queue override, if not using default queue name.
        Specified by:
        getAuditLogQueue in interface ISysEventPublisher
        Returns:
        jobQueue string or default queue if jobQueue is not specified.
      • setAuditLogQueue

        public void setAuditLogQueue​(String auditLogQueue)
        Set the audit log publishing queue override, if not using default queue name.
        Parameters:
        auditLogQueue - the jauditLogQueue to set.
      • isJobPublish

        public boolean isJobPublish()
        Description copied from interface: ISysEventPublisher
        Return true if job messages should be published
        Specified by:
        isJobPublish in interface ISysEventPublisher
        Returns:
        JobPublish Boolean if job message should be published.
      • setJobPublish

        public void setJobPublish​(boolean jobPublish)
        Set if the job messages should be published.
        Parameters:
        jobPublish - the jobPublish to set.
      • getJobQueue

        public String getJobQueue()
        Return the job publishing queue override, if not using default queue name.
        Specified by:
        getJobQueue in interface ISysEventPublisher
        Returns:
        jobQueue string or default queue if jobQueue is not specified.
      • setJobQueue

        public void setJobQueue​(String jobQueue)
        Set the job publishing queue override, if not using default queue name.
        Parameters:
        jobQueue - the jobQueue to set.
      • isSubmissionPublish

        public boolean isSubmissionPublish()
        Specified by:
        isSubmissionPublish in interface ISysEventPublisher
        Returns:
        true if submission changes should be published.
      • setSubmissionPublish

        public void setSubmissionPublish​(boolean publish)
        Set if submissions changes should be published.
        Parameters:
        publish - specify whether to publish submissions
      • setSubmissionFormDataMapPublish

        public void setSubmissionFormDataMapPublish​(boolean publish)
        Set if submission form data map should be published.
        Parameters:
        publish - specify whether to publish submission formDataMap
      • setSubmissionMilestonePublish

        public void setSubmissionMilestonePublish​(boolean publish)
        Set if new submission milestones should be pub.
        Parameters:
        publish - specify whether to publish submission milestones
      • setSubmissionPropertyPublish

        public void setSubmissionPropertyPublish​(boolean publish)
        Set if new submission properties should be published.
        Parameters:
        publish - specify whether to publish submission properties
      • setSubmissionErrorLogPublish

        public void setSubmissionErrorLogPublish​(boolean publish)
        Set if new submission error log should be published.
        Parameters:
        publish - specify whether to publish submission error logs
      • setSubmissionEventLogPublish

        public void setSubmissionEventLogPublish​(boolean publish)
        Set if new submission event log should be published.
        Parameters:
        publish - specify whether to publish submission event logs
      • setSubmissionGroovyLogPublish

        public void setSubmissionGroovyLogPublish​(boolean publish)
        Set if new submission groovy service log should be published.
        Parameters:
        publish - specify whether to publish submission groovy logs
      • setSubmissionGroovyLogDataPublish

        public void setSubmissionGroovyLogDataPublish​(boolean publish)
        Set if new submission groovy service log data should be published.
        Parameters:
        publish - specify whether to publish submission groovy log data
      • setSubmissionRequestLogPublish

        public void setSubmissionRequestLogPublish​(boolean publish)
        Set if new submission request log records should be published.
        Parameters:
        publish - specify whether to publish submission request log records
      • getSubmissionQueue

        public String getSubmissionQueue()
        Return the submission publishing queue override, if not using default queue name.
        Specified by:
        getSubmissionQueue in interface ISysEventPublisher
        Returns:
        submissionQueue string or default queue if submissionQueue is not specified.
      • setSubmissionQueue

        public void setSubmissionQueue​(String submissionQueue)
        Set the submission publishing queue override, if not using default queue name.
        Parameters:
        submissionQueue - the SubmissionQueue to set.
      • setSystemHealthPublish

        public void setSystemHealthPublish​(Boolean publish)
        Set if system health records should be published.
        Parameters:
        publish - specify whether to publish system health records
      • getSystemHealthQueue

        public String getSystemHealthQueue()
        Return the system health publishing queue override, if not using default queue name.
        Specified by:
        getSystemHealthQueue in interface ISysEventPublisher
        Returns:
        systemHealthQueue string or default queue if systemHealthQueue is not specified.
      • setSystemHealthQueue

        public void setSystemHealthQueue​(String systemHealthQueue)
        Set the system health publishing queue override, if not using default queue name.
        Parameters:
        systemHealthQueue - the systemHealthQueue to set.
      • isUserAuthPublish

        public boolean isUserAuthPublish()
        Specified by:
        isUserAuthPublish in interface ISysEventPublisher
        Returns:
        true if user auth records should be published.
      • setUserAuthPublish

        public void setUserAuthPublish​(Boolean publish)
        Set if user auth records should be published.
        Parameters:
        publish - specify whether to publish user auth records
      • getUserAuthQueue

        public String getUserAuthQueue()
        Return the user auth publishing queue override, if not using default queue name.
        Specified by:
        getUserAuthQueue in interface ISysEventPublisher
        Returns:
        userAuthQueue string or default queue if userAuthQueue is not specified.
      • setUserAuthQueue

        public void setUserAuthQueue​(String userAuthQueue)
        Set the user auth publishing queue override, if not using default queue name.
        Parameters:
        userAuthQueue - the userAuthQueue to set.