dokumentacja-plannaplan/dokumentacja-backendu/businesslogic/com/plannaplan/entities/class-use/User.html

516 lines
28 KiB
HTML
Raw Normal View History

<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (14.0.2) on Mon Jan 18 16:34:08 CET 2021 -->
<title>Uses of Class com.plannaplan.entities.User (buisnesslogic 1.0-SNAPSHOT API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2021-01-18">
<meta name="description" content="use: package: com.plannaplan.entities, class: User">
<meta name="generator" content="javadoc/ClassUseWriter">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../script-dir/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
<script type="text/javascript" src="../../../../script-dir/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../script-dir/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../script-dir/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../script-dir/jquery-3.4.1.js"></script>
<script type="text/javascript" src="../../../../script-dir/jquery-ui.js"></script>
</head>
<body class="class-use">
<script type="text/javascript">var pathtoroot = "../../../../";
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<div class="flexBox">
<header role="banner" class="flexHeader">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../User.html" title="class in com.plannaplan.entities">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<div class="navListSearch"><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="skipNav"><a id="skip.navbar.top">
<!-- -->
</a></div>
</nav>
</header>
<div class="flexContent">
<main role="main">
<div class="header">
<h1 title="Uses of Class com.plannaplan.entities.User" class="title">Uses of Class<br>com.plannaplan.entities.User</h1>
</div>
<div class="classUseContainer">
<div class="useSummary">
<table>
<caption><span>Packages that use <a href="../User.html" title="class in com.plannaplan.entities">User</a></span><span class="tabEnd">&nbsp;</span></caption>
<thead>
<tr>
<th class="colFirst" scope="col">Package</th>
<th class="colLast" scope="col">Description</th>
</tr>
</thead>
<tbody>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="#com.plannaplan.entities">com.plannaplan.entities</a></th>
<td class="colLast">
<div class="block">Provides all entieites that are created in database by Hibernate</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="#com.plannaplan.models">com.plannaplan.models</a></th>
<td class="colLast">
<div class="block">Provides readonly (mostly) classes to keep data for diffrent pourposes</div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="#com.plannaplan.repositories">com.plannaplan.repositories</a></th>
<td class="colLast">
<div class="block">Provides jpa repositories interfaces to comunicate with database.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="#com.plannaplan.services">com.plannaplan.services</a></th>
<td class="colLast">
<div class="block">Provides service classes to make operations with entities or comunicate with
external systems.</div>
</td>
</tr>
</tbody>
</table>
</div>
<section class="classUses">
<ul class="blockList">
<li class="blockList">
<section class="detail"><a id="com.plannaplan.entities">
<!-- -->
</a>
<h2>Uses of <a href="../User.html" title="class in com.plannaplan.entities">User</a> in <a href="../package-summary.html">com.plannaplan.entities</a></h2>
<div class="useSummary">
<table>
<caption><span>Methods in <a href="../package-summary.html">com.plannaplan.entities</a> that return <a href="../User.html" title="class in com.plannaplan.entities">User</a></span><span class="tabEnd">&nbsp;</span></caption>
<thead>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
</thead>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../User.html" title="class in com.plannaplan.entities">User</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Commision.</span><code><span class="memberNameLink"><a href="../Commision.html#getCommisionCommiter()">getCommisionCommiter</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../User.html" title="class in com.plannaplan.entities">User</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Commision.</span><code><span class="memberNameLink"><a href="../Commision.html#getCommisionOwner()">getCommisionOwner</a></span>()</code></th>
<td class="colLast">
<div class="block">User of given commision getter</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="useSummary">
<table>
<caption><span>Methods in <a href="../package-summary.html">com.plannaplan.entities</a> that return types with arguments of type <a href="../User.html" title="class in com.plannaplan.entities">User</a></span><span class="tabEnd">&nbsp;</span></caption>
<thead>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
</thead>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>java.util.Set&lt;<a href="../User.html" title="class in com.plannaplan.entities">User</a>&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Groups.</span><code><span class="memberNameLink"><a href="../Groups.html#getRegisteredStudents()">getRegisteredStudents</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</div>
<div class="useSummary">
<table>
<caption><span>Methods in <a href="../package-summary.html">com.plannaplan.entities</a> with parameters of type <a href="../User.html" title="class in com.plannaplan.entities">User</a></span><span class="tabEnd">&nbsp;</span></caption>
<thead>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
</thead>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Groups.</span><code><span class="memberNameLink"><a href="../Groups.html#assignUser(com.plannaplan.entities.User)">assignUser</a></span>&#8203;(<a href="../User.html" title="class in com.plannaplan.entities">User</a>&nbsp;user)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</div>
<div class="useSummary">
<table>
<caption><span>Constructors in <a href="../package-summary.html">com.plannaplan.entities</a> with parameters of type <a href="../User.html" title="class in com.plannaplan.entities">User</a></span><span class="tabEnd">&nbsp;</span></caption>
<thead>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
</thead>
<tbody>
<tr class="altColor">
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../Commision.html#%3Cinit%3E(com.plannaplan.entities.User)">Commision</a></span>&#8203;(<a href="../User.html" title="class in com.plannaplan.entities">User</a>&nbsp;user)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../Commision.html#%3Cinit%3E(com.plannaplan.entities.User,com.plannaplan.entities.User)">Commision</a></span>&#8203;(<a href="../User.html" title="class in com.plannaplan.entities">User</a>&nbsp;user,
<a href="../User.html" title="class in com.plannaplan.entities">User</a>&nbsp;commiter)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</div>
</section>
</li>
<li class="blockList">
<section class="detail"><a id="com.plannaplan.models">
<!-- -->
</a>
<h2>Uses of <a href="../User.html" title="class in com.plannaplan.entities">User</a> in <a href="../../models/package-summary.html">com.plannaplan.models</a></h2>
<div class="useSummary">
<table>
<caption><span>Methods in <a href="../../models/package-summary.html">com.plannaplan.models</a> with parameters of type <a href="../User.html" title="class in com.plannaplan.entities">User</a></span><span class="tabEnd">&nbsp;</span></caption>
<thead>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
</thead>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">EmailExchangesData.</span><code><span class="memberNameLink"><a href="../../models/EmailExchangesData.html#addExchange(com.plannaplan.entities.User,com.plannaplan.entities.Exchange)">addExchange</a></span>&#8203;(<a href="../User.html" title="class in com.plannaplan.entities">User</a>&nbsp;user,
<a href="../Exchange.html" title="class in com.plannaplan.entities">Exchange</a>&nbsp;data)</code></th>
<td class="colLast">
<div class="block">method to add user and his event to data to be send</div>
</td>
</tr>
</tbody>
</table>
</div>
</section>
</li>
<li class="blockList">
<section class="detail"><a id="com.plannaplan.repositories">
<!-- -->
</a>
<h2>Uses of <a href="../User.html" title="class in com.plannaplan.entities">User</a> in <a href="../../repositories/package-summary.html">com.plannaplan.repositories</a></h2>
<div class="useSummary">
<table>
<caption><span>Methods in <a href="../../repositories/package-summary.html">com.plannaplan.repositories</a> that return types with arguments of type <a href="../User.html" title="class in com.plannaplan.entities">User</a></span><span class="tabEnd">&nbsp;</span></caption>
<thead>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
</thead>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../User.html" title="class in com.plannaplan.entities">User</a>&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">UserRepository.</span><code><span class="memberNameLink"><a href="../../repositories/UserRepository.html#getAllByRole(com.plannaplan.types.UserRoles)">getAllByRole</a></span>&#8203;(<a href="../../types/UserRoles.html" title="enum in com.plannaplan.types">UserRoles</a>&nbsp;role)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.util.Optional&lt;<a href="../User.html" title="class in com.plannaplan.entities">User</a>&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">UserRepository.</span><code><span class="memberNameLink"><a href="../../repositories/UserRepository.html#getByAuthority(java.lang.String)">getByAuthority</a></span>&#8203;(java.lang.String&nbsp;authority)</code></th>
<td class="colLast">
<div class="block">return user by given authority</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.util.Optional&lt;<a href="../User.html" title="class in com.plannaplan.entities">User</a>&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">UserRepository.</span><code><span class="memberNameLink"><a href="../../repositories/UserRepository.html#getByEmail(java.lang.String)">getByEmail</a></span>&#8203;(java.lang.String&nbsp;authority)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.util.Optional&lt;<a href="../User.html" title="class in com.plannaplan.entities">User</a>&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">UserRepository.</span><code><span class="memberNameLink"><a href="../../repositories/UserRepository.html#getByRefreshToken(java.lang.String)">getByRefreshToken</a></span>&#8203;(java.lang.String&nbsp;refreshToken)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.util.Optional&lt;<a href="../User.html" title="class in com.plannaplan.entities">User</a>&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">UserRepository.</span><code><span class="memberNameLink"><a href="../../repositories/UserRepository.html#getByToken(java.lang.String)">getByToken</a></span>&#8203;(java.lang.String&nbsp;token)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.util.Optional&lt;<a href="../User.html" title="class in com.plannaplan.entities">User</a>&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">UserRepository.</span><code><span class="memberNameLink"><a href="../../repositories/UserRepository.html#getByUsosId(java.lang.String)">getByUsosId</a></span>&#8203;(java.lang.String&nbsp;usosId)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../User.html" title="class in com.plannaplan.entities">User</a>&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">UserRepository.</span><code><span class="memberNameLink"><a href="../../repositories/UserRepository.html#searchForUsers(java.lang.String)">searchForUsers</a></span>&#8203;(java.lang.String&nbsp;query)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../User.html" title="class in com.plannaplan.entities">User</a>&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">UserRepository.</span><code><span class="memberNameLink"><a href="../../repositories/UserRepository.html#searchForUsers(java.lang.String,com.plannaplan.types.UserRoles)">searchForUsers</a></span>&#8203;(java.lang.String&nbsp;query,
<a href="../../types/UserRoles.html" title="enum in com.plannaplan.types">UserRoles</a>&nbsp;role)</code></th>
<td class="colLast">
<div class="block">search for user with given query</div>
</td>
</tr>
</tbody>
</table>
</div>
</section>
</li>
<li class="blockList">
<section class="detail"><a id="com.plannaplan.services">
<!-- -->
</a>
<h2>Uses of <a href="../User.html" title="class in com.plannaplan.entities">User</a> in <a href="../../services/package-summary.html">com.plannaplan.services</a></h2>
<div class="useSummary">
<table>
<caption><span>Methods in <a href="../../services/package-summary.html">com.plannaplan.services</a> that return <a href="../User.html" title="class in com.plannaplan.entities">User</a></span><span class="tabEnd">&nbsp;</span></caption>
<thead>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
</thead>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../User.html" title="class in com.plannaplan.entities">User</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">UserService.</span><code><span class="memberNameLink"><a href="../../services/UserService.html#checkForUser(java.lang.String,java.lang.String)">checkForUser</a></span>&#8203;(java.lang.String&nbsp;email,
java.lang.String&nbsp;usosId)</code></th>
<td class="colLast">
<div class="block">checks if user exist and return him or creates new one with student role
otherwise</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../User.html" title="class in com.plannaplan.entities">User</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">UserService.</span><code><span class="memberNameLink"><a href="../../services/UserService.html#checkForUser(java.lang.String,java.lang.String,com.plannaplan.types.UserRoles)">checkForUser</a></span>&#8203;(java.lang.String&nbsp;email,
java.lang.String&nbsp;usosId,
<a href="../../types/UserRoles.html" title="enum in com.plannaplan.types">UserRoles</a>&nbsp;roleIfNotExist)</code></th>
<td class="colLast">
<div class="block">checks if user exist and creates new one if doesn't</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../User.html" title="class in com.plannaplan.entities">User</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">UserService.</span><code><span class="memberNameLink"><a href="../../services/UserService.html#getUserByEmail(java.lang.String)">getUserByEmail</a></span>&#8203;(java.lang.String&nbsp;email)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../User.html" title="class in com.plannaplan.entities">User</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">UserService.</span><code><span class="memberNameLink"><a href="../../services/UserService.html#login(com.plannaplan.entities.User)">login</a></span>&#8203;(<a href="../User.html" title="class in com.plannaplan.entities">User</a>&nbsp;authority)</code></th>
<td class="colLast">
<div class="block">generates token for user and if user don't have name in database it will
attemp to obtain these from usos api and saves changes in database</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../User.html" title="class in com.plannaplan.entities">User</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">UserService.</span><code><span class="memberNameLink"><a href="../../services/UserService.html#save(com.plannaplan.entities.User)">save</a></span>&#8203;(<a href="../User.html" title="class in com.plannaplan.entities">User</a>&nbsp;user)</code></th>
<td class="colLast">
<div class="block">sacves user to databse and return instatnce with id</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="useSummary">
<table>
<caption><span>Methods in <a href="../../services/package-summary.html">com.plannaplan.services</a> that return types with arguments of type <a href="../User.html" title="class in com.plannaplan.entities">User</a></span><span class="tabEnd">&nbsp;</span></caption>
<thead>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
</thead>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../User.html" title="class in com.plannaplan.entities">User</a>&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">UserService.</span><code><span class="memberNameLink"><a href="../../services/UserService.html#getAllStudents()">getAllStudents</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.util.Optional&lt;<a href="../User.html" title="class in com.plannaplan.entities">User</a>&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">UserService.</span><code><span class="memberNameLink"><a href="../../services/UserService.html#getByAuthority(java.lang.String)">getByAuthority</a></span>&#8203;(java.lang.String&nbsp;authority)</code></th>
<td class="colLast">
<div class="block">return user by given authority</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.util.Optional&lt;<a href="../User.html" title="class in com.plannaplan.entities">User</a>&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">UserService.</span><code><span class="memberNameLink"><a href="../../services/UserService.html#getById(java.lang.Long)">getById</a></span>&#8203;(java.lang.Long&nbsp;userId)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.util.Optional&lt;<a href="../User.html" title="class in com.plannaplan.entities">User</a>&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">UserService.</span><code><span class="memberNameLink"><a href="../../services/UserService.html#getByToken(java.lang.String)">getByToken</a></span>&#8203;(java.lang.String&nbsp;token)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../User.html" title="class in com.plannaplan.entities">User</a>&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">UserService.</span><code><span class="memberNameLink"><a href="../../services/UserService.html#getStudentsSortedByRanking()">getStudentsSortedByRanking</a></span>()</code></th>
<td class="colLast">
<div class="block">get students sorted by their ranking</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.util.Optional&lt;<a href="../User.html" title="class in com.plannaplan.entities">User</a>&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">UserService.</span><code><span class="memberNameLink"><a href="../../services/UserService.html#getUserByRefreshToken(java.lang.String)">getUserByRefreshToken</a></span>&#8203;(java.lang.String&nbsp;refreshToken)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../User.html" title="class in com.plannaplan.entities">User</a>&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">UserService.</span><code><span class="memberNameLink"><a href="../../services/UserService.html#searchForStudents(java.lang.String)">searchForStudents</a></span>&#8203;(java.lang.String&nbsp;query)</code></th>
<td class="colLast">
<div class="block">search for user with given query</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="useSummary">
<table>
<caption><span>Methods in <a href="../../services/package-summary.html">com.plannaplan.services</a> with parameters of type <a href="../User.html" title="class in com.plannaplan.entities">User</a></span><span class="tabEnd">&nbsp;</span></caption>
<thead>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
</thead>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>java.util.Optional&lt;<a href="../Commision.html" title="class in com.plannaplan.entities">Commision</a>&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CommisionService.</span><code><span class="memberNameLink"><a href="../../services/CommisionService.html#getNewestCommision(com.plannaplan.entities.User)">getNewestCommision</a></span>&#8203;(<a href="../User.html" title="class in com.plannaplan.entities">User</a>&nbsp;user)</code></th>
<td class="colLast">
<div class="block">get newest commision ov given user</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../Commision.html" title="class in com.plannaplan.entities">Commision</a>&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CommisionService.</span><code><span class="memberNameLink"><a href="../../services/CommisionService.html#getUsersCommisions(com.plannaplan.entities.User)">getUsersCommisions</a></span>&#8203;(<a href="../User.html" title="class in com.plannaplan.entities">User</a>&nbsp;user)</code></th>
<td class="colLast">
<div class="block">gets user commisions</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../User.html" title="class in com.plannaplan.entities">User</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">UserService.</span><code><span class="memberNameLink"><a href="../../services/UserService.html#login(com.plannaplan.entities.User)">login</a></span>&#8203;(<a href="../User.html" title="class in com.plannaplan.entities">User</a>&nbsp;authority)</code></th>
<td class="colLast">
<div class="block">generates token for user and if user don't have name in database it will
attemp to obtain these from usos api and saves changes in database</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../User.html" title="class in com.plannaplan.entities">User</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">UserService.</span><code><span class="memberNameLink"><a href="../../services/UserService.html#save(com.plannaplan.entities.User)">save</a></span>&#8203;(<a href="../User.html" title="class in com.plannaplan.entities">User</a>&nbsp;user)</code></th>
<td class="colLast">
<div class="block">sacves user to databse and return instatnce with id</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">EmailService.</span><code><span class="memberNameLink"><a href="../../services/EmailService.html#sendAcceptationResult(com.plannaplan.entities.User,com.plannaplan.models.EmailAcceptedData)">sendAcceptationResult</a></span>&#8203;(<a href="../User.html" title="class in com.plannaplan.entities">User</a>&nbsp;user,
<a href="../../models/EmailAcceptedData.html" title="class in com.plannaplan.models">EmailAcceptedData</a>&nbsp;data)</code></th>
<td class="colLast">
<div class="block">sends email with infromation about accepted groups</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="useSummary">
<table>
<caption><span>Method parameters in <a href="../../services/package-summary.html">com.plannaplan.services</a> with type arguments of type <a href="../User.html" title="class in com.plannaplan.entities">User</a></span><span class="tabEnd">&nbsp;</span></caption>
<thead>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
</thead>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">UserService.</span><code><span class="memberNameLink"><a href="../../services/UserService.html#saveAll(java.util.List)">saveAll</a></span>&#8203;(java.util.List&lt;<a href="../User.html" title="class in com.plannaplan.entities">User</a>&gt;&nbsp;users)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</div>
</section>
</li>
</ul>
</section>
</div>
</main>
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../User.html" title="class in com.plannaplan.entities">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &#169; 2021. All rights reserved.</small></p>
</footer>
</div>
</div>
</body>
</html>