@Override
 public List<TaskSummary> getTasksAssignedAsPotentialOwner(
     String userId, List<String> groupIds, String language, int firstResult, int maxResults) {
   synchronized (ksession) {
     return taskService.getTasksAssignedAsPotentialOwner(
         userId, groupIds, language, firstResult, maxResults);
   }
 }
 @Override
 public List<TaskSummary> getTasksAssignedAsPotentialOwner(String userId, String language) {
   synchronized (ksession) {
     return taskService.getTasksAssignedAsPotentialOwner(userId, language);
   }
 }