Class FeedbackService
java.lang.Object
org.deltava.service.WebService
org.deltava.service.feedback.FeedbackService
- Direct Known Subclasses:
EventFeedbackService,TourFeedbackService
An abstract Web Service for common feedback capabilities.
- Since:
- 11.6
- Version:
- 11.6
- Author:
- Luke
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisLogged()Returns whether this web service calls are logged.booleanisSecure()Returns whether this web service requires authentication.protected static org.json.JSONObjectrenderScore(FeedbackBean fb, boolean includeComments) Renders a Feedback score and comments into a JSON object.
-
Constructor Details
-
FeedbackService
FeedbackService()
-
-
Method Details
-
renderScore
Renders a Feedback score and comments into a JSON object.- Parameters:
fb- a FeedbackBeanincludeComments- TRUE if comments should be rendered, otherwise FALSE- Returns:
- a JSONObject with the rendered results
-
isSecure
public boolean isSecure()Description copied from class:WebServiceReturns whether this web service requires authentication.- Overrides:
isSecurein classWebService- Returns:
- TRUE if authentication is required, otherwise FALSE
-
isLogged
public boolean isLogged()Description copied from class:WebServiceReturns whether this web service calls are logged. High volume services like the Map/ServInfo route services will not be logged.- Overrides:
isLoggedin classWebService- Returns:
- TRUE if invocation logging should be performed by the servlet, otherwise FALSE
-