/** * Retrieves a list of rule results for a specific event and option. * * @param eventId the event id * @param optionId the option id * @return {@link Object} */ @RequestMapping(path = "/event_option_rules/rules_by_event_option", method = RequestMethod.GET) public Object getEventRuleByEventIdAndOptionId( @RequestParam(value = "event_id") final Long eventId, @RequestParam(value = "option_id") final Long optionId) { System.out.println("event_id::" + eventId + "\noption_id::" + optionId); Object o = repository.findEventRulesForEventIdAndOptionId(eventId, optionId); return o; }