Interface IWatches


public interface IWatches
Since:
3.23.4
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Adds the user as a watcher to this object
    Gets the users watching this object
    boolean
    Returns true when the user is watching this object
    void
    Removes the user as a watcher from this object
  • Method Details

    • addWatcher

      void addWatcher(@NotNull IUser user)
      Adds the user as a watcher to this object
    • removeWatcher

      void removeWatcher(@NotNull IUser user)
      Removes the user as a watcher from this object
    • getWatchers

      @NotNull IPObjectList<IUser> getWatchers()
      Gets the users watching this object
    • isWatchedBy

      boolean isWatchedBy(@NotNull IUser user)
      Returns true when the user is watching this object