Interface DataEvent

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getSubject()
      Returns the subject to which the event relates.
      boolean isImage()
      Returns whether this was an image event or an update event.
    • Method Detail

      • getSubject

        java.lang.String getSubject()

        Returns the subject to which the event relates.

        Returns:
        the subject
      • isImage

        boolean isImage()

        Returns whether this was an image event or an update event.

        If this method returns true, all data for the subject is contained within this event; you should therefore clear the application's caches of any current data for the subject of this event before refreshing them with the new data.

        Returns:
        true if this event contains all data for the subject (an "image"), false if the event contains only some of the data (an "update").