| |
|
| java.lang.Object projectmanagement.business.employee.EmployeeManagerImpl
EmployeeManagerImpl | public class EmployeeManagerImpl implements EmployeeManager(Code) | | Used to find the instance of Employee.
author: Sasa Bojanic version: 1.0 |
Method Summary | |
public Employee | findEmployee(String username) The findEmployee method performs a database query to
return a Employee object
representing the row in the employees table
that matches login name with the username.
username, the login name of the employee.the employee. | public Employee | findEmployeeByID(String id) The findEmployeeByID method performs a database query to
return a Employee object
representing the row in the employee table
that matches the object id.
id, the object id of the employee table.the employee. | public Employee[] | getAllEmployees() The getAllEmployees method performs a database query to
return all Employee objects representing the
row in the Employees table. | public Employee | getEmployee() |
findEmployee | public Employee findEmployee(String username) throws ProjectManagementBusinessException(Code) | | The findEmployee method performs a database query to
return a Employee object
representing the row in the employees table
that matches login name with the username.
username, the login name of the employee.the employee. null if there isn't a employee associatedthe username exception: ProjectManagementBusinessException - if there is a problem retrieving employee information. |
findEmployeeByID | public Employee findEmployeeByID(String id) throws ProjectManagementBusinessException(Code) | | The findEmployeeByID method performs a database query to
return a Employee object
representing the row in the employee table
that matches the object id.
id, the object id of the employee table.the employee. null if there isn't a employee associatedthe id exception: ProjectManagementBusinessException - if there is a problem retrieving employee information. |
|
|
|