| java.lang.Object projectmanagement.presentation.BasePO projectmanagement.presentation.employees.Edit
Edit | public class Edit extends BasePO (Code) | | Manages all actions on employees.
author: Sasa Bojanic version: 1.0 |
getRequiredAuthLevel | protected int getRequiredAuthLevel()(Code) | | Superclass method override. Returns 1.
|
handleAdd | public XMLObject handleAdd() throws HttpPresentationException(Code) | | |
handleDefault | public XMLObject handleDefault() throws HttpPresentationException(Code) | | Default event. Just show the page for editing.
|
handleModify | public XMLObject handleModify() throws HttpPresentationException(Code) | | |
handleShowAddPage | public XMLObject handleShowAddPage() throws HttpPresentationException(Code) | | handle show add employee page event.
html document exception: HttpPresentationException - |
handleShowDetailsPage | public XMLObject handleShowDetailsPage() throws HttpPresentationException(Code) | | handle show details employee page event.
html document exception: HttpPresentationException - |
saveEmployee | protected void saveEmployee(Employee theEmployee) throws HttpPresentationException(Code) | | Method to save a new or existing employee to the database
employee, the employee to be saved html document exception: HttpPresentationException - |
showModifyPage | public XMLObject showModifyPage(String errorMsg, boolean disabled) throws HttpPresentationException, ProjectManagementPresentationException(Code) | | Produce HTML for this PO, populated by the employee information
that the user wants to edit
errorMsg, the error messages disabled, if controls are disabled html document exception: HttpPresentationException - |
|
|