Interface AlertServiceLocal

    • Method Detail

      • countSystemAlerts

        int countSystemAlerts​(Date since)
        Counts system alerts generated since the given time. If time is null, all events are counted. Only non-removed (active) alerts are considered.
      • countUserAlerts

        int countUserAlerts​(Date since)
        Count every user alert generated since the given time. If time is null, all events are counted. Only non-removed (active) alerts are considered.
      • custom

        SystemAlert custom​(String message)
        Creates a new custom system alert in the current network
      • custom

        UserAlert custom​(User user,
                         String message)
        Creates a new custom user alert in the current network
      • resolveArguments

        Object[] resolveArguments​(Alert alert)
        Returns the resolved values for each argument. The result are the arguments to be passed to the message.