@GET @Produces("image/*") @Path("logo") @RolesAllowed({AuthorizationService.ROLE_ADMIN, AuthorizationService.ROLE_USER}) public Response getUploadLogo() throws Exception { return runService(generalFactory.getUploadLogo()); }
@GET @Path("footer") @Consumes(MediaType.APPLICATION_JSON) public Response getFooter() { return runService(generalFactory.getFooterService()); }