Package client.request
Class Kos
- java.lang.Object
-
- client.request.Kos
-
public final class Kos extends Object
- Author:
- Tomáš Hamsa on 13.09.2017.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Stream<Course>getAllCourses(ApiBase location, String semesterCode, String query)static Stream<Programme>getAllProgrammes(ApiBase location, String semesterCode, String query)static StringgetCourseName(ApiBase location, String semesterCode, String courseCode)static Stream<Parallel>getCourseParallels(ApiBase location, String semesterCode, String courseCode, String query)static StringgetCurrentSemesterCode()static Stream<Course>getProgrammeCourses(ApiBase location, String semesterCode, String query, String programmeCode)static Stream<InternalCourseEnrollment>getStudentCourses(ApiBase location, String semesterCode, String studentUsernameOrId)
-
-
-
Method Detail
-
getStudentCourses
public static Stream<InternalCourseEnrollment> getStudentCourses(@Nonnull ApiBase location, String semesterCode, @Nonnull String studentUsernameOrId) throws IOException
- Throws:
IOException
-
getCourseParallels
public static Stream<Parallel> getCourseParallels(@Nonnull ApiBase location, String semesterCode, String courseCode, @Nullable String query) throws IOException
- Throws:
IOException
-
getAllProgrammes
public static Stream<Programme> getAllProgrammes(@Nonnull ApiBase location, String semesterCode, @Nullable String query) throws IOException
- Throws:
IOException
-
getProgrammeCourses
public static Stream<Course> getProgrammeCourses(@Nonnull ApiBase location, String semesterCode, String query, String programmeCode) throws IOException
- Throws:
IOException
-
getAllCourses
public static Stream<Course> getAllCourses(@Nonnull ApiBase location, @Nonnull String semesterCode, @Nullable String query) throws IOException
- Throws:
IOException
-
getCourseName
public static String getCourseName(@Nonnull ApiBase location, String semesterCode, String courseCode) throws IOException
- Throws:
IOException
-
getCurrentSemesterCode
public static String getCurrentSemesterCode()
-
-