Package org.corrib.s3b.recommendations

Examples of org.corrib.s3b.recommendations.UserRecommendationPrefs


          int limit = Integer.parseInt(req.getParameter("sel1_"+names[i].getAbbrName()));
          int weight = 0;
          if(!names[i].getAbbrName().equals(RecommendationName.OVERALL.getAbbrName()))
            weight = Integer.parseInt(req.getParameter("sel2_"+names[i].getAbbrName()));
         
          UserRecommendationPrefs urp = new UserRecommendationPrefs(names[i], limit, weight);
          urp.saveUserRecommendationPrefs(person.getMbox().toString());
        }
      }
     
      resp.sendRedirect(((req.getContextPath() != null)?req.getContextPath():"")+"/profile/"); //maybe some parameter saying that data have changed?
    }
View Full Code Here

TOP

Related Classes of org.corrib.s3b.recommendations.UserRecommendationPrefs

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.