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

401 lines
19 KiB
HTML

<!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.entities.Course (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.entities, class: Course">
<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="../Course.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.Course" class="title">Uses of Class<br>com.plannaplan.entities.Course</h1>
</div>
<div class="classUseContainer">
<div class="useSummary">
<table>
<caption><span>Packages that use <a href="../Course.html" title="class in com.plannaplan.entities">Course</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>
</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="../Course.html" title="class in com.plannaplan.entities">Course</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="../Course.html" title="class in com.plannaplan.entities">Course</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="../Course.html" title="class in com.plannaplan.entities">Course</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Groups.</span><code><span class="memberNameLink"><a href="../Groups.html#getCourseId()">getCourseId</a></span>()</code></th>
<td class="colLast">
<div class="block">getCourseId</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="../Course.html" title="class in com.plannaplan.entities">Course</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#setCourseId(com.plannaplan.entities.Course)">setCourseId</a></span>&#8203;(<a href="../Course.html" title="class in com.plannaplan.entities">Course</a>&nbsp;courseId)</code></th>
<td class="colLast">
<div class="block">setCourseId</div>
</td>
</tr>
<tr class="rowColor">
<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#update(java.lang.Integer,java.lang.String,com.plannaplan.entities.Course,java.lang.Integer,java.lang.Integer,com.plannaplan.types.WeekDay,com.plannaplan.entities.Lecturer,com.plannaplan.types.GroupType)">update</a></span>&#8203;(java.lang.Integer&nbsp;capacity,
java.lang.String&nbsp;room,
<a href="../Course.html" title="class in com.plannaplan.entities">Course</a>&nbsp;course,
java.lang.Integer&nbsp;time,
java.lang.Integer&nbsp;endTime,
<a href="../../types/WeekDay.html" title="enum in com.plannaplan.types">WeekDay</a>&nbsp;day,
<a href="../Lecturer.html" title="class in com.plannaplan.entities">Lecturer</a>&nbsp;lecturer,
<a href="../../types/GroupType.html" title="enum in com.plannaplan.types">GroupType</a>&nbsp;type)</code></th>
<td class="colLast">
<div class="block">Updates given values other that are not null</div>
</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="../Course.html" title="class in com.plannaplan.entities">Course</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="../Groups.html#%3Cinit%3E(int,java.lang.String,com.plannaplan.entities.Course,int,int,com.plannaplan.types.WeekDay,com.plannaplan.entities.Lecturer)">Groups</a></span>&#8203;(int&nbsp;capacity,
java.lang.String&nbsp;room,
<a href="../Course.html" title="class in com.plannaplan.entities">Course</a>&nbsp;course,
int&nbsp;time,
int&nbsp;endTime,
<a href="../../types/WeekDay.html" title="enum in com.plannaplan.types">WeekDay</a>&nbsp;day,
<a href="../Lecturer.html" title="class in com.plannaplan.entities">Lecturer</a>&nbsp;lecturer)</code></th>
<td class="colLast">
<div class="block">Groups</div>
</td>
</tr>
<tr class="rowColor">
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../Groups.html#%3Cinit%3E(int,java.lang.String,com.plannaplan.entities.Course,int,int,com.plannaplan.types.WeekDay,com.plannaplan.entities.Lecturer,java.lang.Integer,java.lang.Integer)">Groups</a></span>&#8203;(int&nbsp;capacity,
java.lang.String&nbsp;room,
<a href="../Course.html" title="class in com.plannaplan.entities">Course</a>&nbsp;course,
int&nbsp;time,
int&nbsp;endTime,
<a href="../../types/WeekDay.html" title="enum in com.plannaplan.types">WeekDay</a>&nbsp;day,
<a href="../Lecturer.html" title="class in com.plannaplan.entities">Lecturer</a>&nbsp;lecturer,
java.lang.Integer&nbsp;zajCykId,
java.lang.Integer&nbsp;grNr)</code></th>
<td class="colLast">
<div class="block">Groups</div>
</td>
</tr>
<tr class="altColor">
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../Groups.html#%3Cinit%3E(int,java.lang.String,com.plannaplan.entities.Course,int,int,com.plannaplan.types.WeekDay,com.plannaplan.entities.Lecturer,java.lang.Integer,java.lang.Integer,com.plannaplan.types.GroupType)">Groups</a></span>&#8203;(int&nbsp;capacity,
java.lang.String&nbsp;room,
<a href="../Course.html" title="class in com.plannaplan.entities">Course</a>&nbsp;course,
int&nbsp;time,
int&nbsp;endTime,
<a href="../../types/WeekDay.html" title="enum in com.plannaplan.types">WeekDay</a>&nbsp;day,
<a href="../Lecturer.html" title="class in com.plannaplan.entities">Lecturer</a>&nbsp;lecturer,
java.lang.Integer&nbsp;zajCykId,
java.lang.Integer&nbsp;grNr,
<a href="../../types/GroupType.html" title="enum in com.plannaplan.types">GroupType</a>&nbsp;type)</code></th>
<td class="colLast">
<div class="block">Groups</div>
</td>
</tr>
<tr class="rowColor">
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../Groups.html#%3Cinit%3E(int,java.lang.String,com.plannaplan.entities.Course,int,com.plannaplan.types.WeekDay,com.plannaplan.entities.Lecturer)">Groups</a></span>&#8203;(int&nbsp;capacity,
java.lang.String&nbsp;room,
<a href="../Course.html" title="class in com.plannaplan.entities">Course</a>&nbsp;course,
int&nbsp;time,
<a href="../../types/WeekDay.html" title="enum in com.plannaplan.types">WeekDay</a>&nbsp;day,
<a href="../Lecturer.html" title="class in com.plannaplan.entities">Lecturer</a>&nbsp;lecturer)</code></th>
<td class="colLast">
<div class="block">Create groups with default class duration</div>
</td>
</tr>
<tr class="altColor">
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../Groups.html#%3Cinit%3E(int,java.lang.String,com.plannaplan.entities.Course,int,com.plannaplan.types.WeekDay,com.plannaplan.entities.Lecturer,java.lang.Integer,java.lang.Integer)">Groups</a></span>&#8203;(int&nbsp;capacity,
java.lang.String&nbsp;room,
<a href="../Course.html" title="class in com.plannaplan.entities">Course</a>&nbsp;course,
int&nbsp;time,
<a href="../../types/WeekDay.html" title="enum in com.plannaplan.types">WeekDay</a>&nbsp;day,
<a href="../Lecturer.html" title="class in com.plannaplan.entities">Lecturer</a>&nbsp;lecturer,
java.lang.Integer&nbsp;zajCykId,
java.lang.Integer&nbsp;grNr)</code></th>
<td class="colLast">
<div class="block">Groups</div>
</td>
</tr>
<tr class="rowColor">
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../Groups.html#%3Cinit%3E(int,java.lang.String,com.plannaplan.entities.Course,int,com.plannaplan.types.WeekDay,com.plannaplan.entities.Lecturer,java.lang.Integer,java.lang.Integer,com.plannaplan.types.GroupType)">Groups</a></span>&#8203;(int&nbsp;capacity,
java.lang.String&nbsp;room,
<a href="../Course.html" title="class in com.plannaplan.entities">Course</a>&nbsp;course,
int&nbsp;time,
<a href="../../types/WeekDay.html" title="enum in com.plannaplan.types">WeekDay</a>&nbsp;day,
<a href="../Lecturer.html" title="class in com.plannaplan.entities">Lecturer</a>&nbsp;lecturer,
java.lang.Integer&nbsp;zajCykId,
java.lang.Integer&nbsp;grNr,
<a href="../../types/GroupType.html" title="enum in com.plannaplan.types">GroupType</a>&nbsp;type)</code></th>
<td class="colLast">
<div class="block">Groups</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="../Course.html" title="class in com.plannaplan.entities">Course</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="../Course.html" title="class in com.plannaplan.entities">Course</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="../Course.html" title="class in com.plannaplan.entities">Course</a>&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CourseRepository.</span><code><span class="memberNameLink"><a href="../../repositories/CourseRepository.html#findByName(java.lang.String)">findByName</a></span>&#8203;(java.lang.String&nbsp;name)</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="../Course.html" title="class in com.plannaplan.entities">Course</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="../Course.html" title="class in com.plannaplan.entities">Course</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="../Course.html" title="class in com.plannaplan.entities">Course</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CourseService.</span><code><span class="memberNameLink"><a href="../../services/CourseService.html#save(com.plannaplan.entities.Course)">save</a></span>&#8203;(<a href="../Course.html" title="class in com.plannaplan.entities">Course</a>&nbsp;course)</code></th>
<td class="colLast">
<div class="block">save to db</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="../Course.html" title="class in com.plannaplan.entities">Course</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="../Course.html" title="class in com.plannaplan.entities">Course</a>&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CourseService.</span><code><span class="memberNameLink"><a href="../../services/CourseService.html#getAllCourses()">getAllCourses</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.util.Optional&lt;<a href="../Course.html" title="class in com.plannaplan.entities">Course</a>&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CourseService.</span><code><span class="memberNameLink"><a href="../../services/CourseService.html#getCourseByName(java.lang.String)">getCourseByName</a></span>&#8203;(java.lang.String&nbsp;name)</code></th>
<td class="colLast">
<div class="block">getCourseByName</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="../Course.html" title="class in com.plannaplan.entities">Course</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">CourseService.</span><code><span class="memberNameLink"><a href="../../services/CourseService.html#delete(com.plannaplan.entities.Course)">delete</a></span>&#8203;(<a href="../Course.html" title="class in com.plannaplan.entities">Course</a>&nbsp;course)</code></th>
<td class="colLast">
<div class="block">delete course from db</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../Course.html" title="class in com.plannaplan.entities">Course</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CourseService.</span><code><span class="memberNameLink"><a href="../../services/CourseService.html#save(com.plannaplan.entities.Course)">save</a></span>&#8203;(<a href="../Course.html" title="class in com.plannaplan.entities">Course</a>&nbsp;course)</code></th>
<td class="colLast">
<div class="block">save to db</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="../Course.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>