Пример #1
0
 @RequestMapping(
     value = {"/companyCache/{companyId}/weightedAttributes"},
     method = {RequestMethod.GET})
 @ResponseBody
 public List<Attribute> weighted(@PathVariable("companyId") int companyId) throws Exception {
   return companyCache.getWeightedAttributes(companyId);
 }
Пример #2
0
 @RequestMapping(
     value = {"/companyCache/{companyId}/preReqs"},
     method = {RequestMethod.GET})
 @ResponseBody
 public Map preReqs(@PathVariable("companyId") int companyId) throws Exception {
   return companyCache.getMapOfFilterPreReqs(companyId);
 }