java.lang.Object
org.apache.struts.action.Action
openfuture.bugbase.actions.BugBaseAction
openfuture.bugbase.actions.ViewReportsAction
- All Implemented Interfaces:
- openfuture.bugbase.model.JspConstants
- public class ViewReportsAction
- extends BugBaseAction
Action bean for viewing bug reports.
Created: Thu Jan 11 08:14:45 2001
- Version:
- $Revision: 1.4 $
Fields inherited from class openfuture.bugbase.actions.BugBaseAction |
|
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 |
Methods inherited from class openfuture.bugbase.actions.BugBaseAction |
checkLogin, findNextPage, getClient, getContext, getErrors, getLoginManager, getMapping, getMasterDataProvider, getProject, getQueryString, getServletPath, getSession, getUser, initialize, saveOriginalRequest, setClient, setContext, setErrors, setLoginManager, setMapping, setProject, setSession, setUser |
Methods inherited from class org.apache.struts.action.Action |
addErrors, addMessages, execute, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SORT_ID
private static final java.lang.String SORT_ID
- See Also:
- Constant Field Values
SORT_PACKAGE
private static final java.lang.String SORT_PACKAGE
- See Also:
- Constant Field Values
SORT_DATE
private static final java.lang.String SORT_DATE
- See Also:
- Constant Field Values
SORT_TITLE
private static final java.lang.String SORT_TITLE
- See Also:
- Constant Field Values
SORT_ERRORLEVEL
private static final java.lang.String SORT_ERRORLEVEL
- See Also:
- Constant Field Values
SORT_STATUS
private static final java.lang.String SORT_STATUS
- See Also:
- Constant Field Values
SORT_AUTHOR
private static final java.lang.String SORT_AUTHOR
- See Also:
- Constant Field Values
SORT_DOCTOR
private static final java.lang.String SORT_DOCTOR
- See Also:
- Constant Field Values
ViewReportsAction
public ViewReportsAction()
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
- View bug reports. The reports are sorted due to the attribute
values:
- sort: The sorting criteria. Recognized values:
- direction: direction in which the list
should be sorted. Recognized values: up and
down.
The following attributes are set
in the servlet's context:
The following forwards are generated:
- success: the login was successful.
- error: the login failed or
an error occured.
getYesNoDefault
private java.lang.Boolean getYesNoDefault(java.lang.String s)