@HTTPService(name="shock") public class ShockService extends java.lang.Object
Constructor and Description |
---|
ShockService() |
Modifier and Type | Method and Description |
---|---|
void |
createMeasurement(core.tut.pori.http.parameters.AuthenticationParameter authenticatedUser,
core.tut.pori.http.parameters.InputStreamParameter xml) |
core.tut.pori.http.Response |
getHighlights(core.tut.pori.http.parameters.AuthenticationParameter authenticatedUser,
core.tut.pori.http.parameters.IntegerParameter minMeasurements,
core.tut.pori.http.parameters.DoubleParameter range,
LocationLimits locationLimits,
core.tut.pori.http.parameters.IntegerParameter levelFilter,
core.tut.pori.http.parameters.DateIntervalParameter dateInterval,
core.tut.pori.http.parameters.Limits limits,
core.tut.pori.http.parameters.LongParameter userIdFilter) |
core.tut.pori.http.Response |
getMeasurements(core.tut.pori.http.parameters.AuthenticationParameter authenticatedUser,
LocationLimits locationLimits,
core.tut.pori.http.parameters.DataGroups dataGroups,
core.tut.pori.http.parameters.IntegerParameter levelFilter,
core.tut.pori.http.parameters.DateIntervalParameter dateInterval,
core.tut.pori.http.parameters.Limits limits,
core.tut.pori.http.parameters.StringParameter groupMethod,
core.tut.pori.http.parameters.IntegerParameter groupRange,
core.tut.pori.http.parameters.LongParameter userIdFilter) |
public ShockService()
@HTTPServiceMethod(name="createMeasurement", acceptedMethods="POST") public void createMeasurement(@HTTPAuthenticationParameter core.tut.pori.http.parameters.AuthenticationParameter authenticatedUser, @HTTPMethodParameter(name="body",bodyParameter=true) core.tut.pori.http.parameters.InputStreamParameter xml)
authenticatedUser
- xml
- ShockMeasurementList
@HTTPServiceMethod(name="getMeasurements", acceptedMethods="GET") public core.tut.pori.http.Response getMeasurements(@HTTPAuthenticationParameter core.tut.pori.http.parameters.AuthenticationParameter authenticatedUser, @HTTPMethodParameter(name="location_limits",required=false) LocationLimits locationLimits, @HTTPMethodParameter(name="data_groups",required=false) core.tut.pori.http.parameters.DataGroups dataGroups, @HTTPMethodParameter(name="level",required=false) core.tut.pori.http.parameters.IntegerParameter levelFilter, @HTTPMethodParameter(name="timestamp",required=false) core.tut.pori.http.parameters.DateIntervalParameter dateInterval, @HTTPMethodParameter(name="limits",required=false) core.tut.pori.http.parameters.Limits limits, @HTTPMethodParameter(name="group_method",required=false) core.tut.pori.http.parameters.StringParameter groupMethod, @HTTPMethodParameter(name="group_range",required=false) core.tut.pori.http.parameters.IntegerParameter groupRange, @HTTPMethodParameter(name="user_id",required=false) core.tut.pori.http.parameters.LongParameter userIdFilter)
authenticatedUser
- locationLimits
- dataGroups
- levelFilter
- dateInterval
- limits
- groupMethod
- groupRange
- userIdFilter
- ShockMeasurementList
@HTTPServiceMethod(name="getHighlights", acceptedMethods="GET") public core.tut.pori.http.Response getHighlights(@HTTPAuthenticationParameter core.tut.pori.http.parameters.AuthenticationParameter authenticatedUser, @HTTPMethodParameter(name="min_measurements") core.tut.pori.http.parameters.IntegerParameter minMeasurements, @HTTPMethodParameter(name="range") core.tut.pori.http.parameters.DoubleParameter range, @HTTPMethodParameter(name="location_limits",required=false) LocationLimits locationLimits, @HTTPMethodParameter(name="level",required=false) core.tut.pori.http.parameters.IntegerParameter levelFilter, @HTTPMethodParameter(name="timestamp",required=false) core.tut.pori.http.parameters.DateIntervalParameter dateInterval, @HTTPMethodParameter(name="limits",required=false) core.tut.pori.http.parameters.Limits limits, @HTTPMethodParameter(name="user_id",required=false) core.tut.pori.http.parameters.LongParameter userIdFilter)
authenticatedUser
- minMeasurements
- range
- locationLimits
- levelFilter
- dateInterval
- limits
- userIdFilter
- ShockHighlightList
Copyright © 2015-2018 Tampere University of Technology, Pori Department.