@@ -263,13 +263,13 @@ public Response getAllClassRegEventsFromRoomId(LocalDate start, LocalDate end, i
263
263
}
264
264
265
265
/**
266
- * Get the Information about the ClassRegEvents for a specific time period and student id (<- from https://github.com/python-webuntis/python-webuntis).
266
+ * Get the Information about the ClassRegEvents for a specific time period and person id (<- from https://github.com/python-webuntis/python-webuntis).
267
267
*
268
268
* @see Session#getClassRegEvents(LocalDate, LocalDate, UntisUtils.ElementType, Integer)
269
269
* @since 1.0
270
270
*/
271
- public Response getAllClassRegEventsFromStudentId (LocalDate start , LocalDate end , int id ) throws IOException {
272
- return this .getClassRegEvents (start , end , UntisUtils .ElementType .STUDENT , id );
271
+ public Response getAllClassRegEventsFromPersonId (LocalDate start , LocalDate end , int personId ) throws IOException {
272
+ return this .getClassRegEvents (start , end , UntisUtils .ElementType .PERSON , personId );
273
273
}
274
274
275
275
/**
@@ -869,13 +869,13 @@ public Timetable getTimetableFromRoomId(LocalDate start, LocalDate end, int room
869
869
}
870
870
871
871
/**
872
- * Returns the lessons / timetable for a specific time period and student id.
872
+ * Returns the lessons / timetable for a specific time period and person id.
873
873
*
874
874
* @see Session#getTimetable(LocalDate, LocalDate, UntisUtils.ElementType, int)
875
875
* @since 1.0
876
876
*/
877
- public Timetable getTimetableFromStudentId (LocalDate start , LocalDate end , int studentId ) throws IOException {
878
- return this .getTimetable (start , end , UntisUtils .ElementType .STUDENT , studentId );
877
+ public Timetable getTimetableFromPersonId (LocalDate start , LocalDate end , int personId ) throws IOException {
878
+ return this .getTimetable (start , end , UntisUtils .ElementType .PERSON , personId );
879
879
}
880
880
881
881
/**
@@ -957,13 +957,13 @@ public WeeklyTimetable getWeeklyTimetableFromRoomId(LocalDate anyDateOfWeek, int
957
957
}
958
958
959
959
/**
960
- * Requests the timetable for a whole week and a student id
960
+ * Requests the timetable for a whole week and a person id
961
961
*
962
962
* @see Session#getWeeklyTimetable(LocalDate, UntisUtils.ElementType, int)
963
963
* @since 1.1
964
964
*/
965
- public WeeklyTimetable getWeeklyTimetableFromStudentId (LocalDate anyDateOfWeek , int studentId ) throws IOException {
966
- return this .getWeeklyTimetable (anyDateOfWeek , UntisUtils .ElementType .CLASS , studentId );
965
+ public WeeklyTimetable getWeeklyTimetableFromPersonId (LocalDate anyDateOfWeek , int personId ) throws IOException {
966
+ return this .getWeeklyTimetable (anyDateOfWeek , UntisUtils .ElementType .PERSON , personId );
967
967
}
968
968
969
969
/**
0 commit comments