Package org.openremote.manager.datapoint
Class AssetDatapointResourceImpl
java.lang.Object
org.openremote.container.web.WebResource
org.openremote.manager.web.ManagerWebResource
org.openremote.manager.datapoint.AssetDatapointResourceImpl
- All Implemented Interfaces:
org.openremote.container.security.AuthContext,org.openremote.model.datapoint.AssetDatapointResource
public class AssetDatapointResourceImpl
extends ManagerWebResource
implements org.openremote.model.datapoint.AssetDatapointResource
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AssetDatapointServiceprotected final AssetStorageServiceFields inherited from class org.openremote.manager.web.ManagerWebResource
identityService, timerServiceFields inherited from class org.openremote.container.web.WebResource
application, httpHeaders, request, response, securityContext, uriInfo -
Constructor Summary
ConstructorsConstructorDescriptionAssetDatapointResourceImpl(org.openremote.container.timer.TimerService timerService, ManagerIdentityService identityService, AssetStorageService assetStorageService, AssetDatapointService assetDatapointService) -
Method Summary
Modifier and TypeMethodDescriptionvoidgetDatapointExport(jakarta.ws.rs.container.AsyncResponse asyncResponse, String attributeRefsString, long fromTimestamp, long toTimestamp) org.openremote.model.datapoint.DatapointPeriodgetDatapointPeriod(org.openremote.model.http.RequestParams requestParams, String assetId, String attributeName) org.openremote.model.datapoint.ValueDatapoint<?>[]getDatapoints(org.openremote.model.http.RequestParams requestParams, String assetId, String attributeName, org.openremote.model.datapoint.query.AssetDatapointQuery query) Methods inherited from class org.openremote.manager.web.ManagerWebResource
getAuthenticatedRealm, getRequestRealm, isRealmActiveAndAccessible, isRealmActiveAndAccessible, isRestrictedUserMethods inherited from class org.openremote.container.web.WebResource
getApplication, getAuthContext, getAuthenticatedRealmName, getClientId, getClientRemoteAddress, getContainer, getRequestRealmName, getUserId, getUsername, hasRealmRole, hasResourceRole, isAuthenticatedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openremote.container.security.AuthContext
hasResourceRoleOrIsSuperUser, isRealmAccessibleByUser, isSuperUser
-
Field Details
-
assetStorageService
-
assetDatapointService
-
-
Constructor Details
-
AssetDatapointResourceImpl
public AssetDatapointResourceImpl(org.openremote.container.timer.TimerService timerService, ManagerIdentityService identityService, AssetStorageService assetStorageService, AssetDatapointService assetDatapointService)
-
-
Method Details
-
getDatapoints
public org.openremote.model.datapoint.ValueDatapoint<?>[] getDatapoints(@BeanParam org.openremote.model.http.RequestParams requestParams, String assetId, String attributeName, org.openremote.model.datapoint.query.AssetDatapointQuery query) - Specified by:
getDatapointsin interfaceorg.openremote.model.datapoint.AssetDatapointResource
-
getDatapointPeriod
public org.openremote.model.datapoint.DatapointPeriod getDatapointPeriod(org.openremote.model.http.RequestParams requestParams, String assetId, String attributeName) - Specified by:
getDatapointPeriodin interfaceorg.openremote.model.datapoint.AssetDatapointResource
-
getDatapointExport
public void getDatapointExport(jakarta.ws.rs.container.AsyncResponse asyncResponse, String attributeRefsString, long fromTimestamp, long toTimestamp) - Specified by:
getDatapointExportin interfaceorg.openremote.model.datapoint.AssetDatapointResource
-