* @throws ResponseException
*/
public SimpleObject getRaxaAlertsByProvider(String providerUniqueId, RequestContext context) throws ResponseException {
Provider provider = Context.getProviderService().getProviderByUuid(providerUniqueId);
if (provider == null) {
throw new ObjectNotFoundException();
}
List<RaxaAlert> raxaAlerts = Context.getService(RaxaAlertService.class).getRaxaAlertByProviderRecipientId(
provider.getId(), false);
return new NeedsPaging<RaxaAlert>(raxaAlerts, context).toSimpleObject();
}