# Uses of Class
com.plannaplan.entities.Groups

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

Methods in com.plannaplan.entities that return Groups
Modifier and Type | Method | Description
--- | --- | ---
`Groups` | Exchange.`getDesiredAssignment()` |
`Groups` | Assignment.`getGroup()` | getGroup

Methods in com.plannaplan.entities that return types with arguments of type Groups
Modifier and Type | Method | Description
--- | --- | ---
`java.util.List<Groups>` | Course.`getGroups()` | getGroups
`java.util.Set<Groups>` | User.`getStudentRegisteredGrups()` |

Methods in com.plannaplan.entities with parameters of type Groups
Modifier and Type | Method | Description
--- | --- | ---
`void` | User.`claimGroup​(Groups group)` |
`void` | Exchange.`setDesiredAssignment​(Groups desiredAssignment)` |

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

## Uses of Groups in com.plannaplan.models

Methods in com.plannaplan.models that return types with arguments of type Groups
Modifier and Type | Method | Description
--- | --- | ---
`java.util.List<Groups>` | EmailAcceptedData.`getAccepted()` | get list of accepted assignments
`java.util.List<Groups>` | EmailAcceptedData.`getRemoved()` | get list of removed assignments

Method parameters in com.plannaplan.models with type arguments of type Groups
Modifier and Type | Method | Description
--- | --- | ---
`void` | EmailAcceptedData.`setAccepted​(java.util.List<Groups> accepted)` | set list of accepted assignments
`void` | EmailAcceptedData.`setRemoved​(java.util.List<Groups> removed)` | set list of removed assignments

Constructor parameters in com.plannaplan.models with type arguments of type Groups
Constructor | Description
--- | ---
`EmailAcceptedData​(java.util.List<Groups> accepted, java.util.List<Groups> removed)` | creates instance of class

## Uses of Groups in com.plannaplan.repositories

Methods in com.plannaplan.repositories that return types with arguments of type Groups
Modifier and Type | Method | Description
--- | --- | ---
`java.util.Optional<Groups>` | GroupRepository.`find​(int time, java.lang.String room, int capacity)` |
`java.util.Optional<Groups>` | GroupRepository.`find​(java.lang.Integer zaj_cyk_id, java.lang.Integer gr_nr)` |
`java.util.List<Groups>` | GroupRepository.`getByCourse​(java.lang.Long id)` |

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

## Uses of Groups in com.plannaplan.services

Methods in com.plannaplan.services that return Groups
Modifier and Type | Method | Description
--- | --- | ---
`Groups` | GroupService.`save​(Groups group)` | save group to database

Methods in com.plannaplan.services that return types with arguments of type Groups
Modifier and Type | Method | Description
--- | --- | ---
`java.util.Optional<Groups>` | GroupService.`find​(int time, int capacity, java.lang.String room)` | find group with given properties
`java.util.Optional<Groups>` | GroupService.`find​(java.lang.Integer zajCykId, java.lang.Integer nrGr)` | find group with given properties
`java.util.Optional<Groups>` | GroupService.`getGroupById​(java.lang.Long id)` | find group with given properties
`java.util.List<Groups>` | GroupService.`getGroupsByCourse​(java.lang.Long id)` | find group with given properties

Methods in com.plannaplan.services with parameters of type Groups
Modifier and Type | Method | Description
--- | --- | ---
`java.util.Optional<Exchange>` | ExchangeService.`checkForExchange​(Assignment assignment, Groups group)` |
`void` | GroupService.`delete​(Groups groups)` | delete from database
`Groups` | GroupService.`save​(Groups group)` | save group to database

Method parameters in com.plannaplan.services with type arguments of type Groups
Modifier and Type | Method | Description
--- | --- | ---
`java.util.HashMap<java.lang.Long,​java.lang.Integer>` | GroupService.`getTakenPlaces​(java.util.List<Groups> groups)` |