Class DefaultAckdConfigurationDao

    • Constructor Detail

      • DefaultAckdConfigurationDao

        public DefaultAckdConfigurationDao()

        Constructor for DefaultAckdConfigurationDao.

    • Method Detail

      • acknowledgmentMatch

        public Boolean acknowledgmentMatch​(List<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 Boolean clearMatch​(List<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 Boolean escalationMatch​(List<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 Boolean unAcknowledgmentMatch​(List<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​(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​(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​(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.