# Uses of Class
com.plannaplan.entities.Exchange

Packages that use Exchange
Package | Description
--- | ---
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 Exchange in com.plannaplan.models

Methods in com.plannaplan.models that return Exchange
Modifier and Type | Method | Description
--- | --- | ---
`Exchange` | MatchData.`getExchangeOne()` |
`Exchange` | MatchData.`getExchangeTwo()` |

Methods in com.plannaplan.models that return types with arguments of type Exchange
Modifier and Type | Method | Description
--- | --- | ---
`java.util.Set<java.util.Map.Entry<java.lang.Long,​java.util.List<Exchange>>>` | EmailExchangesData.`getDataEntry()` | get datas entry set

Methods in com.plannaplan.models with parameters of type Exchange
Modifier and Type | Method | Description
--- | --- | ---
`void` | EmailExchangesData.`addExchange​(User user, Exchange data)` | method to add user and his event to data to be send

Constructors in com.plannaplan.models with parameters of type Exchange
Constructor | Description
--- | ---
`MatchData​(Exchange exchangeOne, Exchange exchangeTwo)` | create MatchData

## Uses of Exchange in com.plannaplan.repositories

Methods in com.plannaplan.repositories that return types with arguments of type Exchange
Modifier and Type | Method | Description
--- | --- | ---
`java.util.Optional<Exchange>` | ExchangeRepository.`checkForExchange​(Assignment assignment, Groups group)` |
`java.util.List<Exchange>` | ExchangeRepository.`getByUserId​(java.lang.Long id)` |

## Uses of Exchange in com.plannaplan.services

Methods in com.plannaplan.services that return Exchange
Modifier and Type | Method | Description
--- | --- | ---
`Exchange` | ExchangeService.`save​(Exchange exchange)` |

Methods in com.plannaplan.services that return types with arguments of type Exchange
Modifier and Type | Method | Description
--- | --- | ---
`java.util.Optional<Exchange>` | ExchangeService.`checkForExchange​(Assignment assignment, Groups group)` |
`java.util.List<Exchange>` | ExchangeService.`getAllExchanges()` |
`java.util.Optional<Exchange>` | ExchangeService.`getById​(java.lang.Long id)` |
`java.util.List<Exchange>` | ExchangeService.`getByUserId​(java.lang.Long id)` |

Methods in com.plannaplan.services with parameters of type Exchange
Modifier and Type | Method | Description
--- | --- | ---
`void` | ExchangeService.`deleteExchange​(Exchange entity)` |
`Exchange` | ExchangeService.`save​(Exchange exchange)` |