Пример #1
0
  /**
   * @see
   *     org.telscenter.sail.webapp.service.offering.RunService#addRolesToSharedTeacher(java.lang.Long,
   *     java.lang.Long, java.util.Set)
   */
  public void addRolesToSharedTeacher(Long runId, Long userId, Set<String> roles)
      throws ObjectNotFoundException {
    // TODO Auto-generated method stub

    Run run = runDao.getById(runId);
    User user = userDao.getById(userId);
    // user.getUserDetails().
    // aclService.addPermission(run, permission)
  }
Пример #2
0
 /** @see org.telscenter.sail.webapp.service.offering.RunService#retrieveById(java.lang.Long) */
 public Run retrieveById(Long runId) throws ObjectNotFoundException {
   return runDao.getById(runId);
 }