DPRI_doc_20-21/Pilka/zapisy-studentow/dokumentacja-backendu/businesslogic/com/plannaplan/types/class-use/UserRoles.html

330 lines
14 KiB
HTML
Raw Normal View History

<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (14.0.2) on Fri Jan 22 16:23:18 CET 2021 -->
<title>Uses of Class com.plannaplan.types.UserRoles (buisnesslogic 1.0-SNAPSHOT API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2021-01-22">
<meta name="description" content="use: package: com.plannaplan.types, enum: UserRoles">
<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="../UserRoles.html" title="enum in com.plannaplan.types">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.types.UserRoles" class="title">Uses of Class<br>com.plannaplan.types.UserRoles</h1>
</div>
<div class="classUseContainer">
<div class="useSummary">
<table>
<caption><span>Packages that use <a href="../UserRoles.html" title="enum in com.plannaplan.types">UserRoles</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.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="altColor">
<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>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="#com.plannaplan.types">com.plannaplan.types</a></th>
<td class="colLast">
<div class="block">Provides enums for different goals.</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="../UserRoles.html" title="enum in com.plannaplan.types">UserRoles</a> in <a href="../../entities/package-summary.html">com.plannaplan.entities</a></h2>
<div class="useSummary">
<table>
<caption><span>Methods in <a href="../../entities/package-summary.html">com.plannaplan.entities</a> that return <a href="../UserRoles.html" title="enum in com.plannaplan.types">UserRoles</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="../UserRoles.html" title="enum in com.plannaplan.types">UserRoles</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">User.</span><code><span class="memberNameLink"><a href="../../entities/User.html#getRole()">getRole</a></span>()</code></th>
<td class="colLast">
<div class="block">user rolse getter</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="useSummary">
<table>
<caption><span>Methods in <a href="../../entities/package-summary.html">com.plannaplan.entities</a> with parameters of type <a href="../UserRoles.html" title="enum in com.plannaplan.types">UserRoles</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">User.</span><code><span class="memberNameLink"><a href="../../entities/User.html#setRole(com.plannaplan.types.UserRoles)">setRole</a></span>&#8203;(<a href="../UserRoles.html" title="enum in com.plannaplan.types">UserRoles</a>&nbsp;role)</code></th>
<td class="colLast">
<div class="block">user role setter</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="useSummary">
<table>
<caption><span>Constructors in <a href="../../entities/package-summary.html">com.plannaplan.entities</a> with parameters of type <a href="../UserRoles.html" title="enum in com.plannaplan.types">UserRoles</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="../../entities/User.html#%3Cinit%3E(java.lang.String,java.lang.String,java.lang.String,com.plannaplan.types.UserRoles)">User</a></span>&#8203;(java.lang.String&nbsp;name,
java.lang.String&nbsp;surname,
java.lang.String&nbsp;mail,
<a href="../UserRoles.html" title="enum in com.plannaplan.types">UserRoles</a>&nbsp;role)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../entities/User.html#%3Cinit%3E(java.lang.String,java.lang.String,java.lang.String,java.lang.String,com.plannaplan.types.UserRoles)">User</a></span>&#8203;(java.lang.String&nbsp;name,
java.lang.String&nbsp;surname,
java.lang.String&nbsp;mail,
java.lang.String&nbsp;usosId,
<a href="../UserRoles.html" title="enum in com.plannaplan.types">UserRoles</a>&nbsp;role)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../entities/User.html#%3Cinit%3E(java.lang.String,java.lang.String,java.lang.String,java.lang.String,com.plannaplan.types.UserRoles,java.lang.Integer)">User</a></span>&#8203;(java.lang.String&nbsp;name,
java.lang.String&nbsp;surname,
java.lang.String&nbsp;mail,
java.lang.String&nbsp;usosId,
<a href="../UserRoles.html" title="enum in com.plannaplan.types">UserRoles</a>&nbsp;role,
java.lang.Integer&nbsp;ranking)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</div>
</section>
</li>
<li class="blockList">
<section class="detail"><a id="com.plannaplan.repositories">
<!-- -->
</a>
<h2>Uses of <a href="../UserRoles.html" title="enum in com.plannaplan.types">UserRoles</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> with parameters of type <a href="../UserRoles.html" title="enum in com.plannaplan.types">UserRoles</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="../../entities/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="../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.List&lt;<a href="../../entities/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="../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="../UserRoles.html" title="enum in com.plannaplan.types">UserRoles</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> with parameters of type <a href="../UserRoles.html" title="enum in com.plannaplan.types">UserRoles</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="../../entities/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="../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>
</tbody>
</table>
</div>
</section>
</li>
<li class="blockList">
<section class="detail"><a id="com.plannaplan.types">
<!-- -->
</a>
<h2>Uses of <a href="../UserRoles.html" title="enum in com.plannaplan.types">UserRoles</a> in <a href="../package-summary.html">com.plannaplan.types</a></h2>
<div class="useSummary">
<table>
<caption><span>Methods in <a href="../package-summary.html">com.plannaplan.types</a> that return <a href="../UserRoles.html" title="enum in com.plannaplan.types">UserRoles</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>static <a href="../UserRoles.html" title="enum in com.plannaplan.types">UserRoles</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">UserRoles.</span><code><span class="memberNameLink"><a href="../UserRoles.html#valueOf(java.lang.String)">valueOf</a></span>&#8203;(java.lang.String&nbsp;name)</code></th>
<td class="colLast">
<div class="block">Returns the enum constant of this type with the specified name.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../UserRoles.html" title="enum in com.plannaplan.types">UserRoles</a>[]</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">UserRoles.</span><code><span class="memberNameLink"><a href="../UserRoles.html#values()">values</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns an array containing the constants of this enum type, in
the order they are declared.</div>
</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="../UserRoles.html" title="enum in com.plannaplan.types">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>