private void prepareConstants(
      DynaActionForm personExecutionCourseForm, HttpServletRequest request)
      throws FenixServiceException {

    request.setAttribute(
        "infoPerson", InfoPerson.newInfoFromDomain(getPerson(personExecutionCourseForm)));
  }
Example #2
0
  public List run(InfoPerson infoPerson) {
    final List<InfoStudent> result = new ArrayList<InfoStudent>();

    Person person = (Person) rootDomainObject.readPartyByOID(infoPerson.getIdInternal());
    for (final Registration registration : person.getStudents()) {
      result.add(InfoStudent.newInfoFromDomain(registration));
    }

    return result;
  }