Class TourService
java.lang.Object
org.deltava.service.WebService
org.deltava.service.stats.TourService
- Direct Known Subclasses:
TourInfoService, TourListService, TourUpdateService
A Web Service to handle Flight Tours via API.
- Since:
- 10.3
- Version:
- 12.4
- Author:
- Luke
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class WebService
error, error, error, execute, isLoggedModifier and TypeMethodDescriptionprotected static ServiceExceptionCreates a ServiceException.protected static ServiceExceptionCreates a ServiceException.protected static ServiceExceptionCreates a ServiceException.abstract intexecute(ServiceContext ctx) Executes the Web Service.booleanisLogged()Returns whether this web service calls are logged.
-
Constructor Details
-
TourService
TourService()
-
-
Method Details
-
serialize
Serializes a Tour to JSON.- Parameters:
t- the Tour- Returns:
- a JSONObject
-
isSecure
public final boolean isSecure()Description copied from class:WebServiceReturns whether this web service requires authentication.- Overrides:
isSecurein classWebService- Returns:
- TRUE if authentication is required, otherwise FALSE
-