Class DataExportService
java.lang.Object
org.deltava.service.WebService
org.deltava.service.DownloadService
org.deltava.service.logbook.DataExportService
A Web Service to export complete Log Book data.
- Since:
- 12.4
- Version:
- 12.4
- Author:
- Luke
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintexecute(ServiceContext ctx) Executes the Web Service.final booleanisSecure()Returns whether this web service requires authentication.Methods inherited from class DownloadService
sendFile, sendFileModifier and TypeMethodDescriptionprotected static voidSends a file to the HTTP output stream, either via mod_xsendfile or through native Java I/O streaming.protected static voidSends a file to the HTTP output stream, either via mod_xsendfile or through native Java I/O streaming.Methods inherited from class WebService
error, error, error, isLoggedModifier and TypeMethodDescriptionprotected static ServiceExceptionCreates a ServiceException.protected static ServiceExceptionCreates a ServiceException.protected static ServiceExceptionCreates a ServiceException.booleanisLogged()Returns whether this web service calls are logged.
-
Constructor Details
-
DataExportService
public DataExportService()
-
-
Method Details
-
execute
Executes the Web Service.- Specified by:
executein classWebService- Parameters:
ctx- the Web Service context- Returns:
- the HTTP status code
- Throws:
ServiceException- if an error occurs
-
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
-