public abstract class LibraryAction
extends org.apache.struts.action.Action
Modifier and Type | Field and Description |
---|---|
protected LibraryManager |
libraryManager |
Constructor and Description |
---|
LibraryAction() |
Modifier and Type | Method and Description |
---|---|
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)
Execute method invoked by the struts framework.
|
abstract org.apache.struts.action.ActionForward |
executeAction(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.apache.struts.util.MessageResources messages)
Abstract action execution method to be overridden by concrete
LibraryActions.
|
void |
setLibraryManager(LibraryManager libraryManager)
Used for Spring Dependency Injection
|
protected org.apache.struts.action.ActionForward |
standardForward(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request,
ArrayList<LibraryException> errors)
Standard forward determination utility method
Forwards to SUCCESS if errors ArrayList is empty, else to ERROR
|
addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
protected LibraryManager libraryManager
public void setLibraryManager(LibraryManager libraryManager)
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 Exception
execute
in class org.apache.struts.action.Action
mapping
- The ActionMapping used to select this instanceform
- The optional ActionForm bean for this request (if any)request
- The HTTP request we are processingresponse
- The HTTP response we are creatingException
protected org.apache.struts.action.ActionForward standardForward(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request, ArrayList<LibraryException> errors)
mapping
- The ActionMapping used to select this instancerequest
- The HTTP request we are processingerrors
- The accumulated list of errorspublic abstract org.apache.struts.action.ActionForward executeAction(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.struts.util.MessageResources messages) throws Exception
mapping
- The ActionMapping used to select this instanceform
- The optional ActionForm bean for this request (if any)request
- The HTTP request we are processingresponse
- The HTTP response we are creatingmessages
- message resourcesException
Copyright © 2003-2017 The Virtual Library Team. All Rights Reserved.