public class AccessEngine extends Object
Modifier and Type | Field and Description |
---|---|
protected static String |
NO_ACCESS_MESSAGE |
Constructor and Description |
---|
AccessEngine() |
Modifier and Type | Method and Description |
---|---|
protected User |
getUser() |
protected void |
hasAccessGateway(Integer gatewayId) |
protected void |
hasAccessNode(Integer nodeId) |
protected void |
hasAccessSensor(Integer id) |
protected void |
hasAccessSensorVariable(Integer id) |
protected boolean |
isSuperAdmin() |
protected void |
updateGatewayIds(List<Integer> ids) |
protected void |
updateNodeIds(List<Integer> ids) |
protected void |
updateSensorIds(List<Integer> ids) |
protected void |
updateSensorVariableIds(List<Integer> ids) |
protected static final String NO_ACCESS_MESSAGE
protected User getUser()
protected boolean isSuperAdmin()
protected void hasAccessSensor(Integer id)
protected void hasAccessSensorVariable(Integer id)
protected void hasAccessNode(Integer nodeId)
protected void hasAccessGateway(Integer gatewayId)
Copyright © 2015–2019. All rights reserved.