dokumentacja-plannaplan/dokumentacja-backendu/businesslogic/com/plannaplan/entities/class-use/Assignment.html
Marcin Woźniak b533d91e88
Added businesslogic
Signed-off-by: Marcin Woźniak <y0rune@aol.com>
2021-01-18 16:36:20 +01:00

419 lines
20 KiB
HTML

<!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.Assignment (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: Assignment">
<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="../Assignment.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.Assignment" class="title">Uses of Class<br>com.plannaplan.entities.Assignment</h1>
</div>
<div class="classUseContainer">
<div class="useSummary">
<table>
<caption><span>Packages that use <a href="../Assignment.html" title="class in com.plannaplan.entities">Assignment</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="../Assignment.html" title="class in com.plannaplan.entities">Assignment</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="../Assignment.html" title="class in com.plannaplan.entities">Assignment</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="../Assignment.html" title="class in com.plannaplan.entities">Assignment</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Assignment.</span><code><span class="memberNameLink"><a href="../Assignment.html#getNewFromAssignment(com.plannaplan.entities.Assignment,com.plannaplan.entities.Commision)">getNewFromAssignment</a></span>&#8203;(<a href="../Assignment.html" title="class in com.plannaplan.entities">Assignment</a>&nbsp;oldAssignment,
<a href="../Commision.html" title="class in com.plannaplan.entities">Commision</a>&nbsp;newCommision)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../Assignment.html" title="class in com.plannaplan.entities">Assignment</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Exchange.</span><code><span class="memberNameLink"><a href="../Exchange.html#getOwnedAssignment()">getOwnedAssignment</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> that return types with arguments of type <a href="../Assignment.html" title="class in com.plannaplan.entities">Assignment</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="../Assignment.html" title="class in com.plannaplan.entities">Assignment</a>&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Commision.</span><code><span class="memberNameLink"><a href="../Commision.html#getAssignments()">getAssignments</a></span>()</code></th>
<td class="colLast">
<div class="block">Assigments getter</div>
</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="../Assignment.html" title="class in com.plannaplan.entities">Assignment</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="../Assignment.html" title="class in com.plannaplan.entities">Assignment</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Assignment.</span><code><span class="memberNameLink"><a href="../Assignment.html#getNewFromAssignment(com.plannaplan.entities.Assignment,com.plannaplan.entities.Commision)">getNewFromAssignment</a></span>&#8203;(<a href="../Assignment.html" title="class in com.plannaplan.entities">Assignment</a>&nbsp;oldAssignment,
<a href="../Commision.html" title="class in com.plannaplan.entities">Commision</a>&nbsp;newCommision)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Exchange.</span><code><span class="memberNameLink"><a href="../Exchange.html#setOwnedAssignment(com.plannaplan.entities.Assignment)">setOwnedAssignment</a></span>&#8203;(<a href="../Assignment.html" title="class in com.plannaplan.entities">Assignment</a>&nbsp;ownedAssignment)</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="../Assignment.html" title="class in com.plannaplan.entities">Assignment</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="../Exchange.html#%3Cinit%3E(com.plannaplan.entities.Assignment,com.plannaplan.entities.Groups)">Exchange</a></span>&#8203;(<a href="../Assignment.html" title="class in com.plannaplan.entities">Assignment</a>&nbsp;ownedAssignment,
<a href="../Groups.html" title="class in com.plannaplan.entities">Groups</a>&nbsp;desiredAssignment)</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="../Assignment.html" title="class in com.plannaplan.entities">Assignment</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> that return <a href="../Assignment.html" title="class in com.plannaplan.entities">Assignment</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="../Assignment.html" title="class in com.plannaplan.entities">Assignment</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">MatchData.</span><code><span class="memberNameLink"><a href="../../models/MatchData.html#getAssignmentOne()">getAssignmentOne</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../Assignment.html" title="class in com.plannaplan.entities">Assignment</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">MatchData.</span><code><span class="memberNameLink"><a href="../../models/MatchData.html#getAssignmentTwo()">getAssignmentTwo</a></span>()</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="../Assignment.html" title="class in com.plannaplan.entities">Assignment</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="../Assignment.html" title="class in com.plannaplan.entities">Assignment</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="../Assignment.html" title="class in com.plannaplan.entities">Assignment</a>&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">AssignmentRepository.</span><code><span class="memberNameLink"><a href="../../repositories/AssignmentRepository.html#getByCommision(java.lang.Long)">getByCommision</a></span>&#8203;(java.lang.Long&nbsp;id)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</div>
<div class="useSummary">
<table>
<caption><span>Methods in <a href="../../repositories/package-summary.html">com.plannaplan.repositories</a> with parameters of type <a href="../Assignment.html" title="class in com.plannaplan.entities">Assignment</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="../Exchange.html" title="class in com.plannaplan.entities">Exchange</a>&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ExchangeRepository.</span><code><span class="memberNameLink"><a href="../../repositories/ExchangeRepository.html#checkForExchange(com.plannaplan.entities.Assignment,com.plannaplan.entities.Groups)">checkForExchange</a></span>&#8203;(<a href="../Assignment.html" title="class in com.plannaplan.entities">Assignment</a>&nbsp;assignment,
<a href="../Groups.html" title="class in com.plannaplan.entities">Groups</a>&nbsp;group)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</div>
</section>
</li>
<li class="blockList">
<section class="detail"><a id="com.plannaplan.services">
<!-- -->
</a>
<h2>Uses of <a href="../Assignment.html" title="class in com.plannaplan.entities">Assignment</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="../Assignment.html" title="class in com.plannaplan.entities">Assignment</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="../Assignment.html" title="class in com.plannaplan.entities">Assignment</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">AssignmentService.</span><code><span class="memberNameLink"><a href="../../services/AssignmentService.html#save(com.plannaplan.entities.Assignment)">save</a></span>&#8203;(<a href="../Assignment.html" title="class in com.plannaplan.entities">Assignment</a>&nbsp;assignment)</code></th>
<td class="colLast">
<div class="block">Save given assignment</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="../Assignment.html" title="class in com.plannaplan.entities">Assignment</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="../Assignment.html" title="class in com.plannaplan.entities">Assignment</a>&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">AssignmentService.</span><code><span class="memberNameLink"><a href="../../services/AssignmentService.html#getById(java.lang.Long)">getById</a></span>&#8203;(java.lang.Long&nbsp;id)</code></th>
<td class="colLast">
<div class="block">Get assigmnent by id</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../Assignment.html" title="class in com.plannaplan.entities">Assignment</a>&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">AssignmentService.</span><code><span class="memberNameLink"><a href="../../services/AssignmentService.html#getCommisionAssignments(com.plannaplan.entities.Commision)">getCommisionAssignments</a></span>&#8203;(<a href="../Commision.html" title="class in com.plannaplan.entities">Commision</a>&nbsp;com)</code></th>
<td class="colLast">
<div class="block">gets list of assignments of given commision</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="../Assignment.html" title="class in com.plannaplan.entities">Assignment</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="../Exchange.html" title="class in com.plannaplan.entities">Exchange</a>&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ExchangeService.</span><code><span class="memberNameLink"><a href="../../services/ExchangeService.html#checkForExchange(com.plannaplan.entities.Assignment,com.plannaplan.entities.Groups)">checkForExchange</a></span>&#8203;(<a href="../Assignment.html" title="class in com.plannaplan.entities">Assignment</a>&nbsp;assignment,
<a href="../Groups.html" title="class in com.plannaplan.entities">Groups</a>&nbsp;group)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../Assignment.html" title="class in com.plannaplan.entities">Assignment</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">AssignmentService.</span><code><span class="memberNameLink"><a href="../../services/AssignmentService.html#save(com.plannaplan.entities.Assignment)">save</a></span>&#8203;(<a href="../Assignment.html" title="class in com.plannaplan.entities">Assignment</a>&nbsp;assignment)</code></th>
<td class="colLast">
<div class="block">Save given assignment</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="../Assignment.html" title="class in com.plannaplan.entities">Assignment</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.HashMap&lt;java.lang.Long,&#8203;java.lang.Integer&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">GroupService.</span><code><span class="memberNameLink"><a href="../../services/GroupService.html#getTakenPlacesOfAssignments(java.util.List)">getTakenPlacesOfAssignments</a></span>&#8203;(java.util.List&lt;<a href="../Assignment.html" title="class in com.plannaplan.entities">Assignment</a>&gt;&nbsp;assignments)</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="../Assignment.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>