# Uses of Class
com.plannaplan.entities.Assignment

Packages that use Assignment
Package | Description
--- | ---
com.plannaplan.entities | Provides all entieites that are created in database by Hibernate
com.plannaplan.models | Provides readonly (mostly) classes to keep data for diffrent pourposes
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 Assignment in com.plannaplan.entities

Methods in com.plannaplan.entities that return Assignment
Modifier and Type | Method | Description
--- | --- | ---
`static Assignment` | Assignment.`getNewFromAssignment​(Assignment oldAssignment, Commision newCommision)` |
`Assignment` | Exchange.`getOwnedAssignment()` |

Methods in com.plannaplan.entities that return types with arguments of type Assignment
Modifier and Type | Method | Description
--- | --- | ---
`java.util.List<Assignment>` | Commision.`getAssignments()` | Assigments getter

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

Constructors in com.plannaplan.entities with parameters of type Assignment
Constructor | Description
--- | ---
`Exchange​(Assignment ownedAssignment, Groups desiredAssignment)` |

## Uses of Assignment in com.plannaplan.models

Methods in com.plannaplan.models that return Assignment
Modifier and Type | Method | Description
--- | --- | ---
`Assignment` | MatchData.`getAssignmentOne()` |
`Assignment` | MatchData.`getAssignmentTwo()` |

## Uses of Assignment in com.plannaplan.repositories

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

Methods in com.plannaplan.repositories with parameters of type Assignment
Modifier and Type | Method | Description
--- | --- | ---
`java.util.Optional<Exchange>` | ExchangeRepository.`checkForExchange​(Assignment assignment, Groups group)` |

## Uses of Assignment in com.plannaplan.services

Methods in com.plannaplan.services that return Assignment
Modifier and Type | Method | Description
--- | --- | ---
`Assignment` | AssignmentService.`save​(Assignment assignment)` | Save given assignment

Methods in com.plannaplan.services that return types with arguments of type Assignment
Modifier and Type | Method | Description
--- | --- | ---
`java.util.Optional<Assignment>` | AssignmentService.`getById​(java.lang.Long id)` | Get assigmnent by id
`java.util.List<Assignment>` | AssignmentService.`getCommisionAssignments​(Commision com)` | gets list of assignments of given commision
`java.util.List<Assignment>` | AssignmentService.`saveAll​(java.util.List<Assignment> toSave)` |

Methods in com.plannaplan.services with parameters of type Assignment
Modifier and Type | Method | Description
--- | --- | ---
`java.util.Optional<Exchange>` | ExchangeService.`checkForExchange​(Assignment assignment, Groups group)` |
`Assignment` | AssignmentService.`save​(Assignment assignment)` | Save given assignment

Method parameters in com.plannaplan.services with type arguments of type Assignment
Modifier and Type | Method | Description
--- | --- | ---
`java.util.HashMap<java.lang.Long,​java.lang.Integer>` | GroupService.`getTakenPlacesOfAssignments​(java.util.List<Assignment> assignments)` |
`java.util.List<Assignment>` | AssignmentService.`saveAll​(java.util.List<Assignment> toSave)` |