Caleb Fontenot 778965c800 Sleepy WebDev
modified:   .gitignore
	new file:   Semester 2/LabJuneauValidateUserInput/Printed HTMLs/Company.html
	new file:   Semester 2/LabJuneauValidateUserInput/Printed HTMLs/Employee.html
	new file:   Semester 2/LabJuneauValidateUserInput/Printed HTMLs/EmployeeController.html
	new file:   Semester 2/LabJuneauValidateUserInput/Printed HTMLs/EmployeeInterface.html
	new file:   Semester 2/LabJuneauValidateUserInput/Printed HTMLs/EmployeeTitleValidate.html
	new file:   Semester 2/LabJuneauValidateUserInput/Printed HTMLs/index.html
	new file:   Semester 2/LabJuneauValidateUserInput/nb-configuration.xml
	new file:   Semester 2/LabJuneauValidateUserInput/pom.xml
	new file:   Semester 2/LabJuneauValidateUserInput/src/main/java/com/pap/exam/labjuneauvalidateuserinput/JakartaRestConfiguration.java
	new file:   Semester 2/LabJuneauValidateUserInput/src/main/java/com/pap/exam/labjuneauvalidateuserinput/resources/JakartaEE9Resource.java
	new file:   Semester 2/LabJuneauValidateUserInput/src/main/java/edu/slcc/asdv/beans/EmployeeController.java
	new file:   Semester 2/LabJuneauValidateUserInput/src/main/java/edu/slcc/asdv/bl/Company.java
	new file:   Semester 2/LabJuneauValidateUserInput/src/main/java/edu/slcc/asdv/bl/Employee.java
	new file:   Semester 2/LabJuneauValidateUserInput/src/main/java/edu/slcc/asdv/bl/EmployeeInterface.java
	new file:   Semester 2/LabJuneauValidateUserInput/src/main/java/edu/slcc/asdv/validators/EmployeeTitleValidate.java
	new file:   Semester 2/LabJuneauValidateUserInput/src/main/resources/META-INF/persistence.xml
	new file:   Semester 2/LabJuneauValidateUserInput/src/main/webapp/WEB-INF/beans.xml
	new file:   Semester 2/LabJuneauValidateUserInput/src/main/webapp/WEB-INF/glassfish-web.xml
	new file:   Semester 2/LabJuneauValidateUserInput/src/main/webapp/WEB-INF/web.xml
	new file:   Semester 2/LabJuneauValidateUserInput/src/main/webapp/index.xhtml
	new file:   Semester 2/LabJuneauValidateUserInput/src/main/webapp/resources/css/1.css
	new file:   Semester 2/LabJuneauValidateUserInput/src/main/webapp/resources/images/1.png
	modified:   Semester 2/LabJuneauValidateUserInput_CalebFontenot/src/main/java/bl/Company.java
	deleted:    Semester 2/ZIPs/LabJuneauValidateUserInput_CalebFontenot.zip
2023-10-02 13:30:01 -05:00

59 lines
4.1 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>EmployeeInterface.java</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<style type="text/css">
<!--
body {color: #a9b7c6; background-color: #2b2b2b; font-family: monospace}
pre {color: #a9b7c6; background-color: #2b2b2b; font-family: monospace}
table {color: #888888; background-color: #313335; font-family: monospace}
.ST3 {color: #ffc66d}
.whitespace {color: #505050}
.comment {color: #808080}
.ST0 {color: #808080; font-family: monospace; font-weight: bold}
.ST2 {color: #8a653b}
.literal {color: #cc7832}
.ST1 {font-family: monospace; font-weight: bold}
-->
</style>
</head>
<body>
<table width="100%"><tr><td align="center">/home/caleb/ASDV-WebDev/Semester 2/LabJuneauValidateUserInput/src/main/java/edu/slcc/asdv/bl/EmployeeInterface.java</td></tr></table>
<pre>
<span class="literal">package</span> edu.slcc.asdv.bl;
<span class="literal">import</span> java.util.List;
<span class="comment">/**</span>
<span class="comment"> *</span>
<span class="comment"> * </span><span class="ST0">@author</span> <span class="comment">ASDV1</span>
<span class="comment">*/</span>
<span class="literal">public</span> <span class="literal">interface</span> <span class="ST1">EmployeeInterface</span>
{
<span class="comment">/**</span><span class="comment">Inserts</span> <span class="comment">a</span> <span class="comment">new</span> <span class="comment">employee</span> <span class="comment">in</span> <span class="comment">thr</span> <span class="comment">list</span>
<span class="comment"> * </span>
<span class="comment"> * </span><span class="ST0">@param</span> <span class="ST2">e</span> <span class="comment">the</span> <span class="comment">employee</span> <span class="comment">to</span> <span class="comment">be</span> <span class="comment">inserted</span><span class="comment">.</span>
<span class="comment"> * </span><span class="ST0">@return</span> <span class="comment">true</span> <span class="comment">if</span> <span class="comment">inserted</span> <span class="comment">successfully</span><span class="comment">, </span><span class="comment">false</span> <span class="comment">otherwise</span><span class="comment">.</span>
<span class="comment">*/</span>
<span class="literal">boolean</span> <span class="ST3">insertEmployee</span>(Employee e);
<span class="comment">/**</span> <span class="comment">Removes</span> <span class="comment">an</span> <span class="comment">employee</span> <span class="comment">from</span> <span class="comment">the</span> <span class="comment">list</span><span class="comment">.</span>
<span class="comment"> * </span>
<span class="comment"> * </span><span class="ST0">@param</span> <span class="ST2">e</span> <span class="comment">the</span> <span class="comment">employee</span> <span class="comment">to</span> <span class="comment">be</span> <span class="comment">removed</span>
<span class="comment"> * </span><span class="ST0">@return</span> <span class="comment">true</span> <span class="comment">if</span> <span class="comment">the</span> <span class="comment">employee</span> <span class="comment">was</span> <span class="comment">successfully</span> <span class="comment">removed</span><span class="comment">, </span><span class="comment">false</span> <span class="comment">otherwise</span><span class="comment">.</span>
<span class="comment">*/</span>
<span class="literal">boolean</span> <span class="ST3">removeEmployee</span>(Employee e);
<span class="comment">/**</span> <span class="comment">Gets</span> <span class="comment">all</span> <span class="comment">employees</span> <span class="comment">in</span> <span class="comment">the</span> <span class="comment">list</span><span class="comment">.</span>
<span class="comment"> * </span>
<span class="comment"> * </span><span class="ST0">@return</span> <span class="comment">list</span> <span class="comment">of</span> <span class="comment">employees</span><span class="comment">.</span>
<span class="comment">*/</span>
List&lt;Employee&gt; <span class="ST3">getEmployees</span>();
}
</pre></body>
</html>