AnsweredAssumed Answered

getCourses() Heavy Load not working

Question asked by as0045500 on Oct 16, 2017

Hi guys,


I'm trying to load all the courses from a student, even the locked one's but without success.


I tried to use the heavyload but it's still returning only the not locked courses for the user.


Any advice?


my method is:


public List<GetDataModel> GetCrts(User user, int idTypeCourse, boolean hasException) throws PersistenceException {


  CourseDbLoader courseDbLoader = (CourseDbLoader) bbPersist.getLoader(CourseDbLoader.TYPE);

   List<Course> tempCourses = courseDbLoader.loadByUserId(user.getId(), null, true);


   return tempCourses;



edit: used a private api to achieve it!