openfuture.bugbase.actions
Class GetBugReportAction

java.lang.Object
  |
  +--org.apache.struts.action.Action
        |
        +--openfuture.bugbase.actions.BugBaseAction
              |
              +--openfuture.bugbase.actions.GetBugReportAction
All Implemented Interfaces:
JspConstants

public class GetBugReportAction
extends BugBaseAction
implements JspConstants

Action bean for retrieval of a single bug report.

Created: Wed Feb 14 05:49:17 2001

Version:
$Revision: 1.7 $
Author:
Wolfgang Reissenberger

Fields inherited from class org.apache.struts.action.Action
DATA_SOURCE_KEY, defaultLocale, ERROR_KEY, EXCEPTION_KEY, FORM_BEANS_KEY, FORWARDS_KEY, LOCALE_KEY, MAPPING_KEY, MAPPINGS_KEY, MESSAGES_KEY, MULTIPART_KEY, servlet, SERVLET_KEY, TRANSACTION_TOKEN_KEY
 
Fields inherited from interface openfuture.bugbase.model.JspConstants
ATTACHMENT_DIR, ATTACHMENT_URL, BUG_REPORT, BUGBASE_SERVLET, LOCALES, LOGIN_MANAGER, MAILSERVER, MD_PROVIDER, NEXT_PAGE, PACKAGES, PROJECT, QUERY, QUERYSTRING, REPORTS, RESULT, SENDMAIL, SERVLET_CLIENT, SERVLETPATH, USER, USER_ID
 
Constructor Summary
GetBugReportAction()
           
 
Method Summary
 org.apache.struts.action.ActionForward perform(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Show or edit a bug report, depending upon the attribute values: action: Recognized values: show for displaying and edit for editing a bug report.
 
Methods inherited from class openfuture.bugbase.actions.BugBaseAction
checkLogin, findNextPage, getClient, getLoginManager, getMasterDataProvider, getProject, getQueryString, getServletPath, getUser, initialize, saveOriginalRequest, setProject, setUser
 
Methods inherited from class org.apache.struts.action.Action
generateToken, getLocale, getResources, getServlet, isCancelled, isTokenValid, perform, perform, perform, resetToken, saveErrors, saveToken, setLocale, setServlet, toHex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetBugReportAction

public GetBugReportAction()
Method Detail

perform

public org.apache.struts.action.ActionForward perform(org.apache.struts.action.ActionMapping mapping,
                                                      org.apache.struts.action.ActionForm form,
                                                      javax.servlet.http.HttpServletRequest request,
                                                      javax.servlet.http.HttpServletResponse response)
                                               throws java.io.IOException,
                                                      javax.servlet.ServletException
Show or edit a bug report, depending upon the attribute values: Retrieve a single bug report. The bug report is stored in the request as bug report.

The following forwards are generated:

Overrides:
perform in class org.apache.struts.action.Action
Parameters:
mapping - The ActionMapping used to select this instance
form - an ActionForm value
request - The HTTP request we are processing
response - The HTTP response we are creating
Returns:
an ActionForward value
Throws:
java.io.IOException - if an input/output error occurs
javax.servlet.ServletException - if a servlet exception occurs


Copyright © 2000 -- 2003 openfuture.de. All Rights Reserved.