Interface FeedbackBean

All Superinterfaces:
IDBean
All Known Implementing Classes:
Event, Tour

public interface FeedbackBean extends IDBean
An interface for beans that collect user feedback.
Since:
11.6
Version:
11.6
Author:
Luke
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Adds a feedback element to the bean.
    Returns the feedback for this bean.
    default boolean
    hasFeedback(int authorID)
    Returns whether feedback has been provided by a particular user.

    Methods inherited from interface org.deltava.beans.IDBean

    getHexID, getID
  • Method Details

    • getFeedback

      Collection<Feedback> getFeedback()
      Returns the feedback for this bean.
      Returns:
      a Collection of Feedback beans
    • addFeedback

      void addFeedback(Feedback f)
      Adds a feedback element to the bean.
      Parameters:
      f - a Feedback object
    • hasFeedback

      default boolean hasFeedback(int authorID)
      Returns whether feedback has been provided by a particular user.
      Parameters:
      authorID - the User's database ID
      Returns:
      TRUE if the User has provided feedback, otherwise FALSE