# Uses of Class
com.plannaplan.entities.Course

Packages that use Course
Package | Description
--- | ---
com.plannaplan.entities | Provides all entieites that are created in database by Hibernate
com.plannaplan.repositories | Provides jpa repositories interfaces to comunicate with database.
com.plannaplan.services | Provides service classes to make operations with entities or comunicate with external systems.

## Uses of Course in com.plannaplan.entities

Methods in com.plannaplan.entities that return Course
Modifier and Type | Method | Description
--- | --- | ---
`Course` | Groups.`getCourseId()` | getCourseId

Methods in com.plannaplan.entities with parameters of type Course
Modifier and Type | Method | Description
--- | --- | ---
`void` | Groups.`setCourseId​(Course courseId)` | setCourseId
`void` | Groups.`update​(java.lang.Integer capacity, java.lang.String room, Course course, java.lang.Integer time, java.lang.Integer endTime, WeekDay day, Lecturer lecturer, GroupType type)` | Updates given values other that are not null

Constructors in com.plannaplan.entities with parameters of type Course
Constructor | Description
--- | ---
`Groups​(int capacity, java.lang.String room, Course course, int time, int endTime, WeekDay day, Lecturer lecturer)` | Groups
`Groups​(int capacity, java.lang.String room, Course course, int time, int endTime, WeekDay day, Lecturer lecturer, java.lang.Integer zajCykId, java.lang.Integer grNr)` | Groups
`Groups​(int capacity, java.lang.String room, Course course, int time, int endTime, WeekDay day, Lecturer lecturer, java.lang.Integer zajCykId, java.lang.Integer grNr, GroupType type)` | Groups
`Groups​(int capacity, java.lang.String room, Course course, int time, WeekDay day, Lecturer lecturer)` | Create groups with default class duration
`Groups​(int capacity, java.lang.String room, Course course, int time, WeekDay day, Lecturer lecturer, java.lang.Integer zajCykId, java.lang.Integer grNr)` | Groups
`Groups​(int capacity, java.lang.String room, Course course, int time, WeekDay day, Lecturer lecturer, java.lang.Integer zajCykId, java.lang.Integer grNr, GroupType type)` | Groups

## Uses of Course in com.plannaplan.repositories

Methods in com.plannaplan.repositories that return types with arguments of type Course
Modifier and Type | Method | Description
--- | --- | ---
`java.util.Optional<Course>` | CourseRepository.`findByName​(java.lang.String name)` |

## Uses of Course in com.plannaplan.services

Methods in com.plannaplan.services that return Course
Modifier and Type | Method | Description
--- | --- | ---
`Course` | CourseService.`save​(Course course)` | save to db

Methods in com.plannaplan.services that return types with arguments of type Course
Modifier and Type | Method | Description
--- | --- | ---
`java.util.List<Course>` | CourseService.`getAllCourses()` |
`java.util.Optional<Course>` | CourseService.`getCourseByName​(java.lang.String name)` | getCourseByName

Methods in com.plannaplan.services with parameters of type Course
Modifier and Type | Method | Description
--- | --- | ---
`void` | CourseService.`delete​(Course course)` | delete course from db
`Course` | CourseService.`save​(Course course)` | save to db