# Uses of Class
com.plannaplan.entities.Commision

Packages that use Commision
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 Commision in com.plannaplan.entities

Methods in com.plannaplan.entities that return Commision
Modifier and Type | Method | Description
--- | --- | ---
`Commision` | Assignment.`getCommision()` | Getter of commision

Methods in com.plannaplan.entities with parameters of type Commision
Modifier and Type | Method | Description
--- | --- | ---
`static Assignment` | Assignment.`getNewFromAssignment​(Assignment oldAssignment, Commision newCommision)` |
`void` | Assignment.`setCommision​(Commision commision)` |

Constructors in com.plannaplan.entities with parameters of type Commision
Constructor | Description
--- | ---
`Assignment​(Groups group, Commision commision)` | Assignment
`Assignment​(Groups group, Commision commision, boolean isPastAssignment)` | Assignment

## Uses of Commision in com.plannaplan.repositories

Methods in com.plannaplan.repositories that return types with arguments of type Commision
Modifier and Type | Method | Description
--- | --- | ---
`java.util.List<Commision>` | CommisionRepository.`getNewestCommision​(java.lang.Long id)` |
`java.util.List<Commision>` | CommisionRepository.`getUsers​(java.lang.Long id)` |

## Uses of Commision in com.plannaplan.services

Methods in com.plannaplan.services that return Commision
Modifier and Type | Method | Description
--- | --- | ---
`Commision` | CommisionService.`save​(Commision commision)` | save to database commision.

Methods in com.plannaplan.services that return types with arguments of type Commision
Modifier and Type | Method | Description
--- | --- | ---
`java.util.Optional<Commision>` | CommisionService.`getNewestCommision​(User user)` | get newest commision ov given user
`java.util.List<Commision>` | CommisionService.`getUsersCommisions​(User user)` | gets user commisions

Methods in com.plannaplan.services with parameters of type Commision
Modifier and Type | Method | Description
--- | --- | ---
`java.util.List<Assignment>` | AssignmentService.`getCommisionAssignments​(Commision com)` | gets list of assignments of given commision
`Commision` | CommisionService.`save​(Commision commision)` | save to database commision.