Ejemplo n.º 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);
 }
Ejemplo n.º 2
0
 @RequestMapping(
     value = {"/companyCache/{companyId}/preReqs"},
     method = {RequestMethod.GET})
 @ResponseBody
 public Map preReqs(@PathVariable("companyId") int companyId) throws Exception {
   return companyCache.getMapOfFilterPreReqs(companyId);
 }