public List getDepartmentTeachers() throws FenixFilterException, FenixServiceException {  InfoTeacher infoTeacher = (InfoTeacher) ServiceUtils.executeService(getUserView(), "ReadTeacherByUsername", new Object[] { this.getUserView().getUtilizador() });  InfoDepartment infoDepartment = (InfoDepartment) ServiceUtils.executeService(getUserView(), "ReadDepartmentByTeacher", new Object[] { infoTeacher });  List<InfoTeacher> result = (List<InfoTeacher>) ServiceUtils.executeService(getUserView(), "ReadDepartmentTeachersByDepartmentID", new Object[] { infoDepartment.getIdInternal() });
public List getDepartmentTeachers() throws FenixFilterException, FenixServiceException { List<ITeacher> result = new ArrayList<ITeacher>(getUserView().getPerson().getTeacher().getLastWorkingDepartment().getTeachers());
    public List getDepartmentTeachers() throws FenixFilterException, FenixServiceException {        InfoTeacher infoTeacher = (InfoTeacher) ServiceUtils.executeService(getUserView(),                "ReadTeacherByUsername", new Object[] { this.getUserView().getUtilizador() });        InfoDepartment infoDepartment = (InfoDepartment) ServiceUtils.executeService(getUserView(),                "ReadDepartmentByTeacher", new Object[] { infoTeacher });        List<InfoTeacher> result = (List<InfoTeacher>) ServiceUtils.executeService(getUserView(),                "ReadDepartmentTeachersByDepartmentID", new Object[] { infoDepartment.getIdInternal() });        ComparatorChain comparatorChain = new ComparatorChain();        comparatorChain.addComparator(new BeanComparator("teacherNumber"));        Collections.sort(result, comparatorChain);        return result;    }