| java.lang.Object projectmanagement.presentation.BasePO projectmanagement.presentation.customers.Edit
Edit | public class Edit extends BasePO (Code) | | Manages all actions on customers.
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 customer page event.
html document exception: HttpPresentationException - |
handleShowDetailsPage | public XMLObject handleShowDetailsPage() throws HttpPresentationException(Code) | | handle show details customer page event.
html document exception: HttpPresentationException - |
saveCustomer | protected void saveCustomer(Customer theCustomer) throws HttpPresentationException(Code) | | Method to save a new or existing customer to the database
customer, the customer 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 customer information
that the user wants to edit
errorMsg, the error messages disabled, if controls are disabled html document exception: HttpPresentationException - |
|
|