com.pnpconsult.zeiterfassung.actions.manager
Class EditBillEntryRowAction

java.lang.Object
  extended byorg.apache.struts.action.Action
      extended bycom.pnpconsult.zeiterfassung.actions.manager.EditBillEntryRowAction

public class EditBillEntryRowAction
extends org.apache.struts.action.Action

This Action controls the edit of BillEntrys. It depends on the EditBillEntryRowForm's data:

  1. The Table is loaded from the HttpSession.
  2. The row is looked up and the BillEntry is extracted off the row.
  3. If the row is not found (e.g. when creating a new BillEntry), null is passed instead.
  4. After editing, the submit button is evaluated.

Version:
$Id: EditBillEntryRowAction.java,v 1.3 2004/06/24 20:54:19 powerpete Exp $
Author:
Moritz Petersen

Field Summary
 
Fields inherited from class org.apache.struts.action.Action
ACTION_SERVLET_KEY, APPLICATION_KEY, DATA_SOURCE_KEY, defaultLocale, ERROR_KEY, EXCEPTION_KEY, FORM_BEANS_KEY, FORWARDS_KEY, LOCALE_KEY, MAPPING_KEY, MAPPINGS_KEY, MESSAGE_KEY, MESSAGES_KEY, MULTIPART_KEY, PLUG_INS_KEY, REQUEST_PROCESSOR_KEY, servlet, SERVLET_KEY, TRANSACTION_TOKEN_KEY
 
Constructor Summary
EditBillEntryRowAction()
           
 
Method Summary
 org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class org.apache.struts.action.Action
execute, generateToken, getDataSource, getDataSource, getLocale, getResources, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, perform, perform, resetToken, saveErrors, saveMessages, saveToken, setLocale, setServlet, toHex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditBillEntryRowAction

public EditBillEntryRowAction()
Method Detail

execute

public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping,
                                                      org.apache.struts.action.ActionForm form,
                                                      javax.servlet.http.HttpServletRequest request,
                                                      javax.servlet.http.HttpServletResponse response)
                                               throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2003-2004 PNP Unternehmensberatung. All Rights Reserved.