Class FeedbackService

java.lang.Object
org.deltava.service.WebService
org.deltava.service.feedback.FeedbackService
Direct Known Subclasses:
EventFeedbackService, TourFeedbackService

abstract class FeedbackService extends WebService
An abstract Web Service for common feedback capabilities.
Since:
11.6
Version:
11.6
Author:
Luke
  • Constructor Details

    • FeedbackService

      FeedbackService()
  • Method Details

    • renderScore

      protected static org.json.JSONObject renderScore(FeedbackBean fb, boolean includeComments)
      Renders a Feedback score and comments into a JSON object.
      Parameters:
      fb - a FeedbackBean
      includeComments - TRUE if comments should be rendered, otherwise FALSE
      Returns:
      a JSONObject with the rendered results
    • isSecure

      public boolean isSecure()
      Description copied from class: WebService
      Returns whether this web service requires authentication.
      Overrides:
      isSecure in class WebService
      Returns:
      TRUE if authentication is required, otherwise FALSE
    • isLogged

      public boolean isLogged()
      Description copied from class: WebService
      Returns whether this web service calls are logged. High volume services like the Map/ServInfo route services will not be logged.
      Overrides:
      isLogged in class WebService
      Returns:
      TRUE if invocation logging should be performed by the servlet, otherwise FALSE