1) hasAccessToDeivce()
2) public Device getDevice(String deviceGuid, User user, Device device)
3) public Equipment getByDeviceClass(@NotNull long deviceClassId, @NotNull long equipmentId) { - одним запросом