public class DepositoryMeasurementServerResource extends WattDepotServerResource implements DepositoryMeasurementResource
depot, orgId
Constructor and Description |
---|
DepositoryMeasurementServerResource() |
Modifier and Type | Method and Description |
---|---|
protected void |
doInit() |
void |
remove()
Defined the DEL
/wattdepot/{org-id}/depository/{depository-id}/measurement
/{measurement-id} API call.
|
Measurement |
retrieve()
Defines GET
/wattdepot/{org-id}/depository/{depository-id}/measurement/{measurement
-id} API call.
|
void |
update(Measurement meas)
Defines POST
/wattdepot/{org-id}/depository/{depository-id}/measurement/{measurement
-id} API call.
|
abort, commit, delete, delete, describeVariants, doCatch, doConditionalHandle, doError, doHandle, doHandle, doNegotiatedHandle, get, get, getAttribute, getInfo, getInfo, getOnSent, getPreferredVariant, getVariants, getVariants, handle, hasAnnotations, head, head, isAnnotated, isAutoCommitting, isCommitted, isConditional, isExisting, isInRole, isNegotiated, options, options, post, post, put, put, redirectPermanent, redirectPermanent, redirectSeeOther, redirectSeeOther, redirectTemporary, redirectTemporary, setAllowedMethods, setAnnotated, setAttribute, setAutoCommitting, setChallengeRequests, setCommitted, setConditional, setCookieSettings, setDimensions, setExisting, setLocationRef, setLocationRef, setNegotiated, setOnSent, setProxyChallengeRequests, setServerInfo, setStatus, setStatus, setStatus, setStatus, updateAllowedMethods, updateDimensions
doError, doRelease, getAllowedMethods, getApplication, getChallengeRequests, getChallengeResponse, getClientInfo, getConditions, getConnegService, getContext, getConverterService, getCookies, getCookieSettings, getDimensions, getHostRef, getLocationRef, getLogger, getMatrix, getMatrixValue, getMaxForwards, getMetadataService, getMethod, getOriginalRef, getProtocol, getProxyChallengeRequests, getProxyChallengeResponse, getQuery, getQueryValue, getRanges, getReference, getReferrerRef, getRequest, getRequestAttributes, getRequestCacheDirectives, getRequestEntity, getResponse, getResponseAttributes, getResponseCacheDirectives, getResponseEntity, getRootRef, getServerInfo, getStatus, getStatusService, init, isConfidential, isLoggable, release, setApplication, setQueryValue, setRequest, setResponse, toObject, toRepresentation, toString
protected void doInit() throws org.restlet.resource.ResourceException
doInit
in class WattDepotServerResource
org.restlet.resource.ResourceException
public Measurement retrieve()
DepositoryMeasurementResource
retrieve
in interface DepositoryMeasurementResource
public void update(Measurement meas)
DepositoryMeasurementResource
update
in interface DepositoryMeasurementResource
meas
- The Measurement to store.public void remove()
DepositoryMeasurementResource
remove
in interface DepositoryMeasurementResource
Copyright © 2015 Collaborative Software Development Laboratory. All rights reserved.