Class DefaultAckdConfigurationDao

    • Constructor Detail

      • DefaultAckdConfigurationDao

        public DefaultAckdConfigurationDao()

        Constructor for DefaultAckdConfigurationDao.

    • Method Detail

      • acknowledgmentMatch

        public java.lang.Boolean acknowledgmentMatch​(java.util.List<java.lang.String> messageText)
        Utility method for determining if a reply email should acknowledge an acknowledgable
        Specified by:
        acknowledgmentMatch in interface AckdConfigurationDao
        Parameters:
        messageText - a List object.
        Returns:
        Boolean
      • clearMatch

        public java.lang.Boolean clearMatch​(java.util.List<java.lang.String> messageText)
        Utility method for determining if a reply email should clear an acknowledgable
        Specified by:
        clearMatch in interface AckdConfigurationDao
        Parameters:
        messageText - a List object.
        Returns:
        Boolean
      • escalationMatch

        public java.lang.Boolean escalationMatch​(java.util.List<java.lang.String> messageText)
        Utility method for determining if a reply email should escalate an acknowledgable
        Specified by:
        escalationMatch in interface AckdConfigurationDao
        Parameters:
        messageText - a List object.
        Returns:
        Boolean
      • unAcknowledgmentMatch

        public java.lang.Boolean unAcknowledgmentMatch​(java.util.List<java.lang.String> messageText)
        Utility method for determining if a reply email should unacknoweledge an acknowledgable
        Specified by:
        unAcknowledgmentMatch in interface AckdConfigurationDao
        Parameters:
        messageText - a List object.
        Returns:
        Boolean
      • getReader

        public Reader getReader​(java.lang.String readerName)
        Utility method to retrieve a readers configuration by name. Each AckdReader requires that a name property is defined and the configuration uses that name to retrieve configuration details for that named reader.
        Specified by:
        getReader in interface AckdConfigurationDao
        Parameters:
        readerName - a String object.
        Returns:
        a Reader configuration
      • getReaderSchedule

        public ReaderSchedule getReaderSchedule​(java.lang.String readerName)
        Utility method to retrieve a schedule defined for a reader. Each AckdReader requires that a name property is defined and the configuration uses that name to retrieve configuration details for that named reader.
        Specified by:
        getReaderSchedule in interface AckdConfigurationDao
        Parameters:
        readerName - a String object.
        Returns:
        a ReaderSchedule
      • isReaderEnabled

        public boolean isReaderEnabled​(java.lang.String readerName)
        Utility method that determines if a named reader's configuration is enabled. Each AckdReader requires that a name property is defined and the configuration uses that name to retrieve configuration details for that named reader.
        Specified by:
        isReaderEnabled in interface AckdConfigurationDao
        Parameters:
        readerName - a String object.
        Returns:
        a boolean.
      • reloadConfiguration

        public void reloadConfiguration()
                                 throws org.springframework.dao.DataAccessResourceFailureException
        The exception boils up from the container class The container class should indicate this.
        Specified by:
        reloadConfiguration in interface AckdConfigurationDao
        Throws:
        org.springframework.dao.DataAccessResourceFailureException - if any.
      • getParametersForReader

        public java.util.List<Parameter> getParametersForReader​(java.lang.String name)

        getParametersForReader

        Specified by:
        getParametersForReader in interface AckdConfigurationDao
        Parameters:
        name - a String object.
        Returns:
        a List object.