@Path(value="/rest/resources/logs") @Produces(value="application/json") @Consumes(value="application/json") @RolesAllowed(value="User") public class ResourcesLogsHandler extends AccessEngine
NO_ACCESS_MESSAGE| Constructor and Description |
|---|
ResourcesLogsHandler() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
getAll(String resourceType,
Integer resourceId,
String messageType,
String logLevel,
List<String> message,
String logDirection,
Long pageLimit,
Long page,
String orderBy,
String order) |
javax.ws.rs.core.Response |
purge(List<Integer> ids) |
javax.ws.rs.core.Response |
purge(ResourcesLogs resourcesLogs) |
getUser, hasAccessGateway, hasAccessNode, hasAccessSensor, hasAccessSensorVariable, isSuperAdmin, updateGatewayIds, updateNodeIds, updateSensorIds, updateSensorVariableIds@GET
@Path(value="/")
public javax.ws.rs.core.Response getAll(@QueryParam(value="resourceType")
String resourceType,
@QueryParam(value="resourceId")
Integer resourceId,
@QueryParam(value="messageType")
String messageType,
@QueryParam(value="logLevel")
String logLevel,
@QueryParam(value="message")
List<String> message,
@QueryParam(value="logDirection")
String logDirection,
@QueryParam(value="pageLimit")
Long pageLimit,
@QueryParam(value="page")
Long page,
@QueryParam(value="orderBy")
String orderBy,
@QueryParam(value="order")
String order)
@RolesAllowed(value="Admin") @PUT @Path(value="/") public javax.ws.rs.core.Response purge(ResourcesLogs resourcesLogs)
@RolesAllowed(value="Admin") @POST @Path(value="/delete") public javax.ws.rs.core.Response purge(List<Integer> ids)
Copyright © 2015–2019. All rights reserved.