class NotifierInfoCatalogResource {

    @GET
    @Path("/notifiers/{id}")
    @Timed
    public Response getNotifierById(@PathParam("id") Long id, @Context SecurityContext securityContext) {
        boolean notifierUser = SecurityUtil.hasRole(authorizer, securityContext, Roles.ROLE_NOTIFIER_USER);
        if (notifierUser) {
            LOG.debug("Allowing get Notifier, since user has role: {}", Roles.ROLE_NOTIFIER_USER);
        } else {
            SecurityUtil.checkPermissions(authorizer, securityContext, Notifier.NAMESPACE, id, READ);
        }
        Notifier result = catalogService.getNotifierInfo(id);
        if (result != null) {
            return WSUtils.respondEntity(result, OK);
        }

        throw EntityNotFoundException.byId(id.toString());
    }

    public  NotifierInfoCatalogResource(StreamlineAuthorizer authorizer, StreamCatalogService catalogService, FileStorage fileStorage);

}