Class MapPlotService
java.lang.Object
org.deltava.service.WebService
org.deltava.service.MapPlotService
- Direct Known Subclasses:
DispatchRouteMapService, RoutePlotMapService, RoutePlotService
An abstract Web Service to store common map plotting code.
- Since:
- 2.3
- Version:
- 12.0
- Author:
- Luke
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static org.json.JSONObjectformatPoints(List<NavigationDataBean> points) Converts route points into a JSON object.booleanisLogged()Returns whether this web service calls are logged.Methods inherited from class WebService
error, error, error, execute, isSecureModifier and TypeMethodDescriptionprotected static ServiceExceptionCreates a ServiceException.protected static ServiceExceptionCreates a ServiceException.protected static ServiceExceptionCreates a ServiceException.abstract intexecute(ServiceContext ctx) Executes the Web Service.booleanisSecure()Returns whether this web service requires authentication.
-
Constructor Details
-
MapPlotService
public MapPlotService()
-
-
Method Details
-
formatPoints
Converts route points into a JSON object.- Parameters:
points- a List of MapEntry beans- Returns:
- a JSONObject
-
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
-